|
@@ -3,14 +3,16 @@ package com.project.zcustom.controller.engineering;
|
|
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.domain.addional.LargeIssue;
|
|
import com.project.zcustom.domain.addional.LargeIssue;
|
|
|
|
+import com.project.zcustom.domain.addional.LargePlan;
|
|
import com.project.zcustom.service.unit.ILargeIssueService;
|
|
import com.project.zcustom.service.unit.ILargeIssueService;
|
|
|
|
+import com.project.zcustom.service.unit.ILargePlanService;
|
|
import com.project.zcustom.service.unit.ILargeProjectService;
|
|
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.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@RestController
|
|
@RestController
|
|
-@RequestMapping("/large/three")
|
|
|
|
|
|
+@RequestMapping("/large/check")
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
public class PlatProjectCheckController extends BaseController {
|
|
public class PlatProjectCheckController extends BaseController {
|
|
|
|
|
|
@@ -18,6 +20,8 @@ public class PlatProjectCheckController extends BaseController {
|
|
|
|
|
|
private final ILargeIssueService largeIssueService;
|
|
private final ILargeIssueService largeIssueService;
|
|
|
|
|
|
|
|
+ private final ILargePlanService largePlanService;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 问题数量
|
|
* 问题数量
|
|
*/
|
|
*/
|
|
@@ -65,4 +69,20 @@ public class PlatProjectCheckController extends BaseController {
|
|
public AjaxResult changeIssueStatus(@RequestBody LargeIssue entity) {
|
|
public AjaxResult changeIssueStatus(@RequestBody LargeIssue entity) {
|
|
return toAjax(largeIssueService.updateById(entity));
|
|
return toAjax(largeIssueService.updateById(entity));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 本周检查计划
|
|
|
|
+ * */
|
|
|
|
+ @GetMapping("/planCheckList")
|
|
|
|
+ public AjaxResult planCheckList() {
|
|
|
|
+ return AjaxResult.success("查询成功", largePlanService.planCheckList());
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 本周施工计划
|
|
|
|
+ * */
|
|
|
|
+ @GetMapping("/planDoneList")
|
|
|
|
+ public AjaxResult planDoneList() {
|
|
|
|
+ return AjaxResult.success("查询成功", largePlanService.planDoneList());
|
|
|
|
+ }
|
|
}
|
|
}
|