Commit 0dd6ff3f by 王志超

feat: 行动项绑定工单系统

parent 4b420ced
Pipeline #85777 passed with stages
in 1 minute 15 seconds
......@@ -22,6 +22,7 @@ import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.Assert;
import com.alibaba.fastjson.JSON;
......@@ -158,6 +159,7 @@ public class ChangeFlowBiz {
@Autowired
private BuildAndSendEmail buildAndSendEmail;
@Transactional
public String createAndSubmit(ChangeFlowCreateReq changeFlowCreateReq) {
String uid = RequestLocalBean.getUid();
String name = RequestLocalBean.getName();
......@@ -344,7 +346,7 @@ public class ChangeFlowBiz {
changeRecord.getId(), subFlowId, subNodeId);
// 更新执行记录,绑定子流程
execRecord.setSubFlowId(Long.parseLong(subFlowId));
execRecord.setSubFlowId(subFlowId);
execRecord.setSubFlowNode(subNodeId);
changeFlowExecService.update(execRecord);
}
......
......@@ -86,7 +86,7 @@ public class ChangeExecRecord {
/**
* 子流程工单ID
*/
private Long subFlowId;
private String subFlowId;
/**
* 子流程当前节点
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment