|
@@ -164,9 +164,8 @@ public class CwProjectReportReviewService extends ServiceImpl<CwProjectReportRev
|
|
|
if (StringUtils.isNotEmpty(detail.getProcInsId())) {
|
|
|
FlowNode currentTask = flowTaskService.getCurrentTask(detail.getProcInsId());
|
|
|
if(null != currentTask && StringUtils.isNotBlank(currentTask.getName())) {
|
|
|
- if ("三级复核".equals(currentTask.getName())) {
|
|
|
- review.setReviewStatus("5");
|
|
|
- //设置报告文号、报告流水号
|
|
|
+ if ("二级复核".equals(currentTask.getName())) {
|
|
|
+//设置报告文号、报告流水号
|
|
|
CwProjectInfoData infoData = new CwProjectInfoData();
|
|
|
//报告文号生成
|
|
|
String documentNo = "";
|
|
@@ -231,6 +230,9 @@ public class CwProjectReportReviewService extends ServiceImpl<CwProjectReportRev
|
|
|
}
|
|
|
infoMapper.updateByReportId(reportData.getId(),infoData.getReportNumber(),infoData.getReportNo());
|
|
|
}
|
|
|
+ if ("三级复核".equals(currentTask.getName())) {
|
|
|
+ review.setReviewStatus("5");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if (ObjectUtil.isNotEmpty(reportData)) {
|