|
|
|
@ -4,10 +4,7 @@ package com.ipsplm.controller.simulation;
|
|
|
|
|
import com.ipsplm.entity.dto.ResponseDTO;
|
|
|
|
|
import com.ipsplm.service.simulation.ISimulationAnalysisService;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import java.math.BigInteger;
|
|
|
|
|
|
|
|
|
@ -28,8 +25,8 @@ public class SimulationAnalysisController {
|
|
|
|
|
* @param flag
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/get-plant-equipment-utilization/{flag}")
|
|
|
|
|
public ResponseDTO getPlantEquipmentUtilization(@PathVariable(required = false) Long flag) {
|
|
|
|
|
@GetMapping("/get-plant-equipment-utilization")
|
|
|
|
|
public ResponseDTO getPlantEquipmentUtilization(@RequestParam(required = false) Long flag) {
|
|
|
|
|
return ResponseDTO.ok(simulationAnalysisService.getPlantEquipmentUtilization(flag));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|