|
@ -40,6 +40,7 @@ public class CockpitController{ |
|
|
/** |
|
|
/** |
|
|
* 生产统计 |
|
|
* 生产统计 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
@SaIgnore |
|
|
@PostMapping("/productionStatistics") |
|
|
@PostMapping("/productionStatistics") |
|
|
@Log("生产统计") |
|
|
@Log("生产统计") |
|
|
@ApiOperation("生产统计") |
|
|
@ApiOperation("生产统计") |
|
@ -52,6 +53,7 @@ public class CockpitController{ |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/storageMonitor") |
|
|
@PostMapping("/storageMonitor") |
|
|
@Log("仓储监控") |
|
|
@Log("仓储监控") |
|
|
|
|
|
@SaIgnore |
|
|
@ApiOperation("仓储监控") |
|
|
@ApiOperation("仓储监控") |
|
|
public CommonResult<Object> storageMonitor() { |
|
|
public CommonResult<Object> storageMonitor() { |
|
|
return RestBusinessTemplate.execute(cockpitService::storageMonitor); |
|
|
return RestBusinessTemplate.execute(cockpitService::storageMonitor); |
|
@ -62,6 +64,7 @@ public class CockpitController{ |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/findStorageById") |
|
|
@PostMapping("/findStorageById") |
|
|
@Log("根据点位id获取仓储信息") |
|
|
@Log("根据点位id获取仓储信息") |
|
|
|
|
|
@SaIgnore |
|
|
@ApiOperation("根据点位id获取仓储信息") |
|
|
@ApiOperation("根据点位id获取仓储信息") |
|
|
public CommonResult<SchBasePointDto> findStorageById(@RequestBody Map<String,String> id) { |
|
|
public CommonResult<SchBasePointDto> findStorageById(@RequestBody Map<String,String> id) { |
|
|
return RestBusinessTemplate.execute(() -> { |
|
|
return RestBusinessTemplate.execute(() -> { |
|
@ -88,6 +91,7 @@ public class CockpitController{ |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/findDeviceById") |
|
|
@PostMapping("/findDeviceById") |
|
|
@Log("根据点位id获取设备信息") |
|
|
@Log("根据点位id获取设备信息") |
|
|
|
|
|
@SaIgnore |
|
|
@ApiOperation("根据点位id获取设备信息") |
|
|
@ApiOperation("根据点位id获取设备信息") |
|
|
public CommonResult<DeviceDetailDto> findDeviceById(@RequestBody Map<String,String> id) { |
|
|
public CommonResult<DeviceDetailDto> findDeviceById(@RequestBody Map<String,String> id) { |
|
|
return RestBusinessTemplate.execute(() -> { |
|
|
return RestBusinessTemplate.execute(() -> { |
|
|