|
@@ -3,18 +3,16 @@ package com.project.zcustom.controller.build;
|
|
import com.project.common.core.controller.BaseController;
|
|
import com.project.common.core.controller.BaseController;
|
|
import com.project.common.core.domain.AjaxResult;
|
|
import com.project.common.core.domain.AjaxResult;
|
|
import com.project.zcustom.service.smart.IPlatBuildingService;
|
|
import com.project.zcustom.service.smart.IPlatBuildingService;
|
|
-import com.project.zcustom.service.unit.ILargeProjectService;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
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.GetMapping;
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/large/first")
|
|
@RequestMapping("/large/first")
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
-public class PlatBuildA extends BaseController {
|
|
|
|
|
|
+public class PlatBuildOfficeController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private IPlatBuildingService platBuildingService;
|
|
private IPlatBuildingService platBuildingService;
|
|
@@ -91,27 +89,4 @@ public class PlatBuildA extends BaseController {
|
|
return AjaxResult.success("查询成功", platBuildingService.waterYear());
|
|
return AjaxResult.success("查询成功", platBuildingService.waterYear());
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * 巡更次数统计(近6月)
|
|
|
|
- */
|
|
|
|
- @GetMapping("/frequency")
|
|
|
|
- public AjaxResult frequency() {
|
|
|
|
- return AjaxResult.success("查询成功", platBuildingService.frequency());
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 巡更及时率
|
|
|
|
- */
|
|
|
|
- @GetMapping("/patrol")
|
|
|
|
- public AjaxResult patrol() {
|
|
|
|
- return AjaxResult.success("查询成功", platBuildingService.patrol());
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 巡更点统计
|
|
|
|
- */
|
|
|
|
- @GetMapping("/patrolPoint")
|
|
|
|
- public AjaxResult patrolPoint() {
|
|
|
|
- return AjaxResult.success("查询成功", platBuildingService.patrolPoint());
|
|
|
|
- }
|
|
|
|
}
|
|
}
|