Browse Source

自定义表单和流程初始化建表

guarantee-lsq 7 months ago
parent
commit
f1f68cf246
91 changed files with 7151 additions and 1 deletions
  1. 135 0
      platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormBomDTO.java
  2. 87 0
      platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormBomFieldDTO.java
  3. 87 0
      platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormDTO.java
  4. 87 0
      platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormDataDTO.java
  5. 95 0
      platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowConditionSwitchDTO.java
  6. 83 0
      platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowDTO.java
  7. 115 0
      platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowTaskBomDTO.java
  8. 83 0
      platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowTaskBomFieldDTO.java
  9. 111 0
      platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowTaskDTO.java
  10. 95 0
      platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowVerifyUserDTO.java
  11. 77 0
      platform-dao/src/main/java/com/platform/dao/entity/custom/CustomForm.java
  12. 117 0
      platform-dao/src/main/java/com/platform/dao/entity/custom/CustomFormBom.java
  13. 77 0
      platform-dao/src/main/java/com/platform/dao/entity/custom/CustomFormBomField.java
  14. 77 0
      platform-dao/src/main/java/com/platform/dao/entity/custom/CustomFormData.java
  15. 72 0
      platform-dao/src/main/java/com/platform/dao/entity/workflow/Workflow.java
  16. 84 0
      platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowConditionSwitch.java
  17. 92 0
      platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowTask.java
  18. 104 0
      platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowTaskBom.java
  19. 72 0
      platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowTaskBomField.java
  20. 84 0
      platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowVerifyUser.java
  21. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormBomFieldMapper.java
  22. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormBomMapper.java
  23. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormDataMapper.java
  24. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormMapper.java
  25. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowConditionSwitchMapper.java
  26. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowMapper.java
  27. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowTaskBomFieldMapper.java
  28. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowTaskBomMapper.java
  29. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowTaskMapper.java
  30. 26 0
      platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowVerifyUserMapper.java
  31. 87 0
      platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormBomFieldVO.java
  32. 147 0
      platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormBomVO.java
  33. 87 0
      platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormDataVO.java
  34. 87 0
      platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormVO.java
  35. 99 0
      platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowConditionSwitchVO.java
  36. 81 0
      platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowTaskBomFieldVO.java
  37. 129 0
      platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowTaskBomVO.java
  38. 111 0
      platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowTaskVO.java
  39. 81 0
      platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowVO.java
  40. 99 0
      platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowVerifyUserVO.java
  41. 68 0
      platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormBomFieldVO.java
  42. 108 0
      platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormBomVO.java
  43. 68 0
      platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormDataVO.java
  44. 68 0
      platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormVO.java
  45. 76 0
      platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowConditionSwitchVO.java
  46. 64 0
      platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowTaskBomFieldVO.java
  47. 96 0
      platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowTaskBomVO.java
  48. 84 0
      platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowTaskVO.java
  49. 64 0
      platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowVO.java
  50. 76 0
      platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowVerifyUserVO.java
  51. 87 0
      platform-dao/src/main/resources/mapper/custom/CustomFormBomFieldMapper.xml
  52. 143 0
      platform-dao/src/main/resources/mapper/custom/CustomFormBomMapper.xml
  53. 80 0
      platform-dao/src/main/resources/mapper/custom/CustomFormDataMapper.xml
  54. 83 0
      platform-dao/src/main/resources/mapper/custom/CustomFormMapper.xml
  55. 97 0
      platform-dao/src/main/resources/mapper/workflow/WorkflowConditionSwitchMapper.xml
  56. 82 0
      platform-dao/src/main/resources/mapper/workflow/WorkflowMapper.xml
  57. 82 0
      platform-dao/src/main/resources/mapper/workflow/WorkflowTaskBomFieldMapper.xml
  58. 122 0
      platform-dao/src/main/resources/mapper/workflow/WorkflowTaskBomMapper.xml
  59. 113 0
      platform-dao/src/main/resources/mapper/workflow/WorkflowTaskMapper.xml
  60. 97 0
      platform-dao/src/main/resources/mapper/workflow/WorkflowVerifyUserMapper.xml
  61. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormBomController.java
  62. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormBomFieldController.java
  63. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormController.java
  64. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormDataController.java
  65. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowConditionSwitchController.java
  66. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowController.java
  67. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowTaskBomController.java
  68. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowTaskBomFieldController.java
  69. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowTaskController.java
  70. 141 0
      platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowVerifyUserController.java
  71. 1 1
      platform-rest/src/main/resources/application-dev.yml
  72. 37 0
      platform-service/src/main/java/com/platform/service/custom/CustomFormBomFieldService.java
  73. 37 0
      platform-service/src/main/java/com/platform/service/custom/CustomFormBomService.java
  74. 37 0
      platform-service/src/main/java/com/platform/service/custom/CustomFormDataService.java
  75. 37 0
      platform-service/src/main/java/com/platform/service/custom/CustomFormService.java
  76. 51 0
      platform-service/src/main/java/com/platform/service/custom/impl/CustomFormBomFieldServiceImpl.java
  77. 51 0
      platform-service/src/main/java/com/platform/service/custom/impl/CustomFormBomServiceImpl.java
  78. 51 0
      platform-service/src/main/java/com/platform/service/custom/impl/CustomFormDataServiceImpl.java
  79. 51 0
      platform-service/src/main/java/com/platform/service/custom/impl/CustomFormServiceImpl.java
  80. 37 0
      platform-service/src/main/java/com/platform/service/workflow/WorkflowConditionSwitchService.java
  81. 37 0
      platform-service/src/main/java/com/platform/service/workflow/WorkflowService.java
  82. 37 0
      platform-service/src/main/java/com/platform/service/workflow/WorkflowTaskBomFieldService.java
  83. 37 0
      platform-service/src/main/java/com/platform/service/workflow/WorkflowTaskBomService.java
  84. 37 0
      platform-service/src/main/java/com/platform/service/workflow/WorkflowTaskService.java
  85. 37 0
      platform-service/src/main/java/com/platform/service/workflow/WorkflowVerifyUserService.java
  86. 51 0
      platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowConditionSwitchServiceImpl.java
  87. 51 0
      platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowServiceImpl.java
  88. 51 0
      platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowTaskBomFieldServiceImpl.java
  89. 51 0
      platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowTaskBomServiceImpl.java
  90. 51 0
      platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowTaskServiceImpl.java
  91. 51 0
      platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowVerifyUserServiceImpl.java

+ 135 - 0
platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormBomDTO.java

@@ -0,0 +1,135 @@
+package com.platform.dao.dto.custom;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 自定义表单数据查询bom表DTO
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormBomDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 表单数据表ID
+     */
+    private String dataId;
+    /**
+     * 发起人
+     */
+    private String applyMan;
+    /**
+     * 发起时间
+     */
+    private LocalDateTime applyTime;
+    /**
+     * 发起时间开始
+     */
+    private LocalDateTime applyTimeStart;
+    /**
+     * 发起时间结束
+     */
+    private LocalDateTime applyTimeEnd;
+    /**
+     * 字段1
+     */
+    private String cdefine1;
+    /**
+     * 字段2
+     */
+    private String cdefine2;
+    /**
+     * 字段3
+     */
+    private String cdefine3;
+    /**
+     * 字段4
+     */
+    private String cdefine4;
+    /**
+     * 字段5
+     */
+    private String cdefine5;
+    /**
+     * 字段6
+     */
+    private String cdefine6;
+    /**
+     * 字段7
+     */
+    private String cdefine7;
+    /**
+     * 字段8
+     */
+    private String cdefine8;
+    /**
+     * 字段9
+     */
+    private String cdefine9;
+    /**
+     * 字段10
+     */
+    private String cdefine10;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 创建时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 创建时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 87 - 0
platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormBomFieldDTO.java

@@ -0,0 +1,87 @@
+package com.platform.dao.dto.custom;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 查询bom字段命名表DTO
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormBomFieldDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 对应的中文名称
+     */
+    private String name;
+    /**
+     * 对应的英文名称
+     */
+    private String filedName;
+    /**
+     * bomId
+     */
+    private String bomId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 创建时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 创建时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 87 - 0
platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormDTO.java

@@ -0,0 +1,87 @@
+package com.platform.dao.dto.custom;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 自定义表单表DTO
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 报废单  调拨单。。。
+     */
+    private Integer type;
+    /**
+     * 表单json
+     */
+    private String jsonString;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 创建时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 创建时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 87 - 0
platform-dao/src/main/java/com/platform/dao/dto/custom/CustomFormDataDTO.java

@@ -0,0 +1,87 @@
+package com.platform.dao.dto.custom;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 自定义表单数据表DTO
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormDataDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 表单数据json
+     */
+    private String jsonString;
+    /**
+     * 表单模板ID
+     */
+    private String formId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 创建时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 创建时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 95 - 0
platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowConditionSwitchDTO.java

@@ -0,0 +1,95 @@
+package com.platform.dao.dto.workflow;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核条件分支表DTO
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowConditionSwitchDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 添加时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 添加时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 通过  驳回  终止  撤销等,客户自定义
+     */
+    private String switchType;
+    /**
+     * 处理类
+     */
+    private String className;
+    /**
+     * 处理方法
+     */
+    private String methodName;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 83 - 0
platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowDTO.java

@@ -0,0 +1,83 @@
+package com.platform.dao.dto.workflow;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程表DTO
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 添加时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 添加时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程名称
+     */
+    private String name;
+    /**
+     * 流程总节点数
+     */
+    private Integer totalNode;
+    /**
+     * 层级节点数
+     */
+    private Integer levelNode;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 115 - 0
platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowTaskBomDTO.java

@@ -0,0 +1,115 @@
+package com.platform.dao.dto.workflow;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程任务审核字段显示表DTO
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowTaskBomDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 添加时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 添加时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程任务ID
+     */
+    private String taskId;
+    /**
+     * 自定义字段1
+     */
+    private String cdefine1;
+    /**
+     * 自定义字段2
+     */
+    private String cdefine2;
+    /**
+     * 自定义字段3
+     */
+    private String cdefine3;
+    /**
+     * 自定义字段4
+     */
+    private String cdefine4;
+    /**
+     * 自定义字段5
+     */
+    private String cdefine5;
+    /**
+     * 自定义字段6
+     */
+    private String cdefine6;
+    /**
+     * 自定义字段7
+     */
+    private String cdefine7;
+    /**
+     * 自定义字段8
+     */
+    private String cdefine8;
+    /**
+     * 自定义字段9
+     */
+    private String cdefine9;
+    /**
+     * 自定义字段10
+     */
+    private String cdefine10;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 83 - 0
platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowTaskBomFieldDTO.java

@@ -0,0 +1,83 @@
+package com.platform.dao.dto.workflow;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核显示字段命名表DTO
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowTaskBomFieldDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 添加时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 添加时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 对应中文名称
+     */
+    private String name;
+    /**
+     * 对应英文属性名称
+     */
+    private String filedName;
+    /**
+     * 处理人ID
+     */
+    private String taskRecordId;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 111 - 0
platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowTaskDTO.java

@@ -0,0 +1,111 @@
+package com.platform.dao.dto.workflow;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程任务表DTO
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowTaskDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 添加时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 添加时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 表单数据表ID
+     */
+    private String formDataId;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 待办  已办  撤回  终止 等
+     */
+    private Integer status;
+    /**
+     * 处理人ID
+     */
+    private String userId;
+    /**
+     * 处理人
+     */
+    private String userName;
+    /**
+     * 处理时间
+     */
+    private LocalDateTime handleTime;
+    /**
+     * 处理时间开始
+     */
+    private LocalDateTime handleTimeStart;
+    /**
+     * 处理时间结束
+     */
+    private LocalDateTime handleTimeEnd;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 95 - 0
platform-dao/src/main/java/com/platform/dao/dto/workflow/WorkflowVerifyUserDTO.java

@@ -0,0 +1,95 @@
+package com.platform.dao.dto.workflow;
+
+import com.platform.common.bean.BaseDTO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核人员表DTO
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowVerifyUserDTO extends BaseDTO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 添加时间开始
+     */
+    private LocalDateTime createdTimeStart;
+    /**
+     * 添加时间结束
+     */
+    private LocalDateTime createdTimeEnd;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 更新时间开始
+     */
+    private LocalDateTime updateTimeStart;
+    /**
+     * 更新时间结束
+     */
+    private LocalDateTime updateTimeEnd;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 人员类型 1 审核人 2 协同人
+     */
+    private Integer type;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 审批人ID
+     */
+    private String userId;
+    /**
+     * 审批人
+     */
+    private String userName;
+    /**
+     * 关键字
+     */
+    private String keyword;
+
+}

+ 77 - 0
platform-dao/src/main/java/com/platform/dao/entity/custom/CustomForm.java

@@ -0,0 +1,77 @@
+package com.platform.dao.entity.custom;
+
+import lombok.Data;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+import lombok.experimental.Accessors;
+import com.platform.common.bean.DataScope;
+import javax.persistence.Transient;
+
+/**
+ * @Description 自定义表单表实体类
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_custom_form")
+public class CustomForm implements Serializable{
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 报废单  调拨单。。。
+     */
+    private Integer type;
+    /**
+     * 表单json
+     */
+    private String jsonString;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+   /**
+    * 数据权限
+    */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 117 - 0
platform-dao/src/main/java/com/platform/dao/entity/custom/CustomFormBom.java

@@ -0,0 +1,117 @@
+package com.platform.dao.entity.custom;
+
+import lombok.Data;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+import lombok.experimental.Accessors;
+import com.platform.common.bean.DataScope;
+import javax.persistence.Transient;
+
+/**
+ * @Description 自定义表单数据查询bom表实体类
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_custom_form_bom")
+public class CustomFormBom implements Serializable{
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 表单数据表ID
+     */
+    private String dataId;
+    /**
+     * 发起人
+     */
+    private String applyMan;
+    /**
+     * 发起时间
+     */
+    private LocalDateTime applyTime;
+    /**
+     * 字段1
+     */
+    private String cdefine1;
+    /**
+     * 字段2
+     */
+    private String cdefine2;
+    /**
+     * 字段3
+     */
+    private String cdefine3;
+    /**
+     * 字段4
+     */
+    private String cdefine4;
+    /**
+     * 字段5
+     */
+    private String cdefine5;
+    /**
+     * 字段6
+     */
+    private String cdefine6;
+    /**
+     * 字段7
+     */
+    private String cdefine7;
+    /**
+     * 字段8
+     */
+    private String cdefine8;
+    /**
+     * 字段9
+     */
+    private String cdefine9;
+    /**
+     * 字段10
+     */
+    private String cdefine10;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+   /**
+    * 数据权限
+    */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 77 - 0
platform-dao/src/main/java/com/platform/dao/entity/custom/CustomFormBomField.java

@@ -0,0 +1,77 @@
+package com.platform.dao.entity.custom;
+
+import lombok.Data;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+import lombok.experimental.Accessors;
+import com.platform.common.bean.DataScope;
+import javax.persistence.Transient;
+
+/**
+ * @Description 查询bom字段命名表实体类
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_custom_form_bom_field")
+public class CustomFormBomField implements Serializable{
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 对应的中文名称
+     */
+    private String name;
+    /**
+     * 对应的英文名称
+     */
+    private String filedName;
+    /**
+     * bomId
+     */
+    private String bomId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+   /**
+    * 数据权限
+    */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 77 - 0
platform-dao/src/main/java/com/platform/dao/entity/custom/CustomFormData.java

@@ -0,0 +1,77 @@
+package com.platform.dao.entity.custom;
+
+import lombok.Data;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+import lombok.experimental.Accessors;
+import com.platform.common.bean.DataScope;
+import javax.persistence.Transient;
+
+/**
+ * @Description 自定义表单数据表实体类
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_custom_form_data")
+public class CustomFormData implements Serializable{
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 表单数据json
+     */
+    private String jsonString;
+    /**
+     * 表单模板ID
+     */
+    private String formId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+   /**
+    * 数据权限
+    */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 72 - 0
platform-dao/src/main/java/com/platform/dao/entity/workflow/Workflow.java

@@ -0,0 +1,72 @@
+package com.platform.dao.entity.workflow;
+
+import com.platform.common.bean.DataScope;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程表实体类
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_workflow")
+public class Workflow implements Serializable {
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程名称
+     */
+    private String name;
+    /**
+     * 流程总节点数
+     */
+    private Integer totalNode;
+    /**
+     * 层级节点数
+     */
+    private Integer levelNode;
+
+    /**
+     * 数据权限
+     */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 84 - 0
platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowConditionSwitch.java

@@ -0,0 +1,84 @@
+package com.platform.dao.entity.workflow;
+
+import com.platform.common.bean.DataScope;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核条件分支表实体类
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_workflow_condition_switch")
+public class WorkflowConditionSwitch implements Serializable {
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 通过  驳回  终止  撤销等,客户自定义
+     */
+    private String switchType;
+    /**
+     * 处理类
+     */
+    private String className;
+    /**
+     * 处理方法
+     */
+    private String methodName;
+
+    /**
+     * 数据权限
+     */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 92 - 0
platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowTask.java

@@ -0,0 +1,92 @@
+package com.platform.dao.entity.workflow;
+
+import com.platform.common.bean.DataScope;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程任务表实体类
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_workflow_task")
+public class WorkflowTask implements Serializable {
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 表单数据表ID
+     */
+    private String formDataId;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 待办  已办  撤回  终止 等
+     */
+    private Integer status;
+    /**
+     * 处理人ID
+     */
+    private String userId;
+    /**
+     * 处理人
+     */
+    private String userName;
+    /**
+     * 处理时间
+     */
+    private LocalDateTime handleTime;
+
+    /**
+     * 数据权限
+     */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 104 - 0
platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowTaskBom.java

@@ -0,0 +1,104 @@
+package com.platform.dao.entity.workflow;
+
+import com.platform.common.bean.DataScope;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程任务审核字段显示表实体类
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_workflow_task_bom")
+public class WorkflowTaskBom implements Serializable {
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程任务ID
+     */
+    private String taskId;
+    /**
+     * 自定义字段1
+     */
+    private String cdefine1;
+    /**
+     * 自定义字段2
+     */
+    private String cdefine2;
+    /**
+     * 自定义字段3
+     */
+    private String cdefine3;
+    /**
+     * 自定义字段4
+     */
+    private String cdefine4;
+    /**
+     * 自定义字段5
+     */
+    private String cdefine5;
+    /**
+     * 自定义字段6
+     */
+    private String cdefine6;
+    /**
+     * 自定义字段7
+     */
+    private String cdefine7;
+    /**
+     * 自定义字段8
+     */
+    private String cdefine8;
+    /**
+     * 自定义字段9
+     */
+    private String cdefine9;
+    /**
+     * 自定义字段10
+     */
+    private String cdefine10;
+
+    /**
+     * 数据权限
+     */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 72 - 0
platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowTaskBomField.java

@@ -0,0 +1,72 @@
+package com.platform.dao.entity.workflow;
+
+import com.platform.common.bean.DataScope;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核显示字段命名表实体类
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_workflow_task_bom_field")
+public class WorkflowTaskBomField implements Serializable {
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 对应中文名称
+     */
+    private String name;
+    /**
+     * 对应英文属性名称
+     */
+    private String filedName;
+    /**
+     * 处理人ID
+     */
+    private String taskRecordId;
+
+    /**
+     * 数据权限
+     */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 84 - 0
platform-dao/src/main/java/com/platform/dao/entity/workflow/WorkflowVerifyUser.java

@@ -0,0 +1,84 @@
+package com.platform.dao.entity.workflow;
+
+import com.platform.common.bean.DataScope;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核人员表实体类
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@Table(name = "t_workflow_verify_user")
+public class WorkflowVerifyUser implements Serializable {
+
+    /**
+     * 主键
+     */
+    @Id
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 人员类型 1 审核人 2 协同人
+     */
+    private Integer type;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 审批人ID
+     */
+    private String userId;
+    /**
+     * 审批人
+     */
+    private String userName;
+
+    /**
+     * 数据权限
+     */
+    @Transient
+    private DataScope dataScope;
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormBomFieldMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.custom;
+
+import com.platform.dao.dto.custom.CustomFormBomFieldDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.custom.CustomFormBomField;
+import com.platform.dao.vo.query.custom.CustomFormBomFieldVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 查询bom字段命名表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface CustomFormBomFieldMapper extends MyMapper<CustomFormBomField> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<CustomFormBomFieldVO> selectList(CustomFormBomFieldDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormBomMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.custom;
+
+import com.platform.dao.dto.custom.CustomFormBomDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.custom.CustomFormBom;
+import com.platform.dao.vo.query.custom.CustomFormBomVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 自定义表单数据查询bom表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface CustomFormBomMapper extends MyMapper<CustomFormBom> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<CustomFormBomVO> selectList(CustomFormBomDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormDataMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.custom;
+
+import com.platform.dao.dto.custom.CustomFormDataDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.custom.CustomFormData;
+import com.platform.dao.vo.query.custom.CustomFormDataVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 自定义表单数据表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface CustomFormDataMapper extends MyMapper<CustomFormData> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<CustomFormDataVO> selectList(CustomFormDataDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/custom/CustomFormMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.custom;
+
+import com.platform.dao.dto.custom.CustomFormDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.custom.CustomForm;
+import com.platform.dao.vo.query.custom.CustomFormVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 自定义表单表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface CustomFormMapper extends MyMapper<CustomForm> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<CustomFormVO> selectList(CustomFormDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowConditionSwitchMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.workflow;
+
+import com.platform.dao.dto.workflow.WorkflowConditionSwitchDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.workflow.WorkflowConditionSwitch;
+import com.platform.dao.vo.query.workflow.WorkflowConditionSwitchVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 流程审核条件分支表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface WorkflowConditionSwitchMapper extends MyMapper<WorkflowConditionSwitch> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<WorkflowConditionSwitchVO> selectList(WorkflowConditionSwitchDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.workflow;
+
+import com.platform.dao.dto.workflow.WorkflowDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.workflow.Workflow;
+import com.platform.dao.vo.query.workflow.WorkflowVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 流程表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface WorkflowMapper extends MyMapper<Workflow> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<WorkflowVO> selectList(WorkflowDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowTaskBomFieldMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.workflow;
+
+import com.platform.dao.dto.workflow.WorkflowTaskBomFieldDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.workflow.WorkflowTaskBomField;
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomFieldVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 流程审核显示字段命名表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface WorkflowTaskBomFieldMapper extends MyMapper<WorkflowTaskBomField> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<WorkflowTaskBomFieldVO> selectList(WorkflowTaskBomFieldDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowTaskBomMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.workflow;
+
+import com.platform.dao.dto.workflow.WorkflowTaskBomDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.workflow.WorkflowTaskBom;
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 流程任务审核字段显示表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface WorkflowTaskBomMapper extends MyMapper<WorkflowTaskBom> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<WorkflowTaskBomVO> selectList(WorkflowTaskBomDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowTaskMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.workflow;
+
+import com.platform.dao.dto.workflow.WorkflowTaskDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.workflow.WorkflowTask;
+import com.platform.dao.vo.query.workflow.WorkflowTaskVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 流程任务表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface WorkflowTaskMapper extends MyMapper<WorkflowTask> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<WorkflowTaskVO> selectList(WorkflowTaskDTO dto);
+
+}

+ 26 - 0
platform-dao/src/main/java/com/platform/dao/mapper/workflow/WorkflowVerifyUserMapper.java

@@ -0,0 +1,26 @@
+package com.platform.dao.mapper.workflow;
+
+import com.platform.dao.dto.workflow.WorkflowVerifyUserDTO;
+import com.platform.dao.config.MyMapper;
+import com.platform.dao.entity.workflow.WorkflowVerifyUser;
+import com.platform.dao.vo.query.workflow.WorkflowVerifyUserVO;
+import org.springframework.stereotype.Component;
+import java.util.List;
+
+
+/**
+ * @Description 流程审核人员表 mapper
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Component
+public interface WorkflowVerifyUserMapper extends MyMapper<WorkflowVerifyUser> {
+    /**
+     * 分页查询
+     * @param dto
+     * @return
+     */
+    List<WorkflowVerifyUserVO> selectList(WorkflowVerifyUserDTO dto);
+
+}

+ 87 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormBomFieldVO.java

@@ -0,0 +1,87 @@
+package com.platform.dao.vo.export.custom;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 查询bom字段命名表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportCustomFormBomFieldVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 对应的中文名称
+   */
+          @Excel(name = "对应的中文名称", orderNum = "2")
+      private String name;
+    
+    /**
+   * 对应的英文名称
+   */
+          @Excel(name = "对应的英文名称", orderNum = "3")
+      private String filedName;
+    
+    /**
+   * bomId
+   */
+          @Excel(name = "bomId", orderNum = "4")
+      private String bomId;
+    
+    /**
+   * 备注
+   */
+          @Excel(name = "备注", orderNum = "5")
+      private String remark;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "6")
+      private String createdUserId;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "7")
+      private String createdUserName;
+    
+    /**
+   * 创建时间
+   */
+          @Excel(name = "创建时间", orderNum = "8")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "9")
+      private String updateUserId;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "10")
+      private String updateUserName;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "11")
+      private LocalDateTime updateTime;
+    
+  
+}

+ 147 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormBomVO.java

@@ -0,0 +1,147 @@
+package com.platform.dao.vo.export.custom;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 自定义表单数据查询bom表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportCustomFormBomVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 表单数据表ID
+   */
+          @Excel(name = "表单数据表ID", orderNum = "2")
+      private String dataId;
+    
+    /**
+   * 发起人
+   */
+          @Excel(name = "发起人", orderNum = "3")
+      private String applyMan;
+    
+    /**
+   * 发起时间
+   */
+          @Excel(name = "发起时间", orderNum = "4")
+      private LocalDateTime applyTime;
+    
+    /**
+   * 字段1
+   */
+          @Excel(name = "字段1", orderNum = "5")
+      private String cdefine1;
+    
+    /**
+   * 字段2
+   */
+          @Excel(name = "字段2", orderNum = "6")
+      private String cdefine2;
+    
+    /**
+   * 字段3
+   */
+          @Excel(name = "字段3", orderNum = "7")
+      private String cdefine3;
+    
+    /**
+   * 字段4
+   */
+          @Excel(name = "字段4", orderNum = "8")
+      private String cdefine4;
+    
+    /**
+   * 字段5
+   */
+          @Excel(name = "字段5", orderNum = "9")
+      private String cdefine5;
+    
+    /**
+   * 字段6
+   */
+          @Excel(name = "字段6", orderNum = "10")
+      private String cdefine6;
+    
+    /**
+   * 字段7
+   */
+          @Excel(name = "字段7", orderNum = "11")
+      private String cdefine7;
+    
+    /**
+   * 字段8
+   */
+          @Excel(name = "字段8", orderNum = "12")
+      private String cdefine8;
+    
+    /**
+   * 字段9
+   */
+          @Excel(name = "字段9", orderNum = "13")
+      private String cdefine9;
+    
+    /**
+   * 字段10
+   */
+          @Excel(name = "字段10", orderNum = "14")
+      private String cdefine10;
+    
+    /**
+   * 备注
+   */
+          @Excel(name = "备注", orderNum = "15")
+      private String remark;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "16")
+      private String createdUserId;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "17")
+      private String createdUserName;
+    
+    /**
+   * 创建时间
+   */
+          @Excel(name = "创建时间", orderNum = "18")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "19")
+      private String updateUserId;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "20")
+      private String updateUserName;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "21")
+      private LocalDateTime updateTime;
+    
+  
+}

+ 87 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormDataVO.java

@@ -0,0 +1,87 @@
+package com.platform.dao.vo.export.custom;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 自定义表单数据表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportCustomFormDataVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 流程ID
+   */
+          @Excel(name = "流程ID", orderNum = "2")
+      private String flowId;
+    
+    /**
+   * 表单数据json
+   */
+          @Excel(name = "表单数据json", orderNum = "3")
+      private String jsonString;
+    
+    /**
+   * 表单模板ID
+   */
+          @Excel(name = "表单模板ID", orderNum = "4")
+      private String formId;
+    
+    /**
+   * 备注
+   */
+          @Excel(name = "备注", orderNum = "5")
+      private String remark;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "6")
+      private String createdUserId;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "7")
+      private String createdUserName;
+    
+    /**
+   * 创建时间
+   */
+          @Excel(name = "创建时间", orderNum = "8")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "9")
+      private String updateUserId;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "10")
+      private String updateUserName;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "11")
+      private LocalDateTime updateTime;
+    
+  
+}

+ 87 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/custom/ExportCustomFormVO.java

@@ -0,0 +1,87 @@
+package com.platform.dao.vo.export.custom;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 自定义表单表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportCustomFormVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 报废单  调拨单。。。
+   */
+          @Excel(name = "报废单  调拨单。。。", orderNum = "2")
+      private Integer type;
+    
+    /**
+   * 表单json
+   */
+          @Excel(name = "表单json", orderNum = "3")
+      private String jsonString;
+    
+    /**
+   * 流程ID
+   */
+          @Excel(name = "流程ID", orderNum = "4")
+      private String flowId;
+    
+    /**
+   * 备注
+   */
+          @Excel(name = "备注", orderNum = "5")
+      private String remark;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "6")
+      private String createdUserId;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "7")
+      private String createdUserName;
+    
+    /**
+   * 创建时间
+   */
+          @Excel(name = "创建时间", orderNum = "8")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "9")
+      private String updateUserId;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "10")
+      private String updateUserName;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "11")
+      private LocalDateTime updateTime;
+    
+  
+}

+ 99 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowConditionSwitchVO.java

@@ -0,0 +1,99 @@
+package com.platform.dao.vo.export.workflow;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 流程审核条件分支表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportWorkflowConditionSwitchVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "2")
+      private String createdUserId;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "3")
+      private String updateUserId;
+    
+    /**
+   * 添加时间
+   */
+          @Excel(name = "添加时间", orderNum = "4")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "5")
+      private LocalDateTime updateTime;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "6")
+      private String createdUserName;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "7")
+      private String updateUserName;
+    
+    /**
+   * 流程ID
+   */
+          @Excel(name = "流程ID", orderNum = "8")
+      private String flowId;
+    
+    /**
+   * 审批层级
+   */
+          @Excel(name = "审批层级", orderNum = "9")
+      private Integer nodeLevel;
+    
+    /**
+   * 审批层级节点顺序
+   */
+          @Excel(name = "审批层级节点顺序", orderNum = "10")
+      private Integer nodeSort;
+    
+    /**
+   * 通过  驳回  终止  撤销等,客户自定义
+   */
+          @Excel(name = "通过  驳回  终止  撤销等,客户自定义", orderNum = "11")
+      private String switchType;
+    
+    /**
+   * 处理类
+   */
+          @Excel(name = "处理类", orderNum = "12")
+      private String className;
+    
+    /**
+   * 处理方法
+   */
+          @Excel(name = "处理方法", orderNum = "13")
+      private String methodName;
+    
+  
+}

+ 81 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowTaskBomFieldVO.java

@@ -0,0 +1,81 @@
+package com.platform.dao.vo.export.workflow;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 流程审核显示字段命名表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportWorkflowTaskBomFieldVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "2")
+      private String createdUserId;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "3")
+      private String updateUserId;
+    
+    /**
+   * 添加时间
+   */
+          @Excel(name = "添加时间", orderNum = "4")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "5")
+      private LocalDateTime updateTime;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "6")
+      private String createdUserName;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "7")
+      private String updateUserName;
+    
+    /**
+   * 对应中文名称
+   */
+          @Excel(name = "对应中文名称", orderNum = "8")
+      private String name;
+    
+    /**
+   * 对应英文属性名称
+   */
+          @Excel(name = "对应英文属性名称", orderNum = "9")
+      private String filedName;
+    
+    /**
+   * 处理人ID
+   */
+          @Excel(name = "处理人ID", orderNum = "10")
+      private String taskRecordId;
+    
+  
+}

+ 129 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowTaskBomVO.java

@@ -0,0 +1,129 @@
+package com.platform.dao.vo.export.workflow;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 流程任务审核字段显示表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportWorkflowTaskBomVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "2")
+      private String createdUserId;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "3")
+      private String updateUserId;
+    
+    /**
+   * 添加时间
+   */
+          @Excel(name = "添加时间", orderNum = "4")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "5")
+      private LocalDateTime updateTime;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "6")
+      private String createdUserName;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "7")
+      private String updateUserName;
+    
+    /**
+   * 流程任务ID
+   */
+          @Excel(name = "流程任务ID", orderNum = "8")
+      private String taskId;
+    
+    /**
+   * 自定义字段1
+   */
+          @Excel(name = "自定义字段1", orderNum = "9")
+      private String cdefine1;
+    
+    /**
+   * 自定义字段2
+   */
+          @Excel(name = "自定义字段2", orderNum = "10")
+      private String cdefine2;
+    
+    /**
+   * 自定义字段3
+   */
+          @Excel(name = "自定义字段3", orderNum = "11")
+      private String cdefine3;
+    
+    /**
+   * 自定义字段4
+   */
+          @Excel(name = "自定义字段4", orderNum = "12")
+      private String cdefine4;
+    
+    /**
+   * 自定义字段5
+   */
+          @Excel(name = "自定义字段5", orderNum = "13")
+      private String cdefine5;
+    
+    /**
+   * 自定义字段6
+   */
+          @Excel(name = "自定义字段6", orderNum = "14")
+      private String cdefine6;
+    
+    /**
+   * 自定义字段7
+   */
+          @Excel(name = "自定义字段7", orderNum = "15")
+      private String cdefine7;
+    
+    /**
+   * 自定义字段8
+   */
+          @Excel(name = "自定义字段8", orderNum = "16")
+      private String cdefine8;
+    
+    /**
+   * 自定义字段9
+   */
+          @Excel(name = "自定义字段9", orderNum = "17")
+      private String cdefine9;
+    
+    /**
+   * 自定义字段10
+   */
+          @Excel(name = "自定义字段10", orderNum = "18")
+      private String cdefine10;
+    
+  
+}

+ 111 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowTaskVO.java

@@ -0,0 +1,111 @@
+package com.platform.dao.vo.export.workflow;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 流程任务表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportWorkflowTaskVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "2")
+      private String createdUserId;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "3")
+      private String updateUserId;
+    
+    /**
+   * 添加时间
+   */
+          @Excel(name = "添加时间", orderNum = "4")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "5")
+      private LocalDateTime updateTime;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "6")
+      private String createdUserName;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "7")
+      private String updateUserName;
+    
+    /**
+   * 流程ID
+   */
+          @Excel(name = "流程ID", orderNum = "8")
+      private String flowId;
+    
+    /**
+   * 表单数据表ID
+   */
+          @Excel(name = "表单数据表ID", orderNum = "9")
+      private String formDataId;
+    
+    /**
+   * 审批层级
+   */
+          @Excel(name = "审批层级", orderNum = "10")
+      private Integer nodeLevel;
+    
+    /**
+   * 审批层级节点顺序
+   */
+          @Excel(name = "审批层级节点顺序", orderNum = "11")
+      private Integer nodeSort;
+    
+    /**
+   * 待办  已办  撤回  终止 等
+   */
+          @Excel(name = "待办  已办  撤回  终止 等", orderNum = "12")
+      private Integer status;
+    
+    /**
+   * 处理人ID
+   */
+          @Excel(name = "处理人ID", orderNum = "13")
+      private String userId;
+    
+    /**
+   * 处理人
+   */
+          @Excel(name = "处理人", orderNum = "14")
+      private String userName;
+    
+    /**
+   * 处理时间
+   */
+          @Excel(name = "处理时间", orderNum = "15")
+      private LocalDateTime handleTime;
+    
+  
+}

+ 81 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowVO.java

@@ -0,0 +1,81 @@
+package com.platform.dao.vo.export.workflow;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 流程表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportWorkflowVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "2")
+      private String createdUserId;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "3")
+      private String updateUserId;
+    
+    /**
+   * 添加时间
+   */
+          @Excel(name = "添加时间", orderNum = "4")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "5")
+      private LocalDateTime updateTime;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "6")
+      private String createdUserName;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "7")
+      private String updateUserName;
+    
+    /**
+   * 流程名称
+   */
+          @Excel(name = "流程名称", orderNum = "8")
+      private String name;
+    
+    /**
+   * 流程总节点数
+   */
+          @Excel(name = "流程总节点数", orderNum = "9")
+      private Integer totalNode;
+    
+    /**
+   * 层级节点数
+   */
+          @Excel(name = "层级节点数", orderNum = "10")
+      private Integer levelNode;
+    
+  
+}

+ 99 - 0
platform-dao/src/main/java/com/platform/dao/vo/export/workflow/ExportWorkflowVerifyUserVO.java

@@ -0,0 +1,99 @@
+package com.platform.dao.vo.export.workflow;
+
+import com.platform.office.annotation.Excel;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.time.LocalDate;
+
+/**
+ * @Description 流程审核人员表导出VO
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+public class ExportWorkflowVerifyUserVO implements Serializable {
+
+    /**
+   * 主键
+   */
+          @Excel(name = "主键", orderNum = "1")
+      private String id;
+    
+    /**
+   * 创建人ID
+   */
+          @Excel(name = "创建人ID", orderNum = "2")
+      private String createdUserId;
+    
+    /**
+   * 更新人ID
+   */
+          @Excel(name = "更新人ID", orderNum = "3")
+      private String updateUserId;
+    
+    /**
+   * 添加时间
+   */
+          @Excel(name = "添加时间", orderNum = "4")
+      private LocalDateTime createdTime;
+    
+    /**
+   * 更新时间
+   */
+          @Excel(name = "更新时间", orderNum = "5")
+      private LocalDateTime updateTime;
+    
+    /**
+   * 创建人
+   */
+          @Excel(name = "创建人", orderNum = "6")
+      private String createdUserName;
+    
+    /**
+   * 更新人
+   */
+          @Excel(name = "更新人", orderNum = "7")
+      private String updateUserName;
+    
+    /**
+   * 流程ID
+   */
+          @Excel(name = "流程ID", orderNum = "8")
+      private String flowId;
+    
+    /**
+   * 人员类型 1 审核人 2 协同人
+   */
+          @Excel(name = "人员类型 1 审核人 2 协同人", orderNum = "9")
+      private Integer type;
+    
+    /**
+   * 审批层级
+   */
+          @Excel(name = "审批层级", orderNum = "10")
+      private Integer nodeLevel;
+    
+    /**
+   * 审批层级节点顺序
+   */
+          @Excel(name = "审批层级节点顺序", orderNum = "11")
+      private Integer nodeSort;
+    
+    /**
+   * 审批人ID
+   */
+          @Excel(name = "审批人ID", orderNum = "12")
+      private String userId;
+    
+    /**
+   * 审批人
+   */
+          @Excel(name = "审批人", orderNum = "13")
+      private String userName;
+    
+  
+}

+ 68 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormBomFieldVO.java

@@ -0,0 +1,68 @@
+package com.platform.dao.vo.query.custom;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 查询bom字段命名表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormBomFieldVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 对应的中文名称
+     */
+    private String name;
+    /**
+     * 对应的英文名称
+     */
+    private String filedName;
+    /**
+     * bomId
+     */
+    private String bomId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+
+}

+ 108 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormBomVO.java

@@ -0,0 +1,108 @@
+package com.platform.dao.vo.query.custom;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 自定义表单数据查询bom表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormBomVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 表单数据表ID
+     */
+    private String dataId;
+    /**
+     * 发起人
+     */
+    private String applyMan;
+    /**
+     * 发起时间
+     */
+    private LocalDateTime applyTime;
+    /**
+     * 字段1
+     */
+    private String cdefine1;
+    /**
+     * 字段2
+     */
+    private String cdefine2;
+    /**
+     * 字段3
+     */
+    private String cdefine3;
+    /**
+     * 字段4
+     */
+    private String cdefine4;
+    /**
+     * 字段5
+     */
+    private String cdefine5;
+    /**
+     * 字段6
+     */
+    private String cdefine6;
+    /**
+     * 字段7
+     */
+    private String cdefine7;
+    /**
+     * 字段8
+     */
+    private String cdefine8;
+    /**
+     * 字段9
+     */
+    private String cdefine9;
+    /**
+     * 字段10
+     */
+    private String cdefine10;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+
+}

+ 68 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormDataVO.java

@@ -0,0 +1,68 @@
+package com.platform.dao.vo.query.custom;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 自定义表单数据表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormDataVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 表单数据json
+     */
+    private String jsonString;
+    /**
+     * 表单模板ID
+     */
+    private String formId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+
+}

+ 68 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/custom/CustomFormVO.java

@@ -0,0 +1,68 @@
+package com.platform.dao.vo.query.custom;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 自定义表单表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class CustomFormVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 报废单  调拨单。。。
+     */
+    private Integer type;
+    /**
+     * 表单json
+     */
+    private String jsonString;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+
+
+}

+ 76 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowConditionSwitchVO.java

@@ -0,0 +1,76 @@
+package com.platform.dao.vo.query.workflow;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核条件分支表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowConditionSwitchVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 通过  驳回  终止  撤销等,客户自定义
+     */
+    private String switchType;
+    /**
+     * 处理类
+     */
+    private String className;
+    /**
+     * 处理方法
+     */
+    private String methodName;
+
+
+}

+ 64 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowTaskBomFieldVO.java

@@ -0,0 +1,64 @@
+package com.platform.dao.vo.query.workflow;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核显示字段命名表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowTaskBomFieldVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 对应中文名称
+     */
+    private String name;
+    /**
+     * 对应英文属性名称
+     */
+    private String filedName;
+    /**
+     * 处理人ID
+     */
+    private String taskRecordId;
+
+
+}

+ 96 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowTaskBomVO.java

@@ -0,0 +1,96 @@
+package com.platform.dao.vo.query.workflow;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程任务审核字段显示表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowTaskBomVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程任务ID
+     */
+    private String taskId;
+    /**
+     * 自定义字段1
+     */
+    private String cdefine1;
+    /**
+     * 自定义字段2
+     */
+    private String cdefine2;
+    /**
+     * 自定义字段3
+     */
+    private String cdefine3;
+    /**
+     * 自定义字段4
+     */
+    private String cdefine4;
+    /**
+     * 自定义字段5
+     */
+    private String cdefine5;
+    /**
+     * 自定义字段6
+     */
+    private String cdefine6;
+    /**
+     * 自定义字段7
+     */
+    private String cdefine7;
+    /**
+     * 自定义字段8
+     */
+    private String cdefine8;
+    /**
+     * 自定义字段9
+     */
+    private String cdefine9;
+    /**
+     * 自定义字段10
+     */
+    private String cdefine10;
+
+
+}

+ 84 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowTaskVO.java

@@ -0,0 +1,84 @@
+package com.platform.dao.vo.query.workflow;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程任务表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowTaskVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 表单数据表ID
+     */
+    private String formDataId;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 待办  已办  撤回  终止 等
+     */
+    private Integer status;
+    /**
+     * 处理人ID
+     */
+    private String userId;
+    /**
+     * 处理人
+     */
+    private String userName;
+    /**
+     * 处理时间
+     */
+    private LocalDateTime handleTime;
+
+
+}

+ 64 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowVO.java

@@ -0,0 +1,64 @@
+package com.platform.dao.vo.query.workflow;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程名称
+     */
+    private String name;
+    /**
+     * 流程总节点数
+     */
+    private Integer totalNode;
+    /**
+     * 层级节点数
+     */
+    private Integer levelNode;
+
+
+}

+ 76 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/workflow/WorkflowVerifyUserVO.java

@@ -0,0 +1,76 @@
+package com.platform.dao.vo.query.workflow;
+
+import com.platform.common.bean.BaseVO;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * @Description 流程审核人员表VO结果类
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = true)
+public class WorkflowVerifyUserVO extends BaseVO implements Serializable {
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 创建人ID
+     */
+    private String createdUserId;
+    /**
+     * 更新人ID
+     */
+    private String updateUserId;
+    /**
+     * 添加时间
+     */
+    private LocalDateTime createdTime;
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+    /**
+     * 创建人
+     */
+    private String createdUserName;
+    /**
+     * 更新人
+     */
+    private String updateUserName;
+    /**
+     * 流程ID
+     */
+    private String flowId;
+    /**
+     * 人员类型 1 审核人 2 协同人
+     */
+    private Integer type;
+    /**
+     * 审批层级
+     */
+    private Integer nodeLevel;
+    /**
+     * 审批层级节点顺序
+     */
+    private Integer nodeSort;
+    /**
+     * 审批人ID
+     */
+    private String userId;
+    /**
+     * 审批人
+     */
+    private String userName;
+
+
+}

+ 87 - 0
platform-dao/src/main/resources/mapper/custom/CustomFormBomFieldMapper.xml

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.custom.CustomFormBomFieldMapper">
+    <sql id="Base_Column_List">
+        field
+        .
+        id
+        ,
+                                     field.name,
+                                     field.filed_name,
+                                     field.bom_id,
+                                     field.remark,
+                                     field.created_user_id,
+                                     field.created_user_name,
+                                     field.created_time,
+                                     field.update_user_id,
+                                     field.update_user_name,
+                                     field.update_time
+    </sql>
+    <sql id="Ref_Column_List">
+        field
+        .
+        name
+        ,
+                                     field.filed_name,
+                                     field.bom_id,
+                                     field.remark,
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and field.id = #{id}
+        </if>
+        <if test="name != null and name != ''">
+            and field.name = #{name}
+        </if>
+        <if test="filedName != null and filedName != ''">
+            and field.filed_name = #{filedName}
+        </if>
+        <if test="bomId != null and bomId != ''">
+            and field.bom_id = #{bomId}
+        </if>
+        <if test="remark != null and remark != ''">
+            and field.remark = #{remark}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and field.created_user_id = #{createdUserId}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and field.created_user_name = #{createdUserName}
+        </if>
+        <if test="createdTimeStart != null">
+            and field.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and field.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and field.created_time = #{createdTime}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and field.update_user_id = #{updateUserId}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and field.update_user_name = #{updateUserName}
+        </if>
+        <if test="updateTimeStart != null">
+            and field.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and field.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and field.update_time = #{updateTime}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and field.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.custom.CustomFormBomFieldDTO"
+            resultType="com.platform.dao.vo.query.custom.CustomFormBomFieldVO">
+        select field.*
+        from t_custom_form_bom_field as field
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 143 - 0
platform-dao/src/main/resources/mapper/custom/CustomFormBomMapper.xml

@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.custom.CustomFormBomMapper">
+    <sql id="Base_Column_List">
+        bom
+        .
+        id
+        ,
+                                     bom.data_id,
+                                     bom.apply_man,
+                                     bom.apply_time,
+                                     bom.cdefine1,
+                                     bom.cdefine2,
+                                     bom.cdefine3,
+                                     bom.cdefine4,
+                                     bom.cdefine5,
+                                     bom.cdefine6,
+                                     bom.cdefine7,
+                                     bom.cdefine8,
+                                     bom.cdefine9,
+                                     bom.cdefine10,
+                                     bom.remark,
+                                     bom.created_user_id,
+                                     bom.created_user_name,
+                                     bom.created_time,
+                                     bom.update_user_id,
+                                     bom.update_user_name,
+                                     bom.update_time
+    </sql>
+    <sql id="Ref_Column_List">
+        bom
+        .
+        data_id
+        ,
+                                     bom.apply_man,
+                                     bom.apply_time,
+                                     bom.cdefine1,
+                                     bom.cdefine2,
+                                     bom.cdefine3,
+                                     bom.cdefine4,
+                                     bom.cdefine5,
+                                     bom.cdefine6,
+                                     bom.cdefine7,
+                                     bom.cdefine8,
+                                     bom.cdefine9,
+                                     bom.cdefine10,
+                                     bom.remark,
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and bom.id = #{id}
+        </if>
+        <if test="dataId != null and dataId != ''">
+            and bom.data_id = #{dataId}
+        </if>
+        <if test="applyMan != null and applyMan != ''">
+            and bom.apply_man = #{applyMan}
+        </if>
+        <if test="applyTimeStart != null">
+            and bom.apply_time <![CDATA[>=]]>; #{applyTimeStart}
+        </if>
+        <if test="applyTimeEnd != null">
+            and bom.apply_time <![CDATA[<=]]> #{applyTimeEnd}
+        </if>
+        <if test="applyTime != null">
+            and bom.apply_time = #{applyTime}
+        </if>
+        <if test="cdefine1 != null and cdefine1 != ''">
+            and bom.cdefine1 = #{cdefine1}
+        </if>
+        <if test="cdefine2 != null and cdefine2 != ''">
+            and bom.cdefine2 = #{cdefine2}
+        </if>
+        <if test="cdefine3 != null and cdefine3 != ''">
+            and bom.cdefine3 = #{cdefine3}
+        </if>
+        <if test="cdefine4 != null and cdefine4 != ''">
+            and bom.cdefine4 = #{cdefine4}
+        </if>
+        <if test="cdefine5 != null and cdefine5 != ''">
+            and bom.cdefine5 = #{cdefine5}
+        </if>
+        <if test="cdefine6 != null and cdefine6 != ''">
+            and bom.cdefine6 = #{cdefine6}
+        </if>
+        <if test="cdefine7 != null and cdefine7 != ''">
+            and bom.cdefine7 = #{cdefine7}
+        </if>
+        <if test="cdefine8 != null and cdefine8 != ''">
+            and bom.cdefine8 = #{cdefine8}
+        </if>
+        <if test="cdefine9 != null and cdefine9 != ''">
+            and bom.cdefine9 = #{cdefine9}
+        </if>
+        <if test="cdefine10 != null and cdefine10 != ''">
+            and bom.cdefine10 = #{cdefine10}
+        </if>
+        <if test="remark != null and remark != ''">
+            and bom.remark = #{remark}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and bom.created_user_id = #{createdUserId}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and bom.created_user_name = #{createdUserName}
+        </if>
+        <if test="createdTimeStart != null">
+            and bom.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and bom.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and bom.created_time = #{createdTime}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and bom.update_user_id = #{updateUserId}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and bom.update_user_name = #{updateUserName}
+        </if>
+        <if test="updateTimeStart != null">
+            and bom.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and bom.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and bom.update_time = #{updateTime}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and bom.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.custom.CustomFormBomDTO"
+            resultType="com.platform.dao.vo.query.custom.CustomFormBomVO">
+        select bom.*
+        from t_custom_form_bom as bom
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 80 - 0
platform-dao/src/main/resources/mapper/custom/CustomFormDataMapper.xml

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.custom.CustomFormDataMapper">
+    <sql id="Base_Column_List">
+                             data.id,
+                                     data.flow_id,
+                                     data.json_string,
+                                     data.form_id,
+                                     data.remark,
+                                     data.created_user_id,
+                                     data.created_user_name,
+                                     data.created_time,
+                                     data.update_user_id,
+                                     data.update_user_name,
+                                     data.update_time
+                        </sql>
+    <sql id="Ref_Column_List">
+                                                                         data.flow_id,
+                                     data.json_string,
+                                     data.form_id,
+                                     data.remark,
+                                                                                                                                                                                                                                                                                                </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and data.id = #{id}
+        </if>
+        <if test="flowId != null and flowId != ''">
+            and data.flow_id = #{flowId}
+        </if>
+        <if test="jsonString != null">
+            and data.json_string = #{jsonString}
+        </if>
+        <if test="formId != null and formId != ''">
+            and data.form_id = #{formId}
+        </if>
+        <if test="remark != null and remark != ''">
+            and data.remark = #{remark}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and data.created_user_id = #{createdUserId}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and data.created_user_name = #{createdUserName}
+        </if>
+        <if test="createdTimeStart != null">
+            and data.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and data.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and data.created_time = #{createdTime}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and data.update_user_id = #{updateUserId}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and data.update_user_name = #{updateUserName}
+        </if>
+        <if test="updateTimeStart != null">
+            and data.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and data.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and data.update_time = #{updateTime}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and data.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.custom.CustomFormDataDTO" resultType="com.platform.dao.vo.query.custom.CustomFormDataVO">
+        select data.*
+                                                                                                                                                                                                                                            from t_custom_form_data as data
+                                                                                                                                                                                                                                            <where>
+            <include refid="List_Condition" />
+        </where>
+    </select>
+</mapper>

+ 83 - 0
platform-dao/src/main/resources/mapper/custom/CustomFormMapper.xml

@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.custom.CustomFormMapper">
+    <sql id="Base_Column_List">
+                             form.id,
+                                     form.type,
+                                     form.json_string,
+                                     form.flow_id,
+                                     form.remark,
+                                     form.created_user_id,
+                                     form.created_user_name,
+                                     form.created_time,
+                                     form.update_user_id,
+                                     form.update_user_name,
+                                     form.update_time
+                        </sql>
+    <sql id="Ref_Column_List">
+        form
+        .
+        type
+        ,
+                                     form.json_string,
+                                     form.flow_id,
+                                     form.remark,
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and form.id = #{id}
+        </if>
+        <if test="type != null">
+            and form.type = #{type}
+        </if>
+        <if test="jsonString != null">
+            and form.json_string = #{jsonString}
+        </if>
+        <if test="flowId != null and flowId != ''">
+            and form.flow_id = #{flowId}
+        </if>
+        <if test="remark != null and remark != ''">
+            and form.remark = #{remark}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and form.created_user_id = #{createdUserId}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and form.created_user_name = #{createdUserName}
+        </if>
+        <if test="createdTimeStart != null">
+            and form.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and form.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and form.created_time = #{createdTime}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and form.update_user_id = #{updateUserId}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and form.update_user_name = #{updateUserName}
+        </if>
+        <if test="updateTimeStart != null">
+            and form.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and form.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and form.update_time = #{updateTime}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and form.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.custom.CustomFormDTO" resultType="com.platform.dao.vo.query.custom.CustomFormVO">
+        select form.*
+        from t_custom_form as form
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 97 - 0
platform-dao/src/main/resources/mapper/workflow/WorkflowConditionSwitchMapper.xml

@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.workflow.WorkflowConditionSwitchMapper">
+    <sql id="Base_Column_List">
+        conditionSwitch
+        .
+        id
+        ,
+                                     conditionSwitch.created_user_id,
+                                     conditionSwitch.update_user_id,
+                                     conditionSwitch.created_time,
+                                     conditionSwitch.update_time,
+                                     conditionSwitch.created_user_name,
+                                     conditionSwitch.update_user_name,
+                                     conditionSwitch.flow_id,
+                                     conditionSwitch.node_level,
+                                     conditionSwitch.node_sort,
+                                     conditionSwitch.switch_type,
+                                     conditionSwitch.class_name,
+                                     conditionSwitch.method_name
+    </sql>
+    <sql id="Ref_Column_List">
+        conditionSwitch
+        .
+        flow_id
+        ,
+                                     conditionSwitch.node_level,
+                                     conditionSwitch.node_sort,
+                                     conditionSwitch.switch_type,
+                                     conditionSwitch.class_name,
+                                     conditionSwitch.method_name
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and conditionSwitch.id = #{id}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and conditionSwitch.created_user_id = #{createdUserId}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and conditionSwitch.update_user_id = #{updateUserId}
+        </if>
+        <if test="createdTimeStart != null">
+            and conditionSwitch.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and conditionSwitch.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and conditionSwitch.created_time = #{createdTime}
+        </if>
+        <if test="updateTimeStart != null">
+            and conditionSwitch.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and conditionSwitch.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and conditionSwitch.update_time = #{updateTime}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and conditionSwitch.created_user_name = #{createdUserName}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and conditionSwitch.update_user_name = #{updateUserName}
+        </if>
+        <if test="flowId != null and flowId != ''">
+            and conditionSwitch.flow_id = #{flowId}
+        </if>
+        <if test="nodeLevel != null">
+            and conditionSwitch.node_level = #{nodeLevel}
+        </if>
+        <if test="nodeSort != null">
+            and conditionSwitch.node_sort = #{nodeSort}
+        </if>
+        <if test="switchType != null and switchType != ''">
+            and conditionSwitch.switch_type = #{switchType}
+        </if>
+        <if test="className != null and className != ''">
+            and conditionSwitch.class_name = #{className}
+        </if>
+        <if test="methodName != null and methodName != ''">
+            and conditionSwitch.method_name = #{methodName}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and conditionSwitch.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.workflow.WorkflowConditionSwitchDTO"
+            resultType="com.platform.dao.vo.query.workflow.WorkflowConditionSwitchVO">
+        select conditionSwitch.*
+        from t_workflow_condition_switch as conditionSwitch
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 82 - 0
platform-dao/src/main/resources/mapper/workflow/WorkflowMapper.xml

@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.workflow.WorkflowMapper">
+    <sql id="Base_Column_List">
+        workflow
+        .
+        id
+        ,
+                                     workflow.created_user_id,
+                                     workflow.update_user_id,
+                                     workflow.created_time,
+                                     workflow.update_time,
+                                     workflow.created_user_name,
+                                     workflow.update_user_name,
+                                     workflow.name,
+                                     workflow.total_node,
+                                     workflow.level_node
+    </sql>
+    <sql id="Ref_Column_List">
+        workflow
+        .
+        name
+        ,
+                                     workflow.total_node,
+                                     workflow.level_node
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and workflow.id = #{id}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and workflow.created_user_id = #{createdUserId}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and workflow.update_user_id = #{updateUserId}
+        </if>
+        <if test="createdTimeStart != null">
+            and workflow.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and workflow.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and workflow.created_time = #{createdTime}
+        </if>
+        <if test="updateTimeStart != null">
+            and workflow.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and workflow.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and workflow.update_time = #{updateTime}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and workflow.created_user_name = #{createdUserName}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and workflow.update_user_name = #{updateUserName}
+        </if>
+        <if test="name != null and name != ''">
+            and workflow.name = #{name}
+        </if>
+        <if test="totalNode != null">
+            and workflow.total_node = #{totalNode}
+        </if>
+        <if test="levelNode != null">
+            and workflow.level_node = #{levelNode}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and workflow.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.workflow.WorkflowDTO"
+            resultType="com.platform.dao.vo.query.workflow.WorkflowVO">
+        select workflow.*
+        from t_workflow as workflow
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 82 - 0
platform-dao/src/main/resources/mapper/workflow/WorkflowTaskBomFieldMapper.xml

@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.workflow.WorkflowTaskBomFieldMapper">
+    <sql id="Base_Column_List">
+        field
+        .
+        id
+        ,
+                                     field.created_user_id,
+                                     field.update_user_id,
+                                     field.created_time,
+                                     field.update_time,
+                                     field.created_user_name,
+                                     field.update_user_name,
+                                     field.name,
+                                     field.filed_name,
+                                     field.task_record_id
+    </sql>
+    <sql id="Ref_Column_List">
+        field
+        .
+        name
+        ,
+                                     field.filed_name,
+                                     field.task_record_id
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and field.id = #{id}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and field.created_user_id = #{createdUserId}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and field.update_user_id = #{updateUserId}
+        </if>
+        <if test="createdTimeStart != null">
+            and field.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and field.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and field.created_time = #{createdTime}
+        </if>
+        <if test="updateTimeStart != null">
+            and field.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and field.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and field.update_time = #{updateTime}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and field.created_user_name = #{createdUserName}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and field.update_user_name = #{updateUserName}
+        </if>
+        <if test="name != null and name != ''">
+            and field.name = #{name}
+        </if>
+        <if test="filedName != null and filedName != ''">
+            and field.filed_name = #{filedName}
+        </if>
+        <if test="taskRecordId != null and taskRecordId != ''">
+            and field.task_record_id = #{taskRecordId}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and field.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.workflow.WorkflowTaskBomFieldDTO"
+            resultType="com.platform.dao.vo.query.workflow.WorkflowTaskBomFieldVO">
+        select field.*
+        from t_workflow_task_bom_field as field
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 122 - 0
platform-dao/src/main/resources/mapper/workflow/WorkflowTaskBomMapper.xml

@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.workflow.WorkflowTaskBomMapper">
+    <sql id="Base_Column_List">
+        bom
+        .
+        id
+        ,
+                                     bom.created_user_id,
+                                     bom.update_user_id,
+                                     bom.created_time,
+                                     bom.update_time,
+                                     bom.created_user_name,
+                                     bom.update_user_name,
+                                     bom.task_id,
+                                     bom.cdefine1,
+                                     bom.cdefine2,
+                                     bom.cdefine3,
+                                     bom.cdefine4,
+                                     bom.cdefine5,
+                                     bom.cdefine6,
+                                     bom.cdefine7,
+                                     bom.cdefine8,
+                                     bom.cdefine9,
+                                     bom.cdefine10
+    </sql>
+    <sql id="Ref_Column_List">
+        bom
+        .
+        task_id
+        ,
+                                     bom.cdefine1,
+                                     bom.cdefine2,
+                                     bom.cdefine3,
+                                     bom.cdefine4,
+                                     bom.cdefine5,
+                                     bom.cdefine6,
+                                     bom.cdefine7,
+                                     bom.cdefine8,
+                                     bom.cdefine9,
+                                     bom.cdefine10
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and bom.id = #{id}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and bom.created_user_id = #{createdUserId}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and bom.update_user_id = #{updateUserId}
+        </if>
+        <if test="createdTimeStart != null">
+            and bom.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and bom.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and bom.created_time = #{createdTime}
+        </if>
+        <if test="updateTimeStart != null">
+            and bom.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and bom.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and bom.update_time = #{updateTime}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and bom.created_user_name = #{createdUserName}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and bom.update_user_name = #{updateUserName}
+        </if>
+        <if test="taskId != null and taskId != ''">
+            and bom.task_id = #{taskId}
+        </if>
+        <if test="cdefine1 != null and cdefine1 != ''">
+            and bom.cdefine1 = #{cdefine1}
+        </if>
+        <if test="cdefine2 != null and cdefine2 != ''">
+            and bom.cdefine2 = #{cdefine2}
+        </if>
+        <if test="cdefine3 != null and cdefine3 != ''">
+            and bom.cdefine3 = #{cdefine3}
+        </if>
+        <if test="cdefine4 != null and cdefine4 != ''">
+            and bom.cdefine4 = #{cdefine4}
+        </if>
+        <if test="cdefine5 != null and cdefine5 != ''">
+            and bom.cdefine5 = #{cdefine5}
+        </if>
+        <if test="cdefine6 != null and cdefine6 != ''">
+            and bom.cdefine6 = #{cdefine6}
+        </if>
+        <if test="cdefine7 != null and cdefine7 != ''">
+            and bom.cdefine7 = #{cdefine7}
+        </if>
+        <if test="cdefine8 != null and cdefine8 != ''">
+            and bom.cdefine8 = #{cdefine8}
+        </if>
+        <if test="cdefine9 != null and cdefine9 != ''">
+            and bom.cdefine9 = #{cdefine9}
+        </if>
+        <if test="cdefine10 != null and cdefine10 != ''">
+            and bom.cdefine10 = #{cdefine10}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and bom.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.workflow.WorkflowTaskBomDTO"
+            resultType="com.platform.dao.vo.query.workflow.WorkflowTaskBomVO">
+        select bom.*
+        from t_workflow_task_bom as bom
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 113 - 0
platform-dao/src/main/resources/mapper/workflow/WorkflowTaskMapper.xml

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.workflow.WorkflowTaskMapper">
+    <sql id="Base_Column_List">
+        task
+        .
+        id
+        ,
+                                     task.created_user_id,
+                                     task.update_user_id,
+                                     task.created_time,
+                                     task.update_time,
+                                     task.created_user_name,
+                                     task.update_user_name,
+                                     task.flow_id,
+                                     task.form_data_id,
+                                     task.node_level,
+                                     task.node_sort,
+                                     task.status,
+                                     task.user_id,
+                                     task.user_name,
+                                     task.handle_time
+    </sql>
+    <sql id="Ref_Column_List">
+        task
+        .
+        flow_id
+        ,
+                                     task.form_data_id,
+                                     task.node_level,
+                                     task.node_sort,
+                                     task.status,
+                                     task.user_id,
+                                     task.user_name,
+                                     task.handle_time
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and task.id = #{id}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and task.created_user_id = #{createdUserId}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and task.update_user_id = #{updateUserId}
+        </if>
+        <if test="createdTimeStart != null">
+            and task.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and task.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and task.created_time = #{createdTime}
+        </if>
+        <if test="updateTimeStart != null">
+            and task.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and task.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and task.update_time = #{updateTime}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and task.created_user_name = #{createdUserName}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and task.update_user_name = #{updateUserName}
+        </if>
+        <if test="flowId != null and flowId != ''">
+            and task.flow_id = #{flowId}
+        </if>
+        <if test="formDataId != null and formDataId != ''">
+            and task.form_data_id = #{formDataId}
+        </if>
+        <if test="nodeLevel != null">
+            and task.node_level = #{nodeLevel}
+        </if>
+        <if test="nodeSort != null">
+            and task.node_sort = #{nodeSort}
+        </if>
+        <if test="status != null">
+            and task.status = #{status}
+        </if>
+        <if test="userId != null and userId != ''">
+            and task.user_id = #{userId}
+        </if>
+        <if test="userName != null and userName != ''">
+            and task.user_name = #{userName}
+        </if>
+        <if test="handleTimeStart != null">
+            and task.handle_time <![CDATA[>=]]>; #{handleTimeStart}
+        </if>
+        <if test="handleTimeEnd != null">
+            and task.handle_time <![CDATA[<=]]> #{handleTimeEnd}
+        </if>
+        <if test="handleTime != null">
+            and task.handle_time = #{handleTime}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and task.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.workflow.WorkflowTaskDTO"
+            resultType="com.platform.dao.vo.query.workflow.WorkflowTaskVO">
+        select task.*
+        from t_workflow_task as task
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 97 - 0
platform-dao/src/main/resources/mapper/workflow/WorkflowVerifyUserMapper.xml

@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.platform.dao.mapper.workflow.WorkflowVerifyUserMapper">
+    <sql id="Base_Column_List">
+        verifyUser
+        .
+        id
+        ,
+                                     verifyUser.created_user_id,
+                                     verifyUser.update_user_id,
+                                     verifyUser.created_time,
+                                     verifyUser.update_time,
+                                     verifyUser.created_user_name,
+                                     verifyUser.update_user_name,
+                                     verifyUser.flow_id,
+                                     verifyUser.type,
+                                     verifyUser.node_level,
+                                     verifyUser.node_sort,
+                                     verifyUser.user_id,
+                                     verifyUser.user_name
+    </sql>
+    <sql id="Ref_Column_List">
+        verifyUser
+        .
+        flow_id
+        ,
+                                     verifyUser.type,
+                                     verifyUser.node_level,
+                                     verifyUser.node_sort,
+                                     verifyUser.user_id,
+                                     verifyUser.user_name
+    </sql>
+    <sql id="List_Condition">
+        <if test="id != null and id != ''">
+            and verifyUser.id = #{id}
+        </if>
+        <if test="createdUserId != null and createdUserId != ''">
+            and verifyUser.created_user_id = #{createdUserId}
+        </if>
+        <if test="updateUserId != null and updateUserId != ''">
+            and verifyUser.update_user_id = #{updateUserId}
+        </if>
+        <if test="createdTimeStart != null">
+            and verifyUser.created_time <![CDATA[>=]]>; #{createdTimeStart}
+        </if>
+        <if test="createdTimeEnd != null">
+            and verifyUser.created_time <![CDATA[<=]]> #{createdTimeEnd}
+        </if>
+        <if test="createdTime != null">
+            and verifyUser.created_time = #{createdTime}
+        </if>
+        <if test="updateTimeStart != null">
+            and verifyUser.update_time <![CDATA[>=]]>; #{updateTimeStart}
+        </if>
+        <if test="updateTimeEnd != null">
+            and verifyUser.update_time <![CDATA[<=]]> #{updateTimeEnd}
+        </if>
+        <if test="updateTime != null">
+            and verifyUser.update_time = #{updateTime}
+        </if>
+        <if test="createdUserName != null and createdUserName != ''">
+            and verifyUser.created_user_name = #{createdUserName}
+        </if>
+        <if test="updateUserName != null and updateUserName != ''">
+            and verifyUser.update_user_name = #{updateUserName}
+        </if>
+        <if test="flowId != null and flowId != ''">
+            and verifyUser.flow_id = #{flowId}
+        </if>
+        <if test="type != null">
+            and verifyUser.type = #{type}
+        </if>
+        <if test="nodeLevel != null">
+            and verifyUser.node_level = #{nodeLevel}
+        </if>
+        <if test="nodeSort != null">
+            and verifyUser.node_sort = #{nodeSort}
+        </if>
+        <if test="userId != null and userId != ''">
+            and verifyUser.user_id = #{userId}
+        </if>
+        <if test="userName != null and userName != ''">
+            and verifyUser.user_name = #{userName}
+        </if>
+        <if test="keyword != null and keyword != ''">
+            and verifyUser.id like concat(concat('%',#{keyword}),'%')
+        </if>
+    </sql>
+    <select id="selectList" parameterType="com.platform.dao.dto.workflow.WorkflowVerifyUserDTO"
+            resultType="com.platform.dao.vo.query.workflow.WorkflowVerifyUserVO">
+        select verifyUser.*
+        from t_workflow_verify_user as verifyUser
+        <where>
+            <include refid="List_Condition"/>
+        </where>
+    </select>
+</mapper>

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormBomController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.custom;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.custom.CustomFormBomDTO;
+import com.platform.dao.entity.custom.CustomFormBom;
+import com.platform.service.custom.CustomFormBomService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.custom.ExportCustomFormBomVO;
+import com.platform.dao.vo.query.custom.CustomFormBomVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 自定义表单数据查询bom表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/custom/bom")
+public class CustomFormBomController {
+
+    private final CustomFormBomService customFormBomService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<CustomFormBom> getById(@PathVariable("id") String id) {
+        return new R<>(customFormBomService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param customFormBomDTO 自定义表单数据查询bom表DTO
+     * @return R
+     */
+    @SysLog("新增自定义表单数据查询bom表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('custom-bom-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody CustomFormBomDTO customFormBomDTO) {
+        return new R<>(customFormBomService.saveModelByDTO(customFormBomDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param customFormBomDTO 自定义表单数据查询bom表DTO
+     * @return R
+     */
+    @SysLog("修改自定义表单数据查询bom表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-bom-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody CustomFormBomDTO customFormBomDTO) {
+        customFormBomService.modModelByDTO(customFormBomDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除自定义表单数据查询bom表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-bom-del')")
+    public R removeById(@PathVariable String id) {
+        customFormBomService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除自定义表单数据查询bom表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('custom-bom-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        customFormBomService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum          当前页码
+     * @param pageSize         每页条数
+     * @param customFormBomDTO 自定义表单数据查询bom表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<CustomFormBomVO>> query(CustomFormBomDTO customFormBomDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(customFormBomService.selectPageList(customFormBomDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param customFormBomDTO 自定义表单数据查询bom表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(CustomFormBomDTO customFormBomDTO) {
+        return new R<>(customFormBomService.getModelListByDTO(customFormBomDTO));
+    }
+
+    /**
+     * 自定义表单数据查询bom表导出
+     *
+     * @param customFormBomDTO 自定义表单数据查询bom表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("自定义表单数据查询bom表导出")
+    @PreAuthorize("@pms.hasPermission('custom-bom-export')")
+    public void export(HttpServletResponse response, CustomFormBomDTO customFormBomDTO) {
+        List<CustomFormBom> list = customFormBomService.getModelListByDTO(customFormBomDTO);
+        ExcelUtil.exportResponseDict(response, ExportCustomFormBomVO.class, BeanConverterUtil.copyListProperties(list, ExportCustomFormBomVO.class), "自定义表单数据查询bom表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormBomFieldController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.custom;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.custom.CustomFormBomFieldDTO;
+import com.platform.dao.entity.custom.CustomFormBomField;
+import com.platform.service.custom.CustomFormBomFieldService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.custom.ExportCustomFormBomFieldVO;
+import com.platform.dao.vo.query.custom.CustomFormBomFieldVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 查询bom字段命名表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/custom/field")
+public class CustomFormBomFieldController {
+
+    private final CustomFormBomFieldService customFormBomFieldService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<CustomFormBomField> getById(@PathVariable("id") String id) {
+        return new R<>(customFormBomFieldService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param customFormBomFieldDTO 查询bom字段命名表DTO
+     * @return R
+     */
+    @SysLog("新增查询bom字段命名表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('custom-field-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody CustomFormBomFieldDTO customFormBomFieldDTO) {
+        return new R<>(customFormBomFieldService.saveModelByDTO(customFormBomFieldDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param customFormBomFieldDTO 查询bom字段命名表DTO
+     * @return R
+     */
+    @SysLog("修改查询bom字段命名表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-field-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody CustomFormBomFieldDTO customFormBomFieldDTO) {
+        customFormBomFieldService.modModelByDTO(customFormBomFieldDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除查询bom字段命名表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-field-del')")
+    public R removeById(@PathVariable String id) {
+        customFormBomFieldService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除查询bom字段命名表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('custom-field-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        customFormBomFieldService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum               当前页码
+     * @param pageSize              每页条数
+     * @param customFormBomFieldDTO 查询bom字段命名表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<CustomFormBomFieldVO>> query(CustomFormBomFieldDTO customFormBomFieldDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(customFormBomFieldService.selectPageList(customFormBomFieldDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param customFormBomFieldDTO 查询bom字段命名表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(CustomFormBomFieldDTO customFormBomFieldDTO) {
+        return new R<>(customFormBomFieldService.getModelListByDTO(customFormBomFieldDTO));
+    }
+
+    /**
+     * 查询bom字段命名表导出
+     *
+     * @param customFormBomFieldDTO 查询bom字段命名表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("查询bom字段命名表导出")
+    @PreAuthorize("@pms.hasPermission('custom-field-export')")
+    public void export(HttpServletResponse response, CustomFormBomFieldDTO customFormBomFieldDTO) {
+        List<CustomFormBomField> list = customFormBomFieldService.getModelListByDTO(customFormBomFieldDTO);
+        ExcelUtil.exportResponseDict(response, ExportCustomFormBomFieldVO.class, BeanConverterUtil.copyListProperties(list, ExportCustomFormBomFieldVO.class), "查询bom字段命名表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.custom;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.custom.CustomFormDTO;
+import com.platform.dao.entity.custom.CustomForm;
+import com.platform.service.custom.CustomFormService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.custom.ExportCustomFormVO;
+import com.platform.dao.vo.query.custom.CustomFormVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 自定义表单表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/custom/form")
+public class CustomFormController {
+
+    private final CustomFormService customFormService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<CustomForm> getById(@PathVariable("id") String id) {
+        return new R<>(customFormService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param customFormDTO 自定义表单表DTO
+     * @return R
+     */
+    @SysLog("新增自定义表单表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('custom-form-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody CustomFormDTO customFormDTO) {
+        return new R<>(customFormService.saveModelByDTO(customFormDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param customFormDTO 自定义表单表DTO
+     * @return R
+     */
+    @SysLog("修改自定义表单表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-form-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody CustomFormDTO customFormDTO) {
+        customFormService.modModelByDTO(customFormDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除自定义表单表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-form-del')")
+    public R removeById(@PathVariable String id) {
+        customFormService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除自定义表单表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('custom-form-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        customFormService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum       当前页码
+     * @param pageSize      每页条数
+     * @param customFormDTO 自定义表单表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<CustomFormVO>> query(CustomFormDTO customFormDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(customFormService.selectPageList(customFormDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param customFormDTO 自定义表单表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(CustomFormDTO customFormDTO) {
+        return new R<>(customFormService.getModelListByDTO(customFormDTO));
+    }
+
+    /**
+     * 自定义表单表导出
+     *
+     * @param customFormDTO 自定义表单表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("自定义表单表导出")
+    @PreAuthorize("@pms.hasPermission('custom-form-export')")
+    public void export(HttpServletResponse response, CustomFormDTO customFormDTO) {
+        List<CustomForm> list = customFormService.getModelListByDTO(customFormDTO);
+        ExcelUtil.exportResponseDict(response, ExportCustomFormVO.class, BeanConverterUtil.copyListProperties(list, ExportCustomFormVO.class), "自定义表单表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormDataController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.custom;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.custom.CustomFormDataDTO;
+import com.platform.dao.entity.custom.CustomFormData;
+import com.platform.service.custom.CustomFormDataService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.custom.ExportCustomFormDataVO;
+import com.platform.dao.vo.query.custom.CustomFormDataVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 自定义表单数据表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/custom/data")
+public class CustomFormDataController {
+
+    private final CustomFormDataService customFormDataService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<CustomFormData> getById(@PathVariable("id") String id) {
+        return new R<>(customFormDataService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param customFormDataDTO 自定义表单数据表DTO
+     * @return R
+     */
+    @SysLog("新增自定义表单数据表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('custom-data-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody CustomFormDataDTO customFormDataDTO) {
+        return new R<>(customFormDataService.saveModelByDTO(customFormDataDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param customFormDataDTO 自定义表单数据表DTO
+     * @return R
+     */
+    @SysLog("修改自定义表单数据表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-data-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody CustomFormDataDTO customFormDataDTO) {
+        customFormDataService.modModelByDTO(customFormDataDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除自定义表单数据表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('custom-data-del')")
+    public R removeById(@PathVariable String id) {
+        customFormDataService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除自定义表单数据表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('custom-data-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        customFormDataService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum           当前页码
+     * @param pageSize          每页条数
+     * @param customFormDataDTO 自定义表单数据表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<CustomFormDataVO>> query(CustomFormDataDTO customFormDataDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(customFormDataService.selectPageList(customFormDataDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param customFormDataDTO 自定义表单数据表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(CustomFormDataDTO customFormDataDTO) {
+        return new R<>(customFormDataService.getModelListByDTO(customFormDataDTO));
+    }
+
+    /**
+     * 自定义表单数据表导出
+     *
+     * @param customFormDataDTO 自定义表单数据表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("自定义表单数据表导出")
+    @PreAuthorize("@pms.hasPermission('custom-data-export')")
+    public void export(HttpServletResponse response, CustomFormDataDTO customFormDataDTO) {
+        List<CustomFormData> list = customFormDataService.getModelListByDTO(customFormDataDTO);
+        ExcelUtil.exportResponseDict(response, ExportCustomFormDataVO.class, BeanConverterUtil.copyListProperties(list, ExportCustomFormDataVO.class), "自定义表单数据表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowConditionSwitchController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.workflow;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.workflow.WorkflowConditionSwitchDTO;
+import com.platform.dao.entity.workflow.WorkflowConditionSwitch;
+import com.platform.service.workflow.WorkflowConditionSwitchService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.workflow.ExportWorkflowConditionSwitchVO;
+import com.platform.dao.vo.query.workflow.WorkflowConditionSwitchVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 流程审核条件分支表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/workflow/condition-switch")
+public class WorkflowConditionSwitchController {
+
+    private final WorkflowConditionSwitchService workflowConditionSwitchService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<WorkflowConditionSwitch> getById(@PathVariable("id") String id) {
+        return new R<>(workflowConditionSwitchService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param workflowConditionSwitchDTO 流程审核条件分支表DTO
+     * @return R
+     */
+    @SysLog("新增流程审核条件分支表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('workflow-condition-switch-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody WorkflowConditionSwitchDTO workflowConditionSwitchDTO) {
+        return new R<>(workflowConditionSwitchService.saveModelByDTO(workflowConditionSwitchDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param workflowConditionSwitchDTO 流程审核条件分支表DTO
+     * @return R
+     */
+    @SysLog("修改流程审核条件分支表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-condition-switch-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody WorkflowConditionSwitchDTO workflowConditionSwitchDTO) {
+        workflowConditionSwitchService.modModelByDTO(workflowConditionSwitchDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除流程审核条件分支表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-condition-switch-del')")
+    public R removeById(@PathVariable String id) {
+        workflowConditionSwitchService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除流程审核条件分支表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('workflow-condition-switch-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        workflowConditionSwitchService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum                    当前页码
+     * @param pageSize                   每页条数
+     * @param workflowConditionSwitchDTO 流程审核条件分支表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<WorkflowConditionSwitchVO>> query(WorkflowConditionSwitchDTO workflowConditionSwitchDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(workflowConditionSwitchService.selectPageList(workflowConditionSwitchDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param workflowConditionSwitchDTO 流程审核条件分支表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(WorkflowConditionSwitchDTO workflowConditionSwitchDTO) {
+        return new R<>(workflowConditionSwitchService.getModelListByDTO(workflowConditionSwitchDTO));
+    }
+
+    /**
+     * 流程审核条件分支表导出
+     *
+     * @param workflowConditionSwitchDTO 流程审核条件分支表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("流程审核条件分支表导出")
+    @PreAuthorize("@pms.hasPermission('workflow-condition-switch-export')")
+    public void export(HttpServletResponse response, WorkflowConditionSwitchDTO workflowConditionSwitchDTO) {
+        List<WorkflowConditionSwitch> list = workflowConditionSwitchService.getModelListByDTO(workflowConditionSwitchDTO);
+        ExcelUtil.exportResponseDict(response, ExportWorkflowConditionSwitchVO.class, BeanConverterUtil.copyListProperties(list, ExportWorkflowConditionSwitchVO.class), "流程审核条件分支表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.workflow;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.workflow.WorkflowDTO;
+import com.platform.dao.entity.workflow.Workflow;
+import com.platform.service.workflow.WorkflowService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.workflow.ExportWorkflowVO;
+import com.platform.dao.vo.query.workflow.WorkflowVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 流程表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/workflow/workflow")
+public class WorkflowController {
+
+    private final WorkflowService workflowService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<Workflow> getById(@PathVariable("id") String id) {
+        return new R<>(workflowService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param workflowDTO 流程表DTO
+     * @return R
+     */
+    @SysLog("新增流程表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('workflow-workflow-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody WorkflowDTO workflowDTO) {
+        return new R<>(workflowService.saveModelByDTO(workflowDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param workflowDTO 流程表DTO
+     * @return R
+     */
+    @SysLog("修改流程表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-workflow-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody WorkflowDTO workflowDTO) {
+        workflowService.modModelByDTO(workflowDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除流程表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-workflow-del')")
+    public R removeById(@PathVariable String id) {
+        workflowService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除流程表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('workflow-workflow-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        workflowService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum     当前页码
+     * @param pageSize    每页条数
+     * @param workflowDTO 流程表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<WorkflowVO>> query(WorkflowDTO workflowDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(workflowService.selectPageList(workflowDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param workflowDTO 流程表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(WorkflowDTO workflowDTO) {
+        return new R<>(workflowService.getModelListByDTO(workflowDTO));
+    }
+
+    /**
+     * 流程表导出
+     *
+     * @param workflowDTO 流程表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("流程表导出")
+    @PreAuthorize("@pms.hasPermission('workflow-workflow-export')")
+    public void export(HttpServletResponse response, WorkflowDTO workflowDTO) {
+        List<Workflow> list = workflowService.getModelListByDTO(workflowDTO);
+        ExcelUtil.exportResponseDict(response, ExportWorkflowVO.class, BeanConverterUtil.copyListProperties(list, ExportWorkflowVO.class), "流程表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowTaskBomController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.workflow;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.workflow.WorkflowTaskBomDTO;
+import com.platform.dao.entity.workflow.WorkflowTaskBom;
+import com.platform.service.workflow.WorkflowTaskBomService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.workflow.ExportWorkflowTaskBomVO;
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 流程任务审核字段显示表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/workflow/bom")
+public class WorkflowTaskBomController {
+
+    private final WorkflowTaskBomService workflowTaskBomService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<WorkflowTaskBom> getById(@PathVariable("id") String id) {
+        return new R<>(workflowTaskBomService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param workflowTaskBomDTO 流程任务审核字段显示表DTO
+     * @return R
+     */
+    @SysLog("新增流程任务审核字段显示表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('workflow-bom-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody WorkflowTaskBomDTO workflowTaskBomDTO) {
+        return new R<>(workflowTaskBomService.saveModelByDTO(workflowTaskBomDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param workflowTaskBomDTO 流程任务审核字段显示表DTO
+     * @return R
+     */
+    @SysLog("修改流程任务审核字段显示表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-bom-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody WorkflowTaskBomDTO workflowTaskBomDTO) {
+        workflowTaskBomService.modModelByDTO(workflowTaskBomDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除流程任务审核字段显示表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-bom-del')")
+    public R removeById(@PathVariable String id) {
+        workflowTaskBomService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除流程任务审核字段显示表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('workflow-bom-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        workflowTaskBomService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum            当前页码
+     * @param pageSize           每页条数
+     * @param workflowTaskBomDTO 流程任务审核字段显示表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<WorkflowTaskBomVO>> query(WorkflowTaskBomDTO workflowTaskBomDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(workflowTaskBomService.selectPageList(workflowTaskBomDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param workflowTaskBomDTO 流程任务审核字段显示表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(WorkflowTaskBomDTO workflowTaskBomDTO) {
+        return new R<>(workflowTaskBomService.getModelListByDTO(workflowTaskBomDTO));
+    }
+
+    /**
+     * 流程任务审核字段显示表导出
+     *
+     * @param workflowTaskBomDTO 流程任务审核字段显示表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("流程任务审核字段显示表导出")
+    @PreAuthorize("@pms.hasPermission('workflow-bom-export')")
+    public void export(HttpServletResponse response, WorkflowTaskBomDTO workflowTaskBomDTO) {
+        List<WorkflowTaskBom> list = workflowTaskBomService.getModelListByDTO(workflowTaskBomDTO);
+        ExcelUtil.exportResponseDict(response, ExportWorkflowTaskBomVO.class, BeanConverterUtil.copyListProperties(list, ExportWorkflowTaskBomVO.class), "流程任务审核字段显示表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowTaskBomFieldController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.workflow;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.workflow.WorkflowTaskBomFieldDTO;
+import com.platform.dao.entity.workflow.WorkflowTaskBomField;
+import com.platform.service.workflow.WorkflowTaskBomFieldService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.workflow.ExportWorkflowTaskBomFieldVO;
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomFieldVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 流程审核显示字段命名表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/workflow/field")
+public class WorkflowTaskBomFieldController {
+
+    private final WorkflowTaskBomFieldService workflowTaskBomFieldService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<WorkflowTaskBomField> getById(@PathVariable("id") String id) {
+        return new R<>(workflowTaskBomFieldService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param workflowTaskBomFieldDTO 流程审核显示字段命名表DTO
+     * @return R
+     */
+    @SysLog("新增流程审核显示字段命名表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('workflow-field-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody WorkflowTaskBomFieldDTO workflowTaskBomFieldDTO) {
+        return new R<>(workflowTaskBomFieldService.saveModelByDTO(workflowTaskBomFieldDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param workflowTaskBomFieldDTO 流程审核显示字段命名表DTO
+     * @return R
+     */
+    @SysLog("修改流程审核显示字段命名表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-field-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody WorkflowTaskBomFieldDTO workflowTaskBomFieldDTO) {
+        workflowTaskBomFieldService.modModelByDTO(workflowTaskBomFieldDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除流程审核显示字段命名表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-field-del')")
+    public R removeById(@PathVariable String id) {
+        workflowTaskBomFieldService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除流程审核显示字段命名表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('workflow-field-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        workflowTaskBomFieldService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum                 当前页码
+     * @param pageSize                每页条数
+     * @param workflowTaskBomFieldDTO 流程审核显示字段命名表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<WorkflowTaskBomFieldVO>> query(WorkflowTaskBomFieldDTO workflowTaskBomFieldDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(workflowTaskBomFieldService.selectPageList(workflowTaskBomFieldDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param workflowTaskBomFieldDTO 流程审核显示字段命名表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(WorkflowTaskBomFieldDTO workflowTaskBomFieldDTO) {
+        return new R<>(workflowTaskBomFieldService.getModelListByDTO(workflowTaskBomFieldDTO));
+    }
+
+    /**
+     * 流程审核显示字段命名表导出
+     *
+     * @param workflowTaskBomFieldDTO 流程审核显示字段命名表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("流程审核显示字段命名表导出")
+    @PreAuthorize("@pms.hasPermission('workflow-field-export')")
+    public void export(HttpServletResponse response, WorkflowTaskBomFieldDTO workflowTaskBomFieldDTO) {
+        List<WorkflowTaskBomField> list = workflowTaskBomFieldService.getModelListByDTO(workflowTaskBomFieldDTO);
+        ExcelUtil.exportResponseDict(response, ExportWorkflowTaskBomFieldVO.class, BeanConverterUtil.copyListProperties(list, ExportWorkflowTaskBomFieldVO.class), "流程审核显示字段命名表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowTaskController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.workflow;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.workflow.WorkflowTaskDTO;
+import com.platform.dao.entity.workflow.WorkflowTask;
+import com.platform.service.workflow.WorkflowTaskService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.workflow.ExportWorkflowTaskVO;
+import com.platform.dao.vo.query.workflow.WorkflowTaskVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 流程任务表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/workflow/task")
+public class WorkflowTaskController {
+
+    private final WorkflowTaskService workflowTaskService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<WorkflowTask> getById(@PathVariable("id") String id) {
+        return new R<>(workflowTaskService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param workflowTaskDTO 流程任务表DTO
+     * @return R
+     */
+    @SysLog("新增流程任务表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('workflow-task-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody WorkflowTaskDTO workflowTaskDTO) {
+        return new R<>(workflowTaskService.saveModelByDTO(workflowTaskDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param workflowTaskDTO 流程任务表DTO
+     * @return R
+     */
+    @SysLog("修改流程任务表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-task-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody WorkflowTaskDTO workflowTaskDTO) {
+        workflowTaskService.modModelByDTO(workflowTaskDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除流程任务表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-task-del')")
+    public R removeById(@PathVariable String id) {
+        workflowTaskService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除流程任务表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('workflow-task-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        workflowTaskService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum         当前页码
+     * @param pageSize        每页条数
+     * @param workflowTaskDTO 流程任务表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<WorkflowTaskVO>> query(WorkflowTaskDTO workflowTaskDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(workflowTaskService.selectPageList(workflowTaskDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param workflowTaskDTO 流程任务表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(WorkflowTaskDTO workflowTaskDTO) {
+        return new R<>(workflowTaskService.getModelListByDTO(workflowTaskDTO));
+    }
+
+    /**
+     * 流程任务表导出
+     *
+     * @param workflowTaskDTO 流程任务表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("流程任务表导出")
+    @PreAuthorize("@pms.hasPermission('workflow-task-export')")
+    public void export(HttpServletResponse response, WorkflowTaskDTO workflowTaskDTO) {
+        List<WorkflowTask> list = workflowTaskService.getModelListByDTO(workflowTaskDTO);
+        ExcelUtil.exportResponseDict(response, ExportWorkflowTaskVO.class, BeanConverterUtil.copyListProperties(list, ExportWorkflowTaskVO.class), "流程任务表");
+    }
+
+}

+ 141 - 0
platform-rest/src/main/java/com/platform/rest/controller/workflow/WorkflowVerifyUserController.java

@@ -0,0 +1,141 @@
+package com.platform.rest.controller.workflow;
+
+import com.platform.common.util.R;
+import com.platform.dao.dto.workflow.WorkflowVerifyUserDTO;
+import com.platform.dao.entity.workflow.WorkflowVerifyUser;
+import com.platform.service.workflow.WorkflowVerifyUserService;
+import com.platform.dao.util.ExcelUtil;
+import com.platform.dao.vo.export.workflow.ExportWorkflowVerifyUserVO;
+import com.platform.dao.vo.query.workflow.WorkflowVerifyUserVO;
+import com.platform.common.util.BeanConverterUtil;
+import com.platform.common.validation.group.AddGroup;
+import com.platform.common.validation.group.UpdateGroup;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import lombok.AllArgsConstructor;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.rest.log.annotation.SysLog;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Description 流程审核人员表 控制器
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/workflow/verify-user")
+public class WorkflowVerifyUserController {
+
+    private final WorkflowVerifyUserService workflowVerifyUserService;
+
+    /**
+     * 通过id查询单条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @GetMapping("/{id}")
+    public R<WorkflowVerifyUser> getById(@PathVariable("id") String id) {
+        return new R<>(workflowVerifyUserService.getModelById(id));
+    }
+
+    /**
+     * 新增记录
+     *
+     * @param workflowVerifyUserDTO 流程审核人员表DTO
+     * @return R
+     */
+    @SysLog("新增流程审核人员表")
+    @PostMapping
+    @PreAuthorize("@pms.hasPermission('workflow-verify-user-add')")
+    public R save(@Validated({AddGroup.class}) @RequestBody WorkflowVerifyUserDTO workflowVerifyUserDTO) {
+        return new R<>(workflowVerifyUserService.saveModelByDTO(workflowVerifyUserDTO));
+    }
+
+    /**
+     * 修改记录
+     *
+     * @param workflowVerifyUserDTO 流程审核人员表DTO
+     * @return R
+     */
+    @SysLog("修改流程审核人员表")
+    @PutMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-verify-user-edit')")
+    public R update(@PathVariable("id") String id, @Validated({UpdateGroup.class}) @RequestBody WorkflowVerifyUserDTO workflowVerifyUserDTO) {
+        workflowVerifyUserService.modModelByDTO(workflowVerifyUserDTO);
+        return new R<>();
+    }
+
+
+    /**
+     * 通过id删除一条记录
+     *
+     * @param id 主键
+     * @return R
+     */
+    @SysLog("删除流程审核人员表")
+    @DeleteMapping("/{id}")
+    @PreAuthorize("@pms.hasPermission('workflow-verify-user-del')")
+    public R removeById(@PathVariable String id) {
+        workflowVerifyUserService.deleteByPrimaryKey(id);
+        return new R<>();
+    }
+
+    /**
+     * 批量记录
+     *
+     * @param ids 主键
+     * @return R
+     */
+    @SysLog("批量删除流程审核人员表")
+    @DeleteMapping("")
+    @PreAuthorize("@pms.hasPermission('workflow-verify-user-del')")
+    public R removeIds(@RequestBody List<String> ids) {
+        workflowVerifyUserService.batchDelete(ids);
+        return new R<>();
+    }
+
+    /**
+     * 获取分页
+     *
+     * @param pageNum               当前页码
+     * @param pageSize              每页条数
+     * @param workflowVerifyUserDTO 流程审核人员表DTO
+     * @return R
+     */
+    @GetMapping("/page")
+    public R<AbstractPageResultBean<WorkflowVerifyUserVO>> query(WorkflowVerifyUserDTO workflowVerifyUserDTO, @RequestParam(defaultValue = "1") int pageNum, @RequestParam(defaultValue = "20") int pageSize) {
+        return new R<>(workflowVerifyUserService.selectPageList(workflowVerifyUserDTO, pageNum, pageSize));
+    }
+
+    /**
+     * 获取列表
+     *
+     * @param workflowVerifyUserDTO 流程审核人员表DTO
+     * @return R
+     */
+    @GetMapping("")
+    public R query(WorkflowVerifyUserDTO workflowVerifyUserDTO) {
+        return new R<>(workflowVerifyUserService.getModelListByDTO(workflowVerifyUserDTO));
+    }
+
+    /**
+     * 流程审核人员表导出
+     *
+     * @param workflowVerifyUserDTO 流程审核人员表DTO
+     * @return R
+     */
+    @GetMapping("/export")
+    @SysLog("流程审核人员表导出")
+    @PreAuthorize("@pms.hasPermission('workflow-verify-user-export')")
+    public void export(HttpServletResponse response, WorkflowVerifyUserDTO workflowVerifyUserDTO) {
+        List<WorkflowVerifyUser> list = workflowVerifyUserService.getModelListByDTO(workflowVerifyUserDTO);
+        ExcelUtil.exportResponseDict(response, ExportWorkflowVerifyUserVO.class, BeanConverterUtil.copyListProperties(list, ExportWorkflowVerifyUserVO.class), "流程审核人员表");
+    }
+
+}

+ 1 - 1
platform-rest/src/main/resources/application-dev.yml

@@ -1,6 +1,6 @@
 server:
   # 端口号
-  port: 5000
+  port: 5001
 
 security:
   oauth2:

+ 37 - 0
platform-service/src/main/java/com/platform/service/custom/CustomFormBomFieldService.java

@@ -0,0 +1,37 @@
+package com.platform.service.custom;
+
+import com.platform.dao.vo.query.custom.CustomFormBomFieldVO;
+import com.platform.dao.dto.custom.CustomFormBomFieldDTO;
+import com.platform.dao.entity.custom.CustomFormBomField;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 查询bom字段命名表 service
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface CustomFormBomFieldService extends IBaseService<CustomFormBomField, CustomFormBomFieldDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<CustomFormBomFieldVO> selectPageList(CustomFormBomFieldDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/custom/CustomFormBomService.java

@@ -0,0 +1,37 @@
+package com.platform.service.custom;
+
+import com.platform.dao.vo.query.custom.CustomFormBomVO;
+import com.platform.dao.dto.custom.CustomFormBomDTO;
+import com.platform.dao.entity.custom.CustomFormBom;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 自定义表单数据查询bom表 service
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface CustomFormBomService extends IBaseService<CustomFormBom, CustomFormBomDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<CustomFormBomVO> selectPageList(CustomFormBomDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/custom/CustomFormDataService.java

@@ -0,0 +1,37 @@
+package com.platform.service.custom;
+
+import com.platform.dao.vo.query.custom.CustomFormDataVO;
+import com.platform.dao.dto.custom.CustomFormDataDTO;
+import com.platform.dao.entity.custom.CustomFormData;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 自定义表单数据表 service
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface CustomFormDataService extends IBaseService<CustomFormData, CustomFormDataDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<CustomFormDataVO> selectPageList(CustomFormDataDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/custom/CustomFormService.java

@@ -0,0 +1,37 @@
+package com.platform.service.custom;
+
+import com.platform.dao.vo.query.custom.CustomFormVO;
+import com.platform.dao.dto.custom.CustomFormDTO;
+import com.platform.dao.entity.custom.CustomForm;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 自定义表单表 service
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface CustomFormService extends IBaseService<CustomForm, CustomFormDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<CustomFormVO> selectPageList(CustomFormDTO record, int pageNum, int pageSize);
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/custom/impl/CustomFormBomFieldServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.custom.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.custom.CustomFormBomFieldVO;
+import com.platform.dao.dto.custom.CustomFormBomFieldDTO;
+import com.platform.dao.entity.custom.CustomFormBomField;
+import com.platform.dao.mapper.custom.CustomFormBomFieldMapper;
+import com.platform.service.custom.CustomFormBomFieldService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 查询bom字段命名表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 16:59:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("customFormBomFieldService")
+public class CustomFormBomFieldServiceImpl extends BaseServiceImpl<CustomFormBomFieldMapper, CustomFormBomField, CustomFormBomFieldDTO> implements CustomFormBomFieldService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<CustomFormBomField> weekend = new Weekend<>(CustomFormBomField.class);
+        WeekendCriteria<CustomFormBomField, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(CustomFormBomField::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormBomFieldVO> selectPageList(CustomFormBomFieldDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormBomField> selectPageInfo(CustomFormBomFieldDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/custom/impl/CustomFormBomServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.custom.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.custom.CustomFormBomVO;
+import com.platform.dao.dto.custom.CustomFormBomDTO;
+import com.platform.dao.entity.custom.CustomFormBom;
+import com.platform.dao.mapper.custom.CustomFormBomMapper;
+import com.platform.service.custom.CustomFormBomService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 自定义表单数据查询bom表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 16:58:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("customFormBomService")
+public class CustomFormBomServiceImpl extends BaseServiceImpl<CustomFormBomMapper, CustomFormBom, CustomFormBomDTO> implements CustomFormBomService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<CustomFormBom> weekend = new Weekend<>(CustomFormBom.class);
+        WeekendCriteria<CustomFormBom, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(CustomFormBom::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormBomVO> selectPageList(CustomFormBomDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormBom> selectPageInfo(CustomFormBomDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/custom/impl/CustomFormDataServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.custom.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.custom.CustomFormDataVO;
+import com.platform.dao.dto.custom.CustomFormDataDTO;
+import com.platform.dao.entity.custom.CustomFormData;
+import com.platform.dao.mapper.custom.CustomFormDataMapper;
+import com.platform.service.custom.CustomFormDataService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 自定义表单数据表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 16:58:32
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("customFormDataService")
+public class CustomFormDataServiceImpl extends BaseServiceImpl<CustomFormDataMapper, CustomFormData, CustomFormDataDTO> implements CustomFormDataService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<CustomFormData> weekend = new Weekend<>(CustomFormData.class);
+        WeekendCriteria<CustomFormData, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(CustomFormData::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormDataVO> selectPageList(CustomFormDataDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormData> selectPageInfo(CustomFormDataDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/custom/impl/CustomFormServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.custom.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.custom.CustomFormVO;
+import com.platform.dao.dto.custom.CustomFormDTO;
+import com.platform.dao.entity.custom.CustomForm;
+import com.platform.dao.mapper.custom.CustomFormMapper;
+import com.platform.service.custom.CustomFormService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 自定义表单表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 16:57:57
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("customFormService")
+public class CustomFormServiceImpl extends BaseServiceImpl<CustomFormMapper, CustomForm, CustomFormDTO> implements CustomFormService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<CustomForm> weekend = new Weekend<>(CustomForm.class);
+        WeekendCriteria<CustomForm, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(CustomForm::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomFormVO> selectPageList(CustomFormDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<CustomForm> selectPageInfo(CustomFormDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/workflow/WorkflowConditionSwitchService.java

@@ -0,0 +1,37 @@
+package com.platform.service.workflow;
+
+import com.platform.dao.vo.query.workflow.WorkflowConditionSwitchVO;
+import com.platform.dao.dto.workflow.WorkflowConditionSwitchDTO;
+import com.platform.dao.entity.workflow.WorkflowConditionSwitch;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 流程审核条件分支表 service
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface WorkflowConditionSwitchService extends IBaseService<WorkflowConditionSwitch, WorkflowConditionSwitchDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<WorkflowConditionSwitchVO> selectPageList(WorkflowConditionSwitchDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/workflow/WorkflowService.java

@@ -0,0 +1,37 @@
+package com.platform.service.workflow;
+
+import com.platform.dao.vo.query.workflow.WorkflowVO;
+import com.platform.dao.dto.workflow.WorkflowDTO;
+import com.platform.dao.entity.workflow.Workflow;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 流程表 service
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface WorkflowService extends IBaseService<Workflow, WorkflowDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<WorkflowVO> selectPageList(WorkflowDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/workflow/WorkflowTaskBomFieldService.java

@@ -0,0 +1,37 @@
+package com.platform.service.workflow;
+
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomFieldVO;
+import com.platform.dao.dto.workflow.WorkflowTaskBomFieldDTO;
+import com.platform.dao.entity.workflow.WorkflowTaskBomField;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 流程审核显示字段命名表 service
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface WorkflowTaskBomFieldService extends IBaseService<WorkflowTaskBomField, WorkflowTaskBomFieldDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<WorkflowTaskBomFieldVO> selectPageList(WorkflowTaskBomFieldDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/workflow/WorkflowTaskBomService.java

@@ -0,0 +1,37 @@
+package com.platform.service.workflow;
+
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomVO;
+import com.platform.dao.dto.workflow.WorkflowTaskBomDTO;
+import com.platform.dao.entity.workflow.WorkflowTaskBom;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 流程任务审核字段显示表 service
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface WorkflowTaskBomService extends IBaseService<WorkflowTaskBom, WorkflowTaskBomDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<WorkflowTaskBomVO> selectPageList(WorkflowTaskBomDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/workflow/WorkflowTaskService.java

@@ -0,0 +1,37 @@
+package com.platform.service.workflow;
+
+import com.platform.dao.vo.query.workflow.WorkflowTaskVO;
+import com.platform.dao.dto.workflow.WorkflowTaskDTO;
+import com.platform.dao.entity.workflow.WorkflowTask;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 流程任务表 service
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface WorkflowTaskService extends IBaseService<WorkflowTask, WorkflowTaskDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<WorkflowTaskVO> selectPageList(WorkflowTaskDTO record, int pageNum, int pageSize);
+
+}

+ 37 - 0
platform-service/src/main/java/com/platform/service/workflow/WorkflowVerifyUserService.java

@@ -0,0 +1,37 @@
+package com.platform.service.workflow;
+
+import com.platform.dao.vo.query.workflow.WorkflowVerifyUserVO;
+import com.platform.dao.dto.workflow.WorkflowVerifyUserDTO;
+import com.platform.dao.entity.workflow.WorkflowVerifyUser;
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.service.base.IBaseService;
+
+import java.util.List;
+
+/**
+ * @Description 流程审核人员表 service
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+public interface WorkflowVerifyUserService extends IBaseService<WorkflowVerifyUser, WorkflowVerifyUserDTO> {
+
+    /**
+     * 批量删除
+     *
+     * @param ids :
+     * @return :
+     */
+    int batchDelete(List<String> ids);
+
+    /**
+     * 分页查询
+     *
+     * @param record
+     * @param pageNum
+     * @param pageSize
+     * @return
+     */
+    AbstractPageResultBean<WorkflowVerifyUserVO> selectPageList(WorkflowVerifyUserDTO record, int pageNum, int pageSize);
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowConditionSwitchServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.workflow.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.workflow.WorkflowConditionSwitchVO;
+import com.platform.dao.dto.workflow.WorkflowConditionSwitchDTO;
+import com.platform.dao.entity.workflow.WorkflowConditionSwitch;
+import com.platform.dao.mapper.workflow.WorkflowConditionSwitchMapper;
+import com.platform.service.workflow.WorkflowConditionSwitchService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 流程审核条件分支表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 17:01:58
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("workflowConditionSwitchService")
+public class WorkflowConditionSwitchServiceImpl extends BaseServiceImpl<WorkflowConditionSwitchMapper, WorkflowConditionSwitch, WorkflowConditionSwitchDTO> implements WorkflowConditionSwitchService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<WorkflowConditionSwitch> weekend = new Weekend<>(WorkflowConditionSwitch.class);
+        WeekendCriteria<WorkflowConditionSwitch, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(WorkflowConditionSwitch::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowConditionSwitchVO> selectPageList(WorkflowConditionSwitchDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowConditionSwitch> selectPageInfo(WorkflowConditionSwitchDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.workflow.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.workflow.WorkflowVO;
+import com.platform.dao.dto.workflow.WorkflowDTO;
+import com.platform.dao.entity.workflow.Workflow;
+import com.platform.dao.mapper.workflow.WorkflowMapper;
+import com.platform.service.workflow.WorkflowService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 流程表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 17:00:36
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("workflowService")
+public class WorkflowServiceImpl extends BaseServiceImpl<WorkflowMapper, Workflow, WorkflowDTO> implements WorkflowService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<Workflow> weekend = new Weekend<>(Workflow.class);
+        WeekendCriteria<Workflow, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(Workflow::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowVO> selectPageList(WorkflowDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<Workflow> selectPageInfo(WorkflowDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowTaskBomFieldServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.workflow.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomFieldVO;
+import com.platform.dao.dto.workflow.WorkflowTaskBomFieldDTO;
+import com.platform.dao.entity.workflow.WorkflowTaskBomField;
+import com.platform.dao.mapper.workflow.WorkflowTaskBomFieldMapper;
+import com.platform.service.workflow.WorkflowTaskBomFieldService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 流程审核显示字段命名表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 17:03:04
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("workflowTaskBomFieldService")
+public class WorkflowTaskBomFieldServiceImpl extends BaseServiceImpl<WorkflowTaskBomFieldMapper, WorkflowTaskBomField, WorkflowTaskBomFieldDTO> implements WorkflowTaskBomFieldService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<WorkflowTaskBomField> weekend = new Weekend<>(WorkflowTaskBomField.class);
+        WeekendCriteria<WorkflowTaskBomField, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(WorkflowTaskBomField::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowTaskBomFieldVO> selectPageList(WorkflowTaskBomFieldDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowTaskBomField> selectPageInfo(WorkflowTaskBomFieldDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowTaskBomServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.workflow.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.workflow.WorkflowTaskBomVO;
+import com.platform.dao.dto.workflow.WorkflowTaskBomDTO;
+import com.platform.dao.entity.workflow.WorkflowTaskBom;
+import com.platform.dao.mapper.workflow.WorkflowTaskBomMapper;
+import com.platform.service.workflow.WorkflowTaskBomService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 流程任务审核字段显示表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 17:02:41
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("workflowTaskBomService")
+public class WorkflowTaskBomServiceImpl extends BaseServiceImpl<WorkflowTaskBomMapper, WorkflowTaskBom, WorkflowTaskBomDTO> implements WorkflowTaskBomService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<WorkflowTaskBom> weekend = new Weekend<>(WorkflowTaskBom.class);
+        WeekendCriteria<WorkflowTaskBom, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(WorkflowTaskBom::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowTaskBomVO> selectPageList(WorkflowTaskBomDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowTaskBom> selectPageInfo(WorkflowTaskBomDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowTaskServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.workflow.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.workflow.WorkflowTaskVO;
+import com.platform.dao.dto.workflow.WorkflowTaskDTO;
+import com.platform.dao.entity.workflow.WorkflowTask;
+import com.platform.dao.mapper.workflow.WorkflowTaskMapper;
+import com.platform.service.workflow.WorkflowTaskService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 流程任务表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 17:02:19
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("workflowTaskService")
+public class WorkflowTaskServiceImpl extends BaseServiceImpl<WorkflowTaskMapper, WorkflowTask, WorkflowTaskDTO> implements WorkflowTaskService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<WorkflowTask> weekend = new Weekend<>(WorkflowTask.class);
+        WeekendCriteria<WorkflowTask, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(WorkflowTask::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowTaskVO> selectPageList(WorkflowTaskDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowTask> selectPageInfo(WorkflowTaskDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}

+ 51 - 0
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowVerifyUserServiceImpl.java

@@ -0,0 +1,51 @@
+package com.platform.service.workflow.impl;
+
+import com.platform.common.bean.AbstractPageResultBean;
+import com.platform.dao.bean.MyPage;
+import com.github.pagehelper.PageHelper;
+import com.platform.dao.vo.query.workflow.WorkflowVerifyUserVO;
+import com.platform.dao.dto.workflow.WorkflowVerifyUserDTO;
+import com.platform.dao.entity.workflow.WorkflowVerifyUser;
+import com.platform.dao.mapper.workflow.WorkflowVerifyUserMapper;
+import com.platform.service.workflow.WorkflowVerifyUserService;
+import org.springframework.stereotype.Service;
+import com.platform.service.base.impl.BaseServiceImpl;
+import org.springframework.transaction.annotation.Transactional;
+import tk.mybatis.mapper.weekend.Weekend;
+import tk.mybatis.mapper.weekend.WeekendCriteria;
+import lombok.AllArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @Description 流程审核人员表 service 实现类
+ * @Author lsq
+ * @Date 2024-06-03 17:01:18
+ * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
+ */
+@AllArgsConstructor
+@Service("workflowVerifyUserService")
+public class WorkflowVerifyUserServiceImpl extends BaseServiceImpl<WorkflowVerifyUserMapper, WorkflowVerifyUser, WorkflowVerifyUserDTO> implements WorkflowVerifyUserService {
+
+    @Override
+    public int batchDelete(List<String> ids) {
+        Weekend<WorkflowVerifyUser> weekend = new Weekend<>(WorkflowVerifyUser.class);
+        WeekendCriteria<WorkflowVerifyUser, Object> weekendCriteria = weekend.weekendCriteria();
+        weekendCriteria.andIn(WorkflowVerifyUser::getId, ids);
+        mapper.deleteByExample(weekend);
+        return 1;
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowVerifyUserVO> selectPageList(WorkflowVerifyUserDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+    @Override
+    public AbstractPageResultBean<WorkflowVerifyUser> selectPageInfo(WorkflowVerifyUserDTO record, int pageNum, int pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        return new MyPage(mapper.selectList(record));
+    }
+
+}