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