gaodd 5 vuotta sitten
vanhempi
commit
c4999099da

+ 16 - 0
src/main/java/com/unissoft/mapper/ProcessSubMapper.java

@@ -0,0 +1,16 @@
1
+package com.unissoft.mapper;
2
+
3
+import com.unissoft.model.ProcessSub;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+
6
+/**
7
+ * <p>
8
+ * 子流程表 Mapper 接口
9
+ * </p>
10
+ *
11
+ * @author My SunShine
12
+ * @since 2021-01-30
13
+ */
14
+public interface ProcessSubMapper extends BaseMapper<ProcessSub> {
15
+
16
+}

+ 21 - 0
src/main/java/com/unissoft/mapper/ProcessSubMapper.xml

@@ -0,0 +1,21 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unissoft.mapper.ProcessSubMapper">
4
+
5
+    <!-- 通用查询映射结果 -->
6
+    <resultMap id="BaseResultMap" type="com.unissoft.model.ProcessSub">
7
+        <id column="id" property="id" />
8
+        <result column="zid" property="zid" />
9
+        <result column="details" property="details" />
10
+        <result column="title" property="title" />
11
+        <result column="operation_time" property="operationTime" />
12
+        <result column="step" property="step" />
13
+        <result column="type" property="type" />
14
+    </resultMap>
15
+
16
+    <!-- 通用查询结果列 -->
17
+    <sql id="Base_Column_List">
18
+        id, zid, details, title, operation_time, step, type
19
+    </sql>
20
+
21
+</mapper>

+ 137 - 0
src/main/java/com/unissoft/model/ProcessSub.java

@@ -0,0 +1,137 @@
1
+package com.unissoft.model;
2
+
3
+import com.baomidou.mybatisplus.annotation.TableName;
4
+import com.baomidou.mybatisplus.annotation.IdType;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import com.baomidou.mybatisplus.annotation.TableField;
7
+import java.io.Serializable;
8
+import io.swagger.annotations.ApiModel;
9
+import io.swagger.annotations.ApiModelProperty;
10
+
11
+/**
12
+ * <p>
13
+ * 子流程表
14
+ * </p>
15
+ *
16
+ * @author My SunShine
17
+ * @since 2021-01-30
18
+ */
19
+@TableName("process_sub")
20
+@ApiModel(value="ProcessSub对象", description="子流程表")
21
+public class ProcessSub implements Serializable {
22
+
23
+    private static final long serialVersionUID = 1L;
24
+
25
+  //业务字段
26
+    @TableField(exist = false)
27
+    private Integer subData;
28
+    @TableField(exist = false)
29
+    private Integer auditId;
30
+    
31
+    
32
+    
33
+    public Integer getAuditId() {
34
+		return auditId;
35
+	}
36
+
37
+	public void setAuditId(Integer auditId) {
38
+		this.auditId = auditId;
39
+	}
40
+
41
+	public Integer getSubData() {
42
+        return subData;
43
+    }
44
+
45
+    public void setSubData(Integer subData) {
46
+        this.subData = subData;
47
+    }
48
+    
49
+    @ApiModelProperty(value = "流程子表")
50
+    @TableId(value = "id", type = IdType.AUTO)
51
+    private Integer id;
52
+
53
+    @ApiModelProperty(value = "主流程id")
54
+    @TableField("zid")
55
+    private Integer zid;
56
+
57
+    @ApiModelProperty(value = "流程数据选项")
58
+    @TableField("details")
59
+    private String details;
60
+
61
+    @ApiModelProperty(value = "流程标题")
62
+    @TableField("title")
63
+    private String title;
64
+
65
+    @TableField("operation_time")
66
+    private String operationTime;
67
+
68
+    @ApiModelProperty(value = "顺序")
69
+    @TableField("step")
70
+    private Integer step;
71
+
72
+    @TableField("type")
73
+    private String type;
74
+
75
+    public Integer getId() {
76
+        return id;
77
+    }
78
+
79
+    public void setId(Integer id) {
80
+        this.id = id;
81
+    }
82
+    public Integer getZid() {
83
+        return zid;
84
+    }
85
+
86
+    public void setZid(Integer zid) {
87
+        this.zid = zid;
88
+    }
89
+    public String getDetails() {
90
+        return details;
91
+    }
92
+
93
+    public void setDetails(String details) {
94
+        this.details = details;
95
+    }
96
+    public String getTitle() {
97
+        return title;
98
+    }
99
+
100
+    public void setTitle(String title) {
101
+        this.title = title;
102
+    }
103
+    public String getOperationTime() {
104
+        return operationTime;
105
+    }
106
+
107
+    public void setOperationTime(String operationTime) {
108
+        this.operationTime = operationTime;
109
+    }
110
+    public Integer getStep() {
111
+        return step;
112
+    }
113
+
114
+    public void setStep(Integer step) {
115
+        this.step = step;
116
+    }
117
+    public String getType() {
118
+        return type;
119
+    }
120
+
121
+    public void setType(String type) {
122
+        this.type = type;
123
+    }
124
+
125
+    @Override
126
+    public String toString() {
127
+        return "ProcessSub{" +
128
+            "id=" + id +
129
+            ", zid=" + zid +
130
+            ", details=" + details +
131
+            ", title=" + title +
132
+            ", operationTime=" + operationTime +
133
+            ", step=" + step +
134
+            ", type=" + type +
135
+        "}";
136
+    }
137
+}