ci: 流程通用部分字段统一
This commit is contained in:
+5
-1
@@ -1,5 +1,6 @@
|
|||||||
package com.jero.modules.activiti.process.esInitChange.entity.vo;
|
package com.jero.modules.activiti.process.esInitChange.entity.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import com.jero.modules.activiti.process.common.entity.CommonVO;
|
import com.jero.modules.activiti.process.common.entity.CommonVO;
|
||||||
import com.jero.modules.activiti.process.esInitChange.entity.ProcessEsInitChange;
|
import com.jero.modules.activiti.process.esInitChange.entity.ProcessEsInitChange;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -13,9 +14,12 @@ import java.util.List;
|
|||||||
@Data
|
@Data
|
||||||
public class InitChangeDataVO {
|
public class InitChangeDataVO {
|
||||||
|
|
||||||
|
@JsonProperty("common")
|
||||||
CommonVO commonVO;
|
CommonVO commonVO;
|
||||||
|
|
||||||
|
@JsonProperty("dataList")
|
||||||
List<ProcessEsInitChange> dataList;
|
List<ProcessEsInitChange> dataList;
|
||||||
|
|
||||||
InitChangeFlowUserVO initChangeFlowUserVO;
|
@JsonProperty("flowUser")
|
||||||
|
InitChangeFlowUserVO flowUserInfoVO;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -105,7 +105,7 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
|
|||||||
initChangeFlowUserVO.setNewMainDraftUserLeaderLeader(userMap.get("newMainDraftUserLeaderLeader").getLinkUserIds());
|
initChangeFlowUserVO.setNewMainDraftUserLeaderLeader(userMap.get("newMainDraftUserLeaderLeader").getLinkUserIds());
|
||||||
initChangeFlowUserVO.setNewMainDraftUserLeader(userMap.get("newMainDraftUserLeader").getLinkUserIds());
|
initChangeFlowUserVO.setNewMainDraftUserLeader(userMap.get("newMainDraftUserLeader").getLinkUserIds());
|
||||||
initChangeFlowUserVO.setCopyUser(userMap.get("copyUser").getLinkUserIds());
|
initChangeFlowUserVO.setCopyUser(userMap.get("copyUser").getLinkUserIds());
|
||||||
initChangeDataVO.setInitChangeFlowUserVO(initChangeFlowUserVO);
|
initChangeDataVO.setFlowUserInfoVO(initChangeFlowUserVO);
|
||||||
return initChangeDataVO;
|
return initChangeDataVO;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -238,7 +238,7 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Map<String, Object> setVariables(InitChangeDataVO initChangeData) {
|
public Map<String, Object> setVariables(InitChangeDataVO initChangeData) {
|
||||||
InitChangeFlowUserVO initChangeFlowUserVO = initChangeData.getInitChangeFlowUserVO();
|
InitChangeFlowUserVO initChangeFlowUserVO = initChangeData.getFlowUserInfoVO();
|
||||||
ProcessEsInitChange initChange = initChangeData.getDataList().get(0);
|
ProcessEsInitChange initChange = initChangeData.getDataList().get(0);
|
||||||
Map<String, Object> map = new HashMap<>();
|
Map<String, Object> map = new HashMap<>();
|
||||||
// 设置流程中各个节点的人
|
// 设置流程中各个节点的人
|
||||||
|
|||||||
Reference in New Issue
Block a user