This commit is contained in:
@jyuhsin
2025-12-02 15:37:57 +08:00
parent 14ce37f823
commit 54affda864
13 changed files with 96 additions and 33 deletions
@@ -134,6 +134,7 @@ public class FlowDesignController {
jsonObject.set("instanceViewUrl", processDesign.getInstanceViewUrl());
jsonObject.set("h5InstanceViewUrl", processDesign.getH5InstanceViewUrl());
jsonObject.set("icon", processDesign.getIcon());
jsonObject.set("picIcon", processDesign.getPicIcon());
jsonObject.set("description", processDesign.getDescription());
processDesign.setContent(jsonObject);
dao.insert(processDesign);
@@ -153,6 +154,7 @@ public class FlowDesignController {
jsonObject.set("instanceViewUrl", processDesign.getInstanceViewUrl());
jsonObject.set("h5InstanceViewUrl", processDesign.getH5InstanceViewUrl());
jsonObject.set("icon", processDesign.getIcon());
jsonObject.set("picIcon", processDesign.getPicIcon());
jsonObject.set("description", processDesign.getDescription());
processDesign.setContent(jsonObject);
processDesignService.update(processDesign);
@@ -172,6 +174,7 @@ public class FlowDesignController {
jsonObject.set("instanceViewUrl", processDesign.getInstanceViewUrl());
jsonObject.set("h5InstanceViewUrl", processDesign.getH5InstanceViewUrl());
jsonObject.set("icon", processDesign.getIcon());
jsonObject.set("picIcon", processDesign.getPicIcon());
jsonObject.set("description", processDesign.getDescription());
processDesign.setContent(jsonObject);
processDesignService.update(processDesign);
@@ -23,6 +23,11 @@ public class ProcessCategory extends BaseModel {
@ColDefine(type = ColType.VARCHAR, width = 10)
private String name;
@Comment("图片图标")
@Column
@ColDefine(type = ColType.VARCHAR, width = 255)
private String picIcon;
@Comment("图标")
@Column
@ColDefine(type = ColType.VARCHAR, width = 255)
@@ -56,6 +56,10 @@ public class ProcessDesign extends BaseModel {
@Column
private String h5InstanceViewUrl;
@Comment("图片图标")
@Column
private String picIcon;
@Comment("图标")
@Column
private String icon;