|
@@ -2606,7 +2606,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ //文件处理
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"");
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -2656,7 +2658,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
if(null != projectReportRecord){
|
|
if(null != projectReportRecord){
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
}
|
|
}
|
|
@@ -2788,15 +2790,19 @@ public class WorkProjectNotifyController extends BaseController {
|
|
model.addAttribute("identificationName","项目上报审核意见");
|
|
model.addAttribute("identificationName","项目上报审核意见");
|
|
if(StringUtils.isNotBlank(reported.getJingHeJianLv())){
|
|
if(StringUtils.isNotBlank(reported.getJingHeJianLv())){
|
|
if(Double.valueOf(reported.getJingHeJianLv())>30 || Double.valueOf(reported.getJingHeJianLv())< -30 ){
|
|
if(Double.valueOf(reported.getJingHeJianLv())>30 || Double.valueOf(reported.getJingHeJianLv())< -30 ){
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
|
|
|
|
return "modules/ruralprojectrecords/cost/newReported/bzshbReportedAudit";
|
|
return "modules/ruralprojectrecords/cost/newReported/bzshbReportedAudit";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return "modules/ruralprojectrecords/cost/newReported/reportedAudit";
|
|
return "modules/ruralprojectrecords/cost/newReported/reportedAudit";
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
|
|
+
|
|
return "modules/ruralprojectrecords/ruralporjectmessage/reportedModify";
|
|
return "modules/ruralprojectrecords/ruralporjectmessage/reportedModify";
|
|
} else {
|
|
} else {
|
|
ruralProjectMessageService.getInfoByView(reported);
|
|
ruralProjectMessageService.getInfoByView(reported);
|
|
@@ -3091,15 +3097,6 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
model.addAttribute("identification", "projectReported");
|
|
model.addAttribute("identification", "projectReported");
|
|
model.addAttribute("identificationName","项目上报审核意见");
|
|
model.addAttribute("identificationName","项目上报审核意见");
|
|
- if(StringUtils.isNotBlank(reported.getJingHeJianLv())){
|
|
|
|
- /*if(Double.valueOf(reported.getJingHeJianLv())>30 || Double.valueOf(reported.getJingHeJianLv())< -30 ){
|
|
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
-
|
|
|
|
- return "modules/ruralprojectrecords/cost/newReported/bzshbReportedAudit";
|
|
|
|
- }*/
|
|
|
|
- }
|
|
|
|
return "modules/ruralprojectrecords/reported/reportedAudit";
|
|
return "modules/ruralprojectrecords/reported/reportedAudit";
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
return "modules/ruralprojectrecords/reported/reportedModify";
|
|
return "modules/ruralprojectrecords/reported/reportedModify";
|
|
@@ -4003,7 +4000,10 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"");
|
|
|
|
+
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -4045,7 +4045,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
if(StringUtils.isNotBlank(workProjectNotify.getHome())){
|
|
if(StringUtils.isNotBlank(workProjectNotify.getHome())){
|
|
projectcontentinfo.setHome(workProjectNotify.getHome());
|
|
projectcontentinfo.setHome(workProjectNotify.getHome());
|
|
}else{
|
|
}else{
|
|
@@ -4545,7 +4545,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ //文件处理
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"");
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -4587,7 +4589,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
if(StringUtils.isNotBlank(workProjectNotify.getHome())){
|
|
if(StringUtils.isNotBlank(workProjectNotify.getHome())){
|
|
projectcontentinfo.setHome(workProjectNotify.getHome());
|
|
projectcontentinfo.setHome(workProjectNotify.getHome());
|
|
}else{
|
|
}else{
|
|
@@ -4978,7 +4980,10 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ //文件处理
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"");
|
|
|
|
+
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -5020,7 +5025,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
if (StringUtils.isNotBlank(workProjectNotify.getHome())) {
|
|
if (StringUtils.isNotBlank(workProjectNotify.getHome())) {
|
|
projectcontentinfo.setHome(workProjectNotify.getHome());
|
|
projectcontentinfo.setHome(workProjectNotify.getHome());
|
|
} else {
|
|
} else {
|
|
@@ -5384,7 +5389,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ //文件处理
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"其他资料");
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -5445,7 +5452,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
materialDefectRecord.setFileOtherList(projectOtherList);
|
|
materialDefectRecord.setFileOtherList(projectOtherList);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
materialDefectRecord.setUploadMode(uploadMode);
|
|
materialDefectRecord.setUploadMode(uploadMode);
|
|
model.addAttribute("projectcontentinfo", projectcontentinfo);
|
|
model.addAttribute("projectcontentinfo", projectcontentinfo);
|
|
@@ -5455,14 +5462,14 @@ public class WorkProjectNotifyController extends BaseController {
|
|
model.addAttribute("materialDefectRecord", materialDefectRecord);
|
|
model.addAttribute("materialDefectRecord", materialDefectRecord);
|
|
model.addAttribute("project", materialDefectRecord.getReport().getProject());
|
|
model.addAttribute("project", materialDefectRecord.getReport().getProject());
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
- materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileAttachmentList()));
|
|
|
|
- materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileGistdataList()));
|
|
|
|
- materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileOtherList()));
|
|
|
|
|
|
+ materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionView";
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionView";
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
- materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileAttachmentList()));
|
|
|
|
- materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileGistdataList()));
|
|
|
|
- materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileOtherList()));
|
|
|
|
|
|
+ materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
if ("2".equals(ruralProjectRecords.getProjectType())){
|
|
if ("2".equals(ruralProjectRecords.getProjectType())){
|
|
model.addAttribute("identification","projectRepordDescription");
|
|
model.addAttribute("identification","projectRepordDescription");
|
|
}
|
|
}
|
|
@@ -5473,11 +5480,14 @@ public class WorkProjectNotifyController extends BaseController {
|
|
model.addAttribute("identificationName","资料缺失说明审核意见");
|
|
model.addAttribute("identificationName","资料缺失说明审核意见");
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionAudit";
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionAudit";
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
|
|
+ materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionModify";
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionModify";
|
|
} else {
|
|
} else {
|
|
- materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileAttachmentList()));
|
|
|
|
- materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileGistdataList()));
|
|
|
|
- materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(materialDefectRecord.getFileOtherList()));
|
|
|
|
|
|
+ materialDefectRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ materialDefectRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ materialDefectRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionView";
|
|
return "modules/ruralprojectrecords/record/projectRepordDescriptionView";
|
|
}
|
|
}
|
|
}else if (workProjectNotify.getType().equals("46")) { //工作内容报告变更
|
|
}else if (workProjectNotify.getType().equals("46")) { //工作内容报告变更
|
|
@@ -5738,7 +5748,8 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"1000");
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -5795,7 +5806,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
//}
|
|
//}
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
//获取项目基础信息
|
|
//获取项目基础信息
|
|
@@ -5877,14 +5888,14 @@ public class WorkProjectNotifyController extends BaseController {
|
|
model.addAttribute("datalistTwo", reviewAuditList);
|
|
model.addAttribute("datalistTwo", reviewAuditList);
|
|
|
|
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
if (workProjectNotify.getRemarks().contains("待通知") || "view".equals(workProjectNotify.getView())) {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
if ("2".equals(ruralProjectRecords.getProjectType())){
|
|
if ("2".equals(ruralProjectRecords.getProjectType())){
|
|
model.addAttribute("identification", "projectcontentinfoFile");
|
|
model.addAttribute("identification", "projectcontentinfoFile");
|
|
model.addAttribute("identifications","referenceRemarks");
|
|
model.addAttribute("identifications","referenceRemarks");
|
|
@@ -5897,11 +5908,14 @@ public class WorkProjectNotifyController extends BaseController {
|
|
model.addAttribute("identificationName","归档审核意见");
|
|
model.addAttribute("identificationName","归档审核意见");
|
|
return "modules/projectcontentinfo/projectReportRecordAudit";
|
|
return "modules/projectcontentinfo/projectReportRecordAudit";
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/projectcontentinfo/projectReportRecordModifyApply";
|
|
return "modules/projectcontentinfo/projectReportRecordModifyApply";
|
|
} else {
|
|
} else {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
|
|
|
|
}
|
|
}
|
|
@@ -6005,7 +6019,8 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"");
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -6047,7 +6062,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
//获取项目基础信息
|
|
//获取项目基础信息
|
|
ruralProjectRecordsService.queryProjectDetail(ruralProjectRecords);
|
|
ruralProjectRecordsService.queryProjectDetail(ruralProjectRecords);
|
|
@@ -6141,14 +6156,14 @@ public class WorkProjectNotifyController extends BaseController {
|
|
model.addAttribute("workReviewList", workReviewAudits);
|
|
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.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
if ("1".equals(ruralProjectRecords.getProjectType())){
|
|
if ("1".equals(ruralProjectRecords.getProjectType())){
|
|
model.addAttribute("identification", "projectcontentinfoFile");
|
|
model.addAttribute("identification", "projectcontentinfoFile");
|
|
}
|
|
}
|
|
@@ -6164,6 +6179,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
return "modules/ruralprojectrecords/record/projectReportRecordAudit";
|
|
return "modules/ruralprojectrecords/record/projectReportRecordAudit";
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
if("1".equals(ruralProjectRecords.getEmergencyProject())){
|
|
if("1".equals(ruralProjectRecords.getEmergencyProject())){
|
|
List<RuralReportConsultant> consultants=reConsultants(ruralProjectRecords,projectReportData);
|
|
List<RuralReportConsultant> consultants=reConsultants(ruralProjectRecords,projectReportData);
|
|
model.addAttribute("info", consultants);
|
|
model.addAttribute("info", consultants);
|
|
@@ -6172,9 +6190,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
return "modules/ruralprojectrecords/record/projectReportRecordModifyApply";
|
|
return "modules/ruralprojectrecords/record/projectReportRecordModifyApply";
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
|
|
|
|
}
|
|
}
|
|
@@ -6306,7 +6324,8 @@ public class WorkProjectNotifyController extends BaseController {
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
relateInfo.setId(ruralProjectRecords.getId());
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
//查询报告文件、依据性文件、其他文件必填列表以及数据
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
List<MainDictDetail> mainDictDetails = projectTemplateService.attachmentTemplateList();
|
|
- for (MainDictDetail mainDict : mainDictDetails) {
|
|
|
|
|
|
+ projectTemplateService.disposeProjectTemplateFile(mainDictDetails,relateInfo,engineeringId,ruralProjectRecords,projectcontentinfo,"");
|
|
|
|
+ /*for (MainDictDetail mainDict : mainDictDetails) {
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
relateInfo.setAttachType(mainDict.getValue());
|
|
switch (mainDict.getValue()) {
|
|
switch (mainDict.getValue()) {
|
|
case "11":
|
|
case "11":
|
|
@@ -6348,7 +6367,7 @@ public class WorkProjectNotifyController extends BaseController {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
l2 = System.currentTimeMillis();
|
|
l2 = System.currentTimeMillis();
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
projectReportRecord.setUploadMode(uploadMode);
|
|
//获取项目基础信息
|
|
//获取项目基础信息
|
|
@@ -6446,14 +6465,14 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
model.addAttribute("list", workReviewAudits);
|
|
model.addAttribute("list", workReviewAudits);
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
}else if (workProjectNotify.getRemarks().contains("待审批") && !"1".equals(workProjectNotify.getStatus())) {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
if ("2".equals(ruralProjectRecords.getProjectType())){
|
|
if ("2".equals(ruralProjectRecords.getProjectType())){
|
|
model.addAttribute("identification", "projectcontentinfoFile");
|
|
model.addAttribute("identification", "projectcontentinfoFile");
|
|
}
|
|
}
|
|
@@ -6469,6 +6488,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
}
|
|
}
|
|
return "modules/ruralprojectrecords/record/cost/recordTwo/projectReportRecordAudit";
|
|
return "modules/ruralprojectrecords/record/cost/recordTwo/projectReportRecordAudit";
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
} else if (workProjectNotify.getRemarks().contains("重新申请") && !"1".equals(workProjectNotify.getStatus())) {
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
if("1".equals(ruralProjectRecords.getEmergencyProject())){
|
|
if("1".equals(ruralProjectRecords.getEmergencyProject())){
|
|
List<RuralReportConsultant> consultants=reConsultants(ruralProjectRecords,projectReportData);
|
|
List<RuralReportConsultant> consultants=reConsultants(ruralProjectRecords,projectReportData);
|
|
model.addAttribute("info", consultants);
|
|
model.addAttribute("info", consultants);
|
|
@@ -6477,9 +6499,9 @@ public class WorkProjectNotifyController extends BaseController {
|
|
return "modules/ruralprojectrecords/record/cost/recordTwo/projectReportRecordModifyApply";
|
|
return "modules/ruralprojectrecords/record/cost/recordTwo/projectReportRecordModifyApply";
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileAttachmentList()));
|
|
|
|
- projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileGistdataList()));
|
|
|
|
- projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectReportRecord.getFileOtherList()));
|
|
|
|
|
|
+ projectReportRecord.setFileAttachmentList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileAttachmentList()));
|
|
|
|
+ projectReportRecord.setFileGistdataList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileGistdataList()));
|
|
|
|
+ projectReportRecord.setFileOtherList(ruralProjectRecordsService.disposeDataAttachment(projectcontentinfo.getFileOtherList()));
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
return "modules/ruralprojectrecords/view/projectReportRecordView";
|
|
|
|
|
|
}
|
|
}
|