修复发起考核bug
This commit is contained in:
parent
138a298c43
commit
b2ab60cb16
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user