|
|
|
|
@ -50,6 +50,21 @@ public class MiniProgramApiController extends BaseController {
|
|
|
|
|
return AjaxResult.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询集中器数量
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation("查询集中器数量")
|
|
|
|
|
@PostMapping("/collectDevice/sum")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult getCollectDeviceSum(@RequestBody(required = false) T_CollectDeviceInfo t_CollectDeviceInfo)
|
|
|
|
|
{
|
|
|
|
|
if (t_CollectDeviceInfo == null) {
|
|
|
|
|
t_CollectDeviceInfo = new T_CollectDeviceInfo();
|
|
|
|
|
}
|
|
|
|
|
List<T_CollectDeviceInfo> list = t_CollectDeviceInfoService.selectT_CollectDeviceInfoList(t_CollectDeviceInfo);
|
|
|
|
|
return AjaxResult.success(list.size());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据ID查询集中器信息详情
|
|
|
|
|
*/
|
|
|
|
|
@ -80,6 +95,21 @@ public class MiniProgramApiController extends BaseController {
|
|
|
|
|
return AjaxResult.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询测控点数量
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation("查询测控点数量")
|
|
|
|
|
@PostMapping("/monitor/sum")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult getMonitorSum(@RequestBody(required = false) T_Monitor t_Monitor)
|
|
|
|
|
{
|
|
|
|
|
if (t_Monitor == null) {
|
|
|
|
|
t_Monitor = new T_Monitor();
|
|
|
|
|
}
|
|
|
|
|
List<T_Monitor> list = t_MonitorService.selectT_MonitorList(t_Monitor);
|
|
|
|
|
return AjaxResult.success(list.size());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据ID查询测控点信息详情
|
|
|
|
|
*/
|
|
|
|
|
|