|
@@ -173,6 +173,7 @@ import com.jeeplus.modules.workprojectcompletion.entity.WorkProjectCompletionInf
|
|
import com.jeeplus.modules.workprojectcompletion.service.WorkProjectCompletionService;
|
|
import com.jeeplus.modules.workprojectcompletion.service.WorkProjectCompletionService;
|
|
import com.jeeplus.modules.workprojectdeposit.entity.WorkProjectDeposit;
|
|
import com.jeeplus.modules.workprojectdeposit.entity.WorkProjectDeposit;
|
|
import com.jeeplus.modules.workprojectdeposit.service.WorkProjectDepositService;
|
|
import com.jeeplus.modules.workprojectdeposit.service.WorkProjectDepositService;
|
|
|
|
+import com.jeeplus.modules.workprojectnotify.dao.WorkProjectNotifyDao;
|
|
import com.jeeplus.modules.workprojectnotify.entity.WorkProjectNotify;
|
|
import com.jeeplus.modules.workprojectnotify.entity.WorkProjectNotify;
|
|
import com.jeeplus.modules.workprojectnotify.service.WorkProjectNotifyService;
|
|
import com.jeeplus.modules.workprojectnotify.service.WorkProjectNotifyService;
|
|
import com.jeeplus.modules.workreceiptsrevise.entity.WorkReceiptsRevise;
|
|
import com.jeeplus.modules.workreceiptsrevise.entity.WorkReceiptsRevise;
|
|
@@ -480,6 +481,8 @@ public class WorkProjectNotifyController extends BaseController {
|
|
private ProjectEngineeringService engineeringService;
|
|
private ProjectEngineeringService engineeringService;
|
|
@Autowired
|
|
@Autowired
|
|
private SubProjectInfoService subProjectInfoService;
|
|
private SubProjectInfoService subProjectInfoService;
|
|
|
|
+ @Autowired
|
|
|
|
+ private WorkProjectNotifyDao workProjectNotifyDao;
|
|
|
|
|
|
@ModelAttribute
|
|
@ModelAttribute
|
|
public WorkProjectNotify get(@RequestParam(required=false) String id) {
|
|
public WorkProjectNotify get(@RequestParam(required=false) String id) {
|
|
@@ -559,6 +562,23 @@ public class WorkProjectNotifyController extends BaseController {
|
|
return "modules/workprojectnotify/workProjectNotifyReadBacklogList";
|
|
return "modules/workprojectnotify/workProjectNotifyReadBacklogList";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 已审批待办列表页面
|
|
|
|
+ */
|
|
|
|
+ @RequestMapping(value = {"readShowCount"})
|
|
|
|
+ @ResponseBody
|
|
|
|
+ public Map<String,Object> readShowCount (WorkProjectNotify workProjectNotify, HttpServletRequest request, HttpServletResponse response, Model model) {
|
|
|
|
+ Map<String,Object> map=new HashMap<>();
|
|
|
|
+ User user = UserUtils.getUser();
|
|
|
|
+ workProjectNotify.setUser(user);
|
|
|
|
+ workProjectNotify.setStatus("2");
|
|
|
|
+ workProjectNotify.setRemarks("待通知");
|
|
|
|
+ workProjectNotify.setCompanyId(UserUtils.getSelectCompany().getId());
|
|
|
|
+ Integer count=workProjectNotifyDao.queryReadCount(workProjectNotify);
|
|
|
|
+ map.put("count",count);
|
|
|
|
+ return map;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
/**
|
|
/**
|
|
* 我发起的待办列表页面
|
|
* 我发起的待办列表页面
|
|
@@ -1685,7 +1705,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
model.addAttribute("datalist", workReviewAuditList);
|
|
model.addAttribute("datalist", workReviewAuditList);
|
|
-
|
|
|
|
|
|
+
|
|
//查询总审人员信息
|
|
//查询总审人员信息
|
|
List<User> auditUserList = userService.getAuditUserList();
|
|
List<User> auditUserList = userService.getAuditUserList();
|
|
ruralProjectRecords.setBzshbUserList(auditUserList);
|
|
ruralProjectRecords.setBzshbUserList(auditUserList);
|
|
@@ -3858,7 +3878,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
model.addAttribute("datalist", workReviewAuditList);
|
|
model.addAttribute("datalist", workReviewAuditList);
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
@@ -4082,7 +4102,38 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ //获取自检的质量复核标准
|
|
|
|
+ String reviewId="";
|
|
|
|
+ if ("2".equals(ruralProjectRecords.getSubmitMoney())){
|
|
|
|
+ reviewId="1";
|
|
|
|
+ }else{
|
|
|
|
+ if(StringUtils.isBlank(ruralProjectRecords.getEmergencyProject()) ||"0".equals(ruralProjectRecords.getEmergencyProject())){
|
|
|
|
+ reviewId="2";
|
|
|
|
+ }else{
|
|
|
|
+ reviewId="3";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ //查询报告签发数据信息
|
|
|
|
+ ProjectReportDataTwo projectReportDataTwo = projectReportDataTwoService.getProjectReportDataTwoByProjectId(ruralProjectRecords.getId());
|
|
|
|
+ //拆线呢报告签发评分展示项
|
|
|
|
+ List<WorkReviewAudit> workReviewAudits = projectContentDataService.findListIssue(reviewId,"报告签发");
|
|
|
|
+ //查询报告签发评分评论数据
|
|
|
|
+ WorkReviewAudit workReviewAudit = new WorkReviewAudit();
|
|
|
|
+ type = "4";
|
|
|
|
+ revAudit.setCompanyId(UserUtils.getSelectCompany().getId());
|
|
|
|
+ revAudit.setType(type);
|
|
|
|
+ revAudit.setReportId(projectReportDataTwo.getId());
|
|
|
|
+ List<WorkReviewAudit> reviewAuditList = workReviewStandardService.findAuditList(revAudit);
|
|
|
|
+ for(WorkReviewAudit reAudit:workReviewAudits){
|
|
|
|
+ for (WorkReviewAudit audit:reviewAuditList){
|
|
|
|
+ if (reAudit.getId().equals(audit.getStandardId())){
|
|
|
|
+ reAudit.setDeductOption(audit.getDeductOption());
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
model.addAttribute("datalist", workReviewAuditList);
|
|
model.addAttribute("datalist", workReviewAuditList);
|
|
|
|
+ model.addAttribute("workReviewList", workReviewAudits);
|
|
|
|
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|