[修改] 已办
This commit is contained in:
+17
-4
@@ -2,11 +2,9 @@ package com.adc.da.wkflow.business_activiti.task;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.adc.da.login.util.UserUtils;
|
||||
import com.adc.da.report.dao.mysql.PowerApplyActDao;
|
||||
import com.adc.da.report.dao.mysql.ReportDao;
|
||||
import com.adc.da.report.dao.mysql.TreeLabelDao;
|
||||
import com.adc.da.report.dao.mysql.TtReportManageActDao;
|
||||
import com.adc.da.report.dao.mysql.*;
|
||||
import com.adc.da.report.eo.ReportEntity;
|
||||
import com.adc.da.report.eo.ReportFile;
|
||||
import com.adc.da.report.eo.TtReportManageAct;
|
||||
import com.adc.da.report.vo.PowerApplyActPageVO;
|
||||
import com.adc.da.sys.service.iservice.IUserEoService;
|
||||
@@ -87,6 +85,9 @@ public class TodoTaskController {
|
||||
@Autowired
|
||||
private TtReportManageActDao ttReportManageActDao;
|
||||
|
||||
@Autowired
|
||||
private ReportFileDao reportFileDao;
|
||||
|
||||
@Autowired
|
||||
private ReportDao reportDao;
|
||||
|
||||
@@ -619,6 +620,12 @@ public class TodoTaskController {
|
||||
}else {
|
||||
ttReportManageAct = ttReportManageActDao.selectByPrcId(pId);
|
||||
}
|
||||
// 为空说明流程已经结束
|
||||
if (ttReportManageAct.getFileList().size() == 0){
|
||||
List<ReportFile> reportFiles =
|
||||
reportFileDao.selectByReport(new ReportFile(ttReportManageAct.getDataId(),2));
|
||||
ttReportManageAct.setFileList(reportFiles);
|
||||
}
|
||||
List<String> labelList = treeLableDao.selectIdByReport(ttReportManageAct.getDataId());
|
||||
ttReportManageAct.setLabelList(labelList);
|
||||
String string = JSONArray.toJSONString(ttReportManageAct);
|
||||
@@ -633,6 +640,12 @@ public class TodoTaskController {
|
||||
}else {
|
||||
ttReportManageAct = ttReportManageActDao.selectByPrcId(pId);
|
||||
}
|
||||
// 为空说明流程已经结束
|
||||
if (ttReportManageAct.getFileList().size() == 0){
|
||||
List<ReportFile> reportFiles =
|
||||
reportFileDao.selectByReport(new ReportFile(ttReportManageAct.getDataId(),2));
|
||||
ttReportManageAct.setFileList(reportFiles);
|
||||
}
|
||||
List<String> labelList = treeLableDao.selectIdByReport(ttReportManageAct.getDataId());
|
||||
ttReportManageAct.setLabelList(labelList);
|
||||
String string = JSONArray.toJSONString(ttReportManageAct);
|
||||
|
||||
Reference in New Issue
Block a user