提交代码

dev_xds
姜玉琦 2024-04-22 22:59:38 +08:00
parent 9a2890f78e
commit 68b30653a4
1 changed files with 7 additions and 1 deletions

View File

@ -174,11 +174,14 @@ public class SurProjectAuditinfoServiceImpl implements ISurProjectAuditinfoServi
}
SmzSspProblemmodifyWhere smzSspProblemmodifyWhere = new SmzSspProblemmodifyWhere();
if(StringUtils.isNotEmpty(flowTaskEntity.getBusinessKey())){
smzSspProblemmodifyWhere.setProjectId(Convert.toLong(flowTaskEntity.getBusinessKey()));
}
smzSspProblemmodifyWhere.setInfoType(1L);
Long minRole = flowTaskEntity.getRoleIds().stream().mapToLong(Long::longValue).min().getAsLong();
smzSspProblemmodifyWhere.setNowRole(Convert.toStr(minRole));
smzSspProblemmodifyWhere.setNowUser(flowTaskEntity.getNowUserName());
smzSspProblemmodifyWhere.setNowDept(flowTaskEntity.getNowDept());
int zlCount = 0;
List<Map<String, Object>> zlDataList = smzSspProblemmodifyMapper.findProblemmodifyGroupByCheckState(smzSspProblemmodifyWhere);
if(StringUtils.isNotEmpty(zlDataList)){
@ -208,6 +211,9 @@ public class SurProjectAuditinfoServiceImpl implements ISurProjectAuditinfoServi
dataMap.put("approveCLFY",d);
//查询劳资预警审批信息
FlowLabourInfo flowLabourInfo=new FlowLabourInfo();
if(StringUtils.isNotEmpty(flowTaskEntity.getBusinessKey())){
flowLabourInfo.setProjectId(Convert.toLong(flowTaskEntity.getBusinessKey()));
}
flowLabourInfo.setNowRole(flowTaskEntity.getNowRole());
flowLabourInfo.setNowDept(flowTaskEntity.getNowDept());
flowLabourInfo.setNowUser(flowTaskEntity.getNowUser());