修复发起考核bug

This commit is contained in:
wulin 2020-10-26 11:27:15 +08:00
parent 138a298c43
commit b2ab60cb16

View File

@ -125,13 +125,15 @@ public class FlowStartController {
if(flowStart1 == null){ if(flowStart1 == null){
flowStartService.insertFlowStart(flowStart); flowStartService.insertFlowStart(flowStart);
}else{ }else{
flowStart = flowStart1;
flowStart.setId(flowStart1.getId());
} }
Map<Long, String> chartNameMaps = new HashedMap();//流程节点与流程名称对应map下面多次循环减少数据库查找 Map<Long, String> chartNameMaps = new HashedMap();//流程节点与流程名称对应map下面多次循环减少数据库查找
Map<String, List<StaffEntity>> staffManages = new HashedMap();//部门(id+几级)和部门几级管理对应关系减少数据库查找 Map<String, List<StaffEntity>> staffManages = new HashedMap();//部门(id+几级)和部门几级管理对应关系减少数据库查找
//下面开始初始化流程 //下面开始初始化流程
String[] gids = flowStart.getGroupIds().split(",");
List<Long> ids = Arrays.stream(flowStart.getGroupIds().split(",")).map(new Function<String, Long>() { List<Long> ids = Arrays.stream(flowStart.getGroupIds().split(",")).map(new Function<String, Long>() {
@Override @Override
public Long apply(String s) { public Long apply(String s) {