update 法规征求意见流程

This commit is contained in:
liao
2023-11-29 11:21:46 +08:00
parent 32b924e9f4
commit 4d47ae0034
2 changed files with 3 additions and 8 deletions
@@ -44,8 +44,6 @@ public class TaskListenerService {
DelegateExecution execution = delegateTask.getExecution();
String executionId = execution.getId();
String parentExecutionId = execution.getParentId();
HistoricTaskInstance historicTask = historyService.createHistoricTaskInstanceQuery().executionId(parentExecutionId).singleResult();
String historicTaskAssignee = historicTask.getAssignee();
LambdaQueryWrapper<ProcessFbConsultationUserLink> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ProcessFbConsultationUserLink::getBusinessId, processAll.getProjectId());
@@ -83,6 +81,8 @@ public class TaskListenerService {
delegateTask.setFormKey(userId); // 绑定主管级领导的id
break;
case ConsultationTaskKey.MODULE_OWNER_END_3: // 法规工程师审批驳回后的子流程中的模块负责人汇总
HistoricTaskInstance historicTask = historyService.createHistoricTaskInstanceQuery().executionId(parentExecutionId).singleResult();
String historicTaskAssignee = historicTask.getAssignee();
if (StringUtils.isBlank(historicTaskAssignee)) {
throw new JeroBootException("系统错误,请联系开发管理员");
}
@@ -45,8 +45,6 @@ public class ProcessFbStandardPurchaseServiceImpl extends ServiceImpl<ProcessFbS
@Resource
private IProcessHandleService processHandleService;
@Value("${jero.path.upload}")
private String upLoadPath;
/**
* @Author: liao
@@ -178,12 +176,9 @@ public class ProcessFbStandardPurchaseServiceImpl extends ServiceImpl<ProcessFbS
queryWrapper.orderByAsc(ProcessFbStandardPurchase::getSort);
List<ProcessFbStandardPurchase> exportList = list(queryWrapper); // 准备数据
String title = "法规采购流程";
ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
mv.addObject(JeroController.FILE_NAME, title); //此处设置的filename无效 ,前端会重更新设置一下
mv.addObject(JeroController.CLASS, ProcessFbStandardPurchase.class);
ExportParams exportParams=new ExportParams(title + "报表", "导出人:" + CurrentUserUtil.getRealName(), title);
exportParams.setImageBasePath(upLoadPath);
ExportParams exportParams=new ExportParams();
mv.addObject(JeroController.PARAMS,exportParams);
mv.addObject(NormalExcelConstants.DATA_LIST, exportList);
return mv;