故障修复
This commit is contained in:
@@ -30,6 +30,9 @@ public class SimulationFlowTemplate extends BaseEntity {
|
||||
@Schema(description = "父版本UUID")
|
||||
public String parentUuid;
|
||||
|
||||
@Schema(description = "流程模版编码")
|
||||
public String templateCode;
|
||||
|
||||
@Schema(description = "模版状态")
|
||||
public int templateStatus = 1;
|
||||
|
||||
|
||||
@@ -46,11 +46,12 @@ public class FlowServiceImpl extends BaseService implements IFlowService {
|
||||
long tenantId = ThreadLocalContext.getTenantId();
|
||||
long creator = ThreadLocalContext.getUserId();
|
||||
String createName = ThreadLocalContext.getUserName();
|
||||
flowTemplate.setUuid(generateUuid("flow_template_"));
|
||||
flowTemplate.setCreator(creator);
|
||||
flowTemplate.setTenantId(tenantId);
|
||||
flowTemplate.setCreateName(createName);
|
||||
flowTemplate.setTemplateVersion("V1.0");
|
||||
flowTemplate.uuid = generateUuid("flow_template_");
|
||||
flowTemplate.templateCode = generateUuid("flow_code_");
|
||||
flowTemplate.creator = creator;
|
||||
flowTemplate.tenantId = tenantId;
|
||||
flowTemplate.createName = createName;
|
||||
flowTemplate.templateVersion = "V1.0";
|
||||
flowTemplate.approveType = 0;
|
||||
if(flowMapper.addFlowTemplate(flowTemplate) <=0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user