|
|
@@ -1,763 +0,0 @@
|
|
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.chinaitop.depot.business.mapper.BusinessApprovalMapper" >
|
|
4
|
|
- <resultMap id="BaseResultMap" type="com.chinaitop.depot.business.model.BusinessApproval" >
|
|
5
|
|
- <!--
|
|
6
|
|
- WARNING - @mbggenerated
|
|
7
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
8
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
9
|
|
- -->
|
|
10
|
|
- <id column="id" property="id" jdbcType="INTEGER" />
|
|
11
|
|
- <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
|
|
12
|
|
- <result column="is_deleted" property="isDeleted" jdbcType="INTEGER" />
|
|
13
|
|
- <result column="remark" property="remark" jdbcType="VARCHAR" />
|
|
14
|
|
- <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
|
|
15
|
|
- <result column="content" property="content" jdbcType="VARCHAR" />
|
|
16
|
|
- <result column="from_department" property="fromDepartment" jdbcType="VARCHAR" />
|
|
17
|
|
- <result column="from_people" property="fromPeople" jdbcType="VARCHAR" />
|
|
18
|
|
- <result column="from_user_name" property="fromUserName" jdbcType="VARCHAR" />
|
|
19
|
|
- <result column="last_people" property="lastPeople" jdbcType="VARCHAR" />
|
|
20
|
|
- <result column="operate_time" property="operateTime" jdbcType="VARCHAR" />
|
|
21
|
|
- <result column="operator" property="operator" jdbcType="VARCHAR" />
|
|
22
|
|
- <result column="operator_name" property="operatorName" jdbcType="VARCHAR" />
|
|
23
|
|
- <result column="process_instance_id" property="processInstanceId" jdbcType="VARCHAR" />
|
|
24
|
|
- <result column="project_id" property="projectId" jdbcType="INTEGER" />
|
|
25
|
|
- <result column="project_name" property="projectName" jdbcType="VARCHAR" />
|
|
26
|
|
- <result column="result" property="result" jdbcType="VARCHAR" />
|
|
27
|
|
- <result column="task_id" property="taskId" jdbcType="VARCHAR" />
|
|
28
|
|
- <result column="task_info" property="taskInfo" jdbcType="VARCHAR" />
|
|
29
|
|
- <result column="task_name" property="taskName" jdbcType="VARCHAR" />
|
|
30
|
|
- <result column="task_type" property="taskType" jdbcType="VARCHAR" />
|
|
31
|
|
- <result column="title" property="title" jdbcType="VARCHAR" />
|
|
32
|
|
- <result column="version" property="version" jdbcType="INTEGER" />
|
|
33
|
|
- <result column="task_type_name" property="taskTypeName" jdbcType="VARCHAR" />
|
|
34
|
|
- <result column="is_hide" property="isHide" jdbcType="INTEGER" />
|
|
35
|
|
- <result column="is_countersign" property="isCountersign" jdbcType="INTEGER" />
|
|
36
|
|
- <result column="apply_name" property="applyName" jdbcType="VARCHAR" />
|
|
37
|
|
- <result column="apply_name_id" property="applyNameId" jdbcType="VARCHAR" />
|
|
38
|
|
- <result column="apply_time" property="applyTime" jdbcType="TIMESTAMP" />
|
|
39
|
|
- </resultMap>
|
|
40
|
|
- <sql id="Example_Where_Clause" >
|
|
41
|
|
- <!--
|
|
42
|
|
- WARNING - @mbggenerated
|
|
43
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
44
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
45
|
|
- -->
|
|
46
|
|
- <where >
|
|
47
|
|
- <foreach collection="oredCriteria" item="criteria" separator="or" >
|
|
48
|
|
- <if test="criteria.valid" >
|
|
49
|
|
- <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
50
|
|
- <foreach collection="criteria.criteria" item="criterion" >
|
|
51
|
|
- <choose >
|
|
52
|
|
- <when test="criterion.noValue" >
|
|
53
|
|
- and ${criterion.condition}
|
|
54
|
|
- </when>
|
|
55
|
|
- <when test="criterion.singleValue" >
|
|
56
|
|
- and ${criterion.condition} #{criterion.value}
|
|
57
|
|
- </when>
|
|
58
|
|
- <when test="criterion.betweenValue" >
|
|
59
|
|
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
60
|
|
- </when>
|
|
61
|
|
- <when test="criterion.listValue" >
|
|
62
|
|
- and ${criterion.condition}
|
|
63
|
|
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
64
|
|
- #{listItem}
|
|
65
|
|
- </foreach>
|
|
66
|
|
- </when>
|
|
67
|
|
- </choose>
|
|
68
|
|
- </foreach>
|
|
69
|
|
- </trim>
|
|
70
|
|
- </if>
|
|
71
|
|
- </foreach>
|
|
72
|
|
- </where>
|
|
73
|
|
- </sql>
|
|
74
|
|
- <sql id="Update_By_Example_Where_Clause" >
|
|
75
|
|
- <!--
|
|
76
|
|
- WARNING - @mbggenerated
|
|
77
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
78
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
79
|
|
- -->
|
|
80
|
|
- <where >
|
|
81
|
|
- <foreach collection="example.oredCriteria" item="criteria" separator="or" >
|
|
82
|
|
- <if test="criteria.valid" >
|
|
83
|
|
- <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
84
|
|
- <foreach collection="criteria.criteria" item="criterion" >
|
|
85
|
|
- <choose >
|
|
86
|
|
- <when test="criterion.noValue" >
|
|
87
|
|
- and ${criterion.condition}
|
|
88
|
|
- </when>
|
|
89
|
|
- <when test="criterion.singleValue" >
|
|
90
|
|
- and ${criterion.condition} #{criterion.value}
|
|
91
|
|
- </when>
|
|
92
|
|
- <when test="criterion.betweenValue" >
|
|
93
|
|
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
94
|
|
- </when>
|
|
95
|
|
- <when test="criterion.listValue" >
|
|
96
|
|
- and ${criterion.condition}
|
|
97
|
|
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
98
|
|
- #{listItem}
|
|
99
|
|
- </foreach>
|
|
100
|
|
- </when>
|
|
101
|
|
- </choose>
|
|
102
|
|
- </foreach>
|
|
103
|
|
- </trim>
|
|
104
|
|
- </if>
|
|
105
|
|
- </foreach>
|
|
106
|
|
- </where>
|
|
107
|
|
- </sql>
|
|
108
|
|
- <sql id="Base_Column_List" >
|
|
109
|
|
- <!--
|
|
110
|
|
- WARNING - @mbggenerated
|
|
111
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
112
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
113
|
|
- -->
|
|
114
|
|
- id, create_time, is_deleted, remark, update_time, content, from_department, from_people,
|
|
115
|
|
- from_user_name, last_people, operate_time, operator, operator_name, process_instance_id,
|
|
116
|
|
- project_id, project_name, result, task_id, task_info, task_name, task_type, title,
|
|
117
|
|
- version, task_type_name, is_hide, is_countersign, apply_name, apply_name_id, apply_time
|
|
118
|
|
- </sql>
|
|
119
|
|
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessApprovalExample" >
|
|
120
|
|
- <!--
|
|
121
|
|
- WARNING - @mbggenerated
|
|
122
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
123
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
124
|
|
- -->
|
|
125
|
|
- select
|
|
126
|
|
- <if test="distinct" >
|
|
127
|
|
- distinct
|
|
128
|
|
- </if>
|
|
129
|
|
- <include refid="Base_Column_List" />
|
|
130
|
|
- from business_approval
|
|
131
|
|
- <if test="_parameter != null" >
|
|
132
|
|
- <include refid="Example_Where_Clause" />
|
|
133
|
|
- </if>
|
|
134
|
|
- <if test="orderByClause != null" >
|
|
135
|
|
- order by ${orderByClause}
|
|
136
|
|
- </if>
|
|
137
|
|
- </select>
|
|
138
|
|
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
139
|
|
- <!--
|
|
140
|
|
- WARNING - @mbggenerated
|
|
141
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
142
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
143
|
|
- -->
|
|
144
|
|
- select
|
|
145
|
|
- <include refid="Base_Column_List" />
|
|
146
|
|
- from business_approval
|
|
147
|
|
- where id = #{id,jdbcType=INTEGER}
|
|
148
|
|
- </select>
|
|
149
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
|
|
150
|
|
- <!--
|
|
151
|
|
- WARNING - @mbggenerated
|
|
152
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
153
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
154
|
|
- -->
|
|
155
|
|
- delete from business_approval
|
|
156
|
|
- where id = #{id,jdbcType=INTEGER}
|
|
157
|
|
- </delete>
|
|
158
|
|
- <delete id="deleteByExample" parameterType="com.chinaitop.depot.business.model.BusinessApprovalExample" >
|
|
159
|
|
- <!--
|
|
160
|
|
- WARNING - @mbggenerated
|
|
161
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
162
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
163
|
|
- -->
|
|
164
|
|
- delete from business_approval
|
|
165
|
|
- <if test="_parameter != null" >
|
|
166
|
|
- <include refid="Example_Where_Clause" />
|
|
167
|
|
- </if>
|
|
168
|
|
- </delete>
|
|
169
|
|
- <insert id="insert" parameterType="com.chinaitop.depot.business.model.BusinessApproval" >
|
|
170
|
|
- <!--
|
|
171
|
|
- WARNING - @mbggenerated
|
|
172
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
173
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
174
|
|
- -->
|
|
175
|
|
- insert into business_approval (id, create_time, is_deleted,
|
|
176
|
|
- remark, update_time, content,
|
|
177
|
|
- from_department, from_people, from_user_name,
|
|
178
|
|
- last_people, operate_time, operator,
|
|
179
|
|
- operator_name, process_instance_id, project_id,
|
|
180
|
|
- project_name, result, task_id,
|
|
181
|
|
- task_info, task_name, task_type,
|
|
182
|
|
- title, version, task_type_name,
|
|
183
|
|
- is_hide, is_countersign, apply_name,
|
|
184
|
|
- apply_name_id, apply_time)
|
|
185
|
|
- values (#{id,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{isDeleted,jdbcType=INTEGER},
|
|
186
|
|
- #{remark,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{content,jdbcType=VARCHAR},
|
|
187
|
|
- #{fromDepartment,jdbcType=VARCHAR}, #{fromPeople,jdbcType=VARCHAR}, #{fromUserName,jdbcType=VARCHAR},
|
|
188
|
|
- #{lastPeople,jdbcType=VARCHAR}, #{operateTime,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR},
|
|
189
|
|
- #{operatorName,jdbcType=VARCHAR}, #{processInstanceId,jdbcType=VARCHAR}, #{projectId,jdbcType=INTEGER},
|
|
190
|
|
- #{projectName,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, #{taskId,jdbcType=VARCHAR},
|
|
191
|
|
- #{taskInfo,jdbcType=VARCHAR}, #{taskName,jdbcType=VARCHAR}, #{taskType,jdbcType=VARCHAR},
|
|
192
|
|
- #{title,jdbcType=VARCHAR}, #{version,jdbcType=INTEGER}, #{taskTypeName,jdbcType=VARCHAR},
|
|
193
|
|
- #{isHide,jdbcType=INTEGER}, #{isCountersign,jdbcType=INTEGER}, #{applyName,jdbcType=VARCHAR},
|
|
194
|
|
- #{applyNameId,jdbcType=VARCHAR}, #{applyTime,jdbcType=TIMESTAMP})
|
|
195
|
|
- </insert>
|
|
196
|
|
- <insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessApproval" >
|
|
197
|
|
- <!--
|
|
198
|
|
- WARNING - @mbggenerated
|
|
199
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
200
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
201
|
|
- -->
|
|
202
|
|
- insert into business_approval
|
|
203
|
|
- <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
204
|
|
- <if test="id != null" >
|
|
205
|
|
- id,
|
|
206
|
|
- </if>
|
|
207
|
|
- <if test="createTime != null" >
|
|
208
|
|
- create_time,
|
|
209
|
|
- </if>
|
|
210
|
|
- <if test="isDeleted != null" >
|
|
211
|
|
- is_deleted,
|
|
212
|
|
- </if>
|
|
213
|
|
- <if test="remark != null" >
|
|
214
|
|
- remark,
|
|
215
|
|
- </if>
|
|
216
|
|
- <if test="updateTime != null" >
|
|
217
|
|
- update_time,
|
|
218
|
|
- </if>
|
|
219
|
|
- <if test="content != null" >
|
|
220
|
|
- content,
|
|
221
|
|
- </if>
|
|
222
|
|
- <if test="fromDepartment != null" >
|
|
223
|
|
- from_department,
|
|
224
|
|
- </if>
|
|
225
|
|
- <if test="fromPeople != null" >
|
|
226
|
|
- from_people,
|
|
227
|
|
- </if>
|
|
228
|
|
- <if test="fromUserName != null" >
|
|
229
|
|
- from_user_name,
|
|
230
|
|
- </if>
|
|
231
|
|
- <if test="lastPeople != null" >
|
|
232
|
|
- last_people,
|
|
233
|
|
- </if>
|
|
234
|
|
- <if test="operateTime != null" >
|
|
235
|
|
- operate_time,
|
|
236
|
|
- </if>
|
|
237
|
|
- <if test="operator != null" >
|
|
238
|
|
- operator,
|
|
239
|
|
- </if>
|
|
240
|
|
- <if test="operatorName != null" >
|
|
241
|
|
- operator_name,
|
|
242
|
|
- </if>
|
|
243
|
|
- <if test="processInstanceId != null" >
|
|
244
|
|
- process_instance_id,
|
|
245
|
|
- </if>
|
|
246
|
|
- <if test="projectId != null" >
|
|
247
|
|
- project_id,
|
|
248
|
|
- </if>
|
|
249
|
|
- <if test="projectName != null" >
|
|
250
|
|
- project_name,
|
|
251
|
|
- </if>
|
|
252
|
|
- <if test="result != null" >
|
|
253
|
|
- result,
|
|
254
|
|
- </if>
|
|
255
|
|
- <if test="taskId != null" >
|
|
256
|
|
- task_id,
|
|
257
|
|
- </if>
|
|
258
|
|
- <if test="taskInfo != null" >
|
|
259
|
|
- task_info,
|
|
260
|
|
- </if>
|
|
261
|
|
- <if test="taskName != null" >
|
|
262
|
|
- task_name,
|
|
263
|
|
- </if>
|
|
264
|
|
- <if test="taskType != null" >
|
|
265
|
|
- task_type,
|
|
266
|
|
- </if>
|
|
267
|
|
- <if test="title != null" >
|
|
268
|
|
- title,
|
|
269
|
|
- </if>
|
|
270
|
|
- <if test="version != null" >
|
|
271
|
|
- version,
|
|
272
|
|
- </if>
|
|
273
|
|
- <if test="taskTypeName != null" >
|
|
274
|
|
- task_type_name,
|
|
275
|
|
- </if>
|
|
276
|
|
- <if test="isHide != null" >
|
|
277
|
|
- is_hide,
|
|
278
|
|
- </if>
|
|
279
|
|
- <if test="isCountersign != null" >
|
|
280
|
|
- is_countersign,
|
|
281
|
|
- </if>
|
|
282
|
|
- <if test="applyName != null" >
|
|
283
|
|
- apply_name,
|
|
284
|
|
- </if>
|
|
285
|
|
- <if test="applyNameId != null" >
|
|
286
|
|
- apply_name_id,
|
|
287
|
|
- </if>
|
|
288
|
|
- <if test="applyTime != null" >
|
|
289
|
|
- apply_time,
|
|
290
|
|
- </if>
|
|
291
|
|
- </trim>
|
|
292
|
|
- <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
293
|
|
- <if test="id != null" >
|
|
294
|
|
- #{id,jdbcType=INTEGER},
|
|
295
|
|
- </if>
|
|
296
|
|
- <if test="createTime != null" >
|
|
297
|
|
- #{createTime,jdbcType=TIMESTAMP},
|
|
298
|
|
- </if>
|
|
299
|
|
- <if test="isDeleted != null" >
|
|
300
|
|
- #{isDeleted,jdbcType=INTEGER},
|
|
301
|
|
- </if>
|
|
302
|
|
- <if test="remark != null" >
|
|
303
|
|
- #{remark,jdbcType=VARCHAR},
|
|
304
|
|
- </if>
|
|
305
|
|
- <if test="updateTime != null" >
|
|
306
|
|
- #{updateTime,jdbcType=TIMESTAMP},
|
|
307
|
|
- </if>
|
|
308
|
|
- <if test="content != null" >
|
|
309
|
|
- #{content,jdbcType=VARCHAR},
|
|
310
|
|
- </if>
|
|
311
|
|
- <if test="fromDepartment != null" >
|
|
312
|
|
- #{fromDepartment,jdbcType=VARCHAR},
|
|
313
|
|
- </if>
|
|
314
|
|
- <if test="fromPeople != null" >
|
|
315
|
|
- #{fromPeople,jdbcType=VARCHAR},
|
|
316
|
|
- </if>
|
|
317
|
|
- <if test="fromUserName != null" >
|
|
318
|
|
- #{fromUserName,jdbcType=VARCHAR},
|
|
319
|
|
- </if>
|
|
320
|
|
- <if test="lastPeople != null" >
|
|
321
|
|
- #{lastPeople,jdbcType=VARCHAR},
|
|
322
|
|
- </if>
|
|
323
|
|
- <if test="operateTime != null" >
|
|
324
|
|
- #{operateTime,jdbcType=VARCHAR},
|
|
325
|
|
- </if>
|
|
326
|
|
- <if test="operator != null" >
|
|
327
|
|
- #{operator,jdbcType=VARCHAR},
|
|
328
|
|
- </if>
|
|
329
|
|
- <if test="operatorName != null" >
|
|
330
|
|
- #{operatorName,jdbcType=VARCHAR},
|
|
331
|
|
- </if>
|
|
332
|
|
- <if test="processInstanceId != null" >
|
|
333
|
|
- #{processInstanceId,jdbcType=VARCHAR},
|
|
334
|
|
- </if>
|
|
335
|
|
- <if test="projectId != null" >
|
|
336
|
|
- #{projectId,jdbcType=INTEGER},
|
|
337
|
|
- </if>
|
|
338
|
|
- <if test="projectName != null" >
|
|
339
|
|
- #{projectName,jdbcType=VARCHAR},
|
|
340
|
|
- </if>
|
|
341
|
|
- <if test="result != null" >
|
|
342
|
|
- #{result,jdbcType=VARCHAR},
|
|
343
|
|
- </if>
|
|
344
|
|
- <if test="taskId != null" >
|
|
345
|
|
- #{taskId,jdbcType=VARCHAR},
|
|
346
|
|
- </if>
|
|
347
|
|
- <if test="taskInfo != null" >
|
|
348
|
|
- #{taskInfo,jdbcType=VARCHAR},
|
|
349
|
|
- </if>
|
|
350
|
|
- <if test="taskName != null" >
|
|
351
|
|
- #{taskName,jdbcType=VARCHAR},
|
|
352
|
|
- </if>
|
|
353
|
|
- <if test="taskType != null" >
|
|
354
|
|
- #{taskType,jdbcType=VARCHAR},
|
|
355
|
|
- </if>
|
|
356
|
|
- <if test="title != null" >
|
|
357
|
|
- #{title,jdbcType=VARCHAR},
|
|
358
|
|
- </if>
|
|
359
|
|
- <if test="version != null" >
|
|
360
|
|
- #{version,jdbcType=INTEGER},
|
|
361
|
|
- </if>
|
|
362
|
|
- <if test="taskTypeName != null" >
|
|
363
|
|
- #{taskTypeName,jdbcType=VARCHAR},
|
|
364
|
|
- </if>
|
|
365
|
|
- <if test="isHide != null" >
|
|
366
|
|
- #{isHide,jdbcType=INTEGER},
|
|
367
|
|
- </if>
|
|
368
|
|
- <if test="isCountersign != null" >
|
|
369
|
|
- #{isCountersign,jdbcType=INTEGER},
|
|
370
|
|
- </if>
|
|
371
|
|
- <if test="applyName != null" >
|
|
372
|
|
- #{applyName,jdbcType=VARCHAR},
|
|
373
|
|
- </if>
|
|
374
|
|
- <if test="applyNameId != null" >
|
|
375
|
|
- #{applyNameId,jdbcType=VARCHAR},
|
|
376
|
|
- </if>
|
|
377
|
|
- <if test="applyTime != null" >
|
|
378
|
|
- #{applyTime,jdbcType=TIMESTAMP},
|
|
379
|
|
- </if>
|
|
380
|
|
- </trim>
|
|
381
|
|
- </insert>
|
|
382
|
|
- <select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessApprovalExample" resultType="java.lang.Integer" >
|
|
383
|
|
- <!--
|
|
384
|
|
- WARNING - @mbggenerated
|
|
385
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
386
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
387
|
|
- -->
|
|
388
|
|
- select count(*) from business_approval
|
|
389
|
|
- <if test="_parameter != null" >
|
|
390
|
|
- <include refid="Example_Where_Clause" />
|
|
391
|
|
- </if>
|
|
392
|
|
- </select>
|
|
393
|
|
- <update id="updateByExampleSelective" parameterType="map" >
|
|
394
|
|
- <!--
|
|
395
|
|
- WARNING - @mbggenerated
|
|
396
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
397
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
398
|
|
- -->
|
|
399
|
|
- update business_approval
|
|
400
|
|
- <set >
|
|
401
|
|
- <if test="record.id != null" >
|
|
402
|
|
- id = #{record.id,jdbcType=INTEGER},
|
|
403
|
|
- </if>
|
|
404
|
|
- <if test="record.createTime != null" >
|
|
405
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
406
|
|
- </if>
|
|
407
|
|
- <if test="record.isDeleted != null" >
|
|
408
|
|
- is_deleted = #{record.isDeleted,jdbcType=INTEGER},
|
|
409
|
|
- </if>
|
|
410
|
|
- <if test="record.remark != null" >
|
|
411
|
|
- remark = #{record.remark,jdbcType=VARCHAR},
|
|
412
|
|
- </if>
|
|
413
|
|
- <if test="record.updateTime != null" >
|
|
414
|
|
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
415
|
|
- </if>
|
|
416
|
|
- <if test="record.content != null" >
|
|
417
|
|
- content = #{record.content,jdbcType=VARCHAR},
|
|
418
|
|
- </if>
|
|
419
|
|
- <if test="record.fromDepartment != null" >
|
|
420
|
|
- from_department = #{record.fromDepartment,jdbcType=VARCHAR},
|
|
421
|
|
- </if>
|
|
422
|
|
- <if test="record.fromPeople != null" >
|
|
423
|
|
- from_people = #{record.fromPeople,jdbcType=VARCHAR},
|
|
424
|
|
- </if>
|
|
425
|
|
- <if test="record.fromUserName != null" >
|
|
426
|
|
- from_user_name = #{record.fromUserName,jdbcType=VARCHAR},
|
|
427
|
|
- </if>
|
|
428
|
|
- <if test="record.lastPeople != null" >
|
|
429
|
|
- last_people = #{record.lastPeople,jdbcType=VARCHAR},
|
|
430
|
|
- </if>
|
|
431
|
|
- <if test="record.operateTime != null" >
|
|
432
|
|
- operate_time = #{record.operateTime,jdbcType=VARCHAR},
|
|
433
|
|
- </if>
|
|
434
|
|
- <if test="record.operator != null" >
|
|
435
|
|
- operator = #{record.operator,jdbcType=VARCHAR},
|
|
436
|
|
- </if>
|
|
437
|
|
- <if test="record.operatorName != null" >
|
|
438
|
|
- operator_name = #{record.operatorName,jdbcType=VARCHAR},
|
|
439
|
|
- </if>
|
|
440
|
|
- <if test="record.processInstanceId != null" >
|
|
441
|
|
- process_instance_id = #{record.processInstanceId,jdbcType=VARCHAR},
|
|
442
|
|
- </if>
|
|
443
|
|
- <if test="record.projectId != null" >
|
|
444
|
|
- project_id = #{record.projectId,jdbcType=INTEGER},
|
|
445
|
|
- </if>
|
|
446
|
|
- <if test="record.projectName != null" >
|
|
447
|
|
- project_name = #{record.projectName,jdbcType=VARCHAR},
|
|
448
|
|
- </if>
|
|
449
|
|
- <if test="record.result != null" >
|
|
450
|
|
- result = #{record.result,jdbcType=VARCHAR},
|
|
451
|
|
- </if>
|
|
452
|
|
- <if test="record.taskId != null" >
|
|
453
|
|
- task_id = #{record.taskId,jdbcType=VARCHAR},
|
|
454
|
|
- </if>
|
|
455
|
|
- <if test="record.taskInfo != null" >
|
|
456
|
|
- task_info = #{record.taskInfo,jdbcType=VARCHAR},
|
|
457
|
|
- </if>
|
|
458
|
|
- <if test="record.taskName != null" >
|
|
459
|
|
- task_name = #{record.taskName,jdbcType=VARCHAR},
|
|
460
|
|
- </if>
|
|
461
|
|
- <if test="record.taskType != null" >
|
|
462
|
|
- task_type = #{record.taskType,jdbcType=VARCHAR},
|
|
463
|
|
- </if>
|
|
464
|
|
- <if test="record.title != null" >
|
|
465
|
|
- title = #{record.title,jdbcType=VARCHAR},
|
|
466
|
|
- </if>
|
|
467
|
|
- <if test="record.version != null" >
|
|
468
|
|
- version = #{record.version,jdbcType=INTEGER},
|
|
469
|
|
- </if>
|
|
470
|
|
- <if test="record.taskTypeName != null" >
|
|
471
|
|
- task_type_name = #{record.taskTypeName,jdbcType=VARCHAR},
|
|
472
|
|
- </if>
|
|
473
|
|
- <if test="record.isHide != null" >
|
|
474
|
|
- is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
475
|
|
- </if>
|
|
476
|
|
- <if test="record.isCountersign != null" >
|
|
477
|
|
- is_countersign = #{record.isCountersign,jdbcType=INTEGER},
|
|
478
|
|
- </if>
|
|
479
|
|
- <if test="record.applyName != null" >
|
|
480
|
|
- apply_name = #{record.applyName,jdbcType=VARCHAR},
|
|
481
|
|
- </if>
|
|
482
|
|
- <if test="record.applyNameId != null" >
|
|
483
|
|
- apply_name_id = #{record.applyNameId,jdbcType=VARCHAR},
|
|
484
|
|
- </if>
|
|
485
|
|
- <if test="record.applyTime != null" >
|
|
486
|
|
- apply_time = #{record.applyTime,jdbcType=TIMESTAMP},
|
|
487
|
|
- </if>
|
|
488
|
|
- </set>
|
|
489
|
|
- <if test="_parameter != null" >
|
|
490
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
491
|
|
- </if>
|
|
492
|
|
- </update>
|
|
493
|
|
- <update id="updateByExample" parameterType="map" >
|
|
494
|
|
- <!--
|
|
495
|
|
- WARNING - @mbggenerated
|
|
496
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
497
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
498
|
|
- -->
|
|
499
|
|
- update business_approval
|
|
500
|
|
- set id = #{record.id,jdbcType=INTEGER},
|
|
501
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
502
|
|
- is_deleted = #{record.isDeleted,jdbcType=INTEGER},
|
|
503
|
|
- remark = #{record.remark,jdbcType=VARCHAR},
|
|
504
|
|
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
505
|
|
- content = #{record.content,jdbcType=VARCHAR},
|
|
506
|
|
- from_department = #{record.fromDepartment,jdbcType=VARCHAR},
|
|
507
|
|
- from_people = #{record.fromPeople,jdbcType=VARCHAR},
|
|
508
|
|
- from_user_name = #{record.fromUserName,jdbcType=VARCHAR},
|
|
509
|
|
- last_people = #{record.lastPeople,jdbcType=VARCHAR},
|
|
510
|
|
- operate_time = #{record.operateTime,jdbcType=VARCHAR},
|
|
511
|
|
- operator = #{record.operator,jdbcType=VARCHAR},
|
|
512
|
|
- operator_name = #{record.operatorName,jdbcType=VARCHAR},
|
|
513
|
|
- process_instance_id = #{record.processInstanceId,jdbcType=VARCHAR},
|
|
514
|
|
- project_id = #{record.projectId,jdbcType=INTEGER},
|
|
515
|
|
- project_name = #{record.projectName,jdbcType=VARCHAR},
|
|
516
|
|
- result = #{record.result,jdbcType=VARCHAR},
|
|
517
|
|
- task_id = #{record.taskId,jdbcType=VARCHAR},
|
|
518
|
|
- task_info = #{record.taskInfo,jdbcType=VARCHAR},
|
|
519
|
|
- task_name = #{record.taskName,jdbcType=VARCHAR},
|
|
520
|
|
- task_type = #{record.taskType,jdbcType=VARCHAR},
|
|
521
|
|
- title = #{record.title,jdbcType=VARCHAR},
|
|
522
|
|
- version = #{record.version,jdbcType=INTEGER},
|
|
523
|
|
- task_type_name = #{record.taskTypeName,jdbcType=VARCHAR},
|
|
524
|
|
- is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
525
|
|
- is_countersign = #{record.isCountersign,jdbcType=INTEGER},
|
|
526
|
|
- apply_name = #{record.applyName,jdbcType=VARCHAR},
|
|
527
|
|
- apply_name_id = #{record.applyNameId,jdbcType=VARCHAR},
|
|
528
|
|
- apply_time = #{record.applyTime,jdbcType=TIMESTAMP}
|
|
529
|
|
- <if test="_parameter != null" >
|
|
530
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
531
|
|
- </if>
|
|
532
|
|
- </update>
|
|
533
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.business.model.BusinessApproval" >
|
|
534
|
|
- <!--
|
|
535
|
|
- WARNING - @mbggenerated
|
|
536
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
537
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
538
|
|
- -->
|
|
539
|
|
- update business_approval
|
|
540
|
|
- <set >
|
|
541
|
|
- <if test="createTime != null" >
|
|
542
|
|
- create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
543
|
|
- </if>
|
|
544
|
|
- <if test="isDeleted != null" >
|
|
545
|
|
- is_deleted = #{isDeleted,jdbcType=INTEGER},
|
|
546
|
|
- </if>
|
|
547
|
|
- <if test="remark != null" >
|
|
548
|
|
- remark = #{remark,jdbcType=VARCHAR},
|
|
549
|
|
- </if>
|
|
550
|
|
- <if test="updateTime != null" >
|
|
551
|
|
- update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
552
|
|
- </if>
|
|
553
|
|
- <if test="content != null" >
|
|
554
|
|
- content = #{content,jdbcType=VARCHAR},
|
|
555
|
|
- </if>
|
|
556
|
|
- <if test="fromDepartment != null" >
|
|
557
|
|
- from_department = #{fromDepartment,jdbcType=VARCHAR},
|
|
558
|
|
- </if>
|
|
559
|
|
- <if test="fromPeople != null" >
|
|
560
|
|
- from_people = #{fromPeople,jdbcType=VARCHAR},
|
|
561
|
|
- </if>
|
|
562
|
|
- <if test="fromUserName != null" >
|
|
563
|
|
- from_user_name = #{fromUserName,jdbcType=VARCHAR},
|
|
564
|
|
- </if>
|
|
565
|
|
- <if test="lastPeople != null" >
|
|
566
|
|
- last_people = #{lastPeople,jdbcType=VARCHAR},
|
|
567
|
|
- </if>
|
|
568
|
|
- <if test="operateTime != null" >
|
|
569
|
|
- operate_time = #{operateTime,jdbcType=VARCHAR},
|
|
570
|
|
- </if>
|
|
571
|
|
- <if test="operator != null" >
|
|
572
|
|
- operator = #{operator,jdbcType=VARCHAR},
|
|
573
|
|
- </if>
|
|
574
|
|
- <if test="operatorName != null" >
|
|
575
|
|
- operator_name = #{operatorName,jdbcType=VARCHAR},
|
|
576
|
|
- </if>
|
|
577
|
|
- <if test="processInstanceId != null" >
|
|
578
|
|
- process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
|
|
579
|
|
- </if>
|
|
580
|
|
- <if test="projectId != null" >
|
|
581
|
|
- project_id = #{projectId,jdbcType=INTEGER},
|
|
582
|
|
- </if>
|
|
583
|
|
- <if test="projectName != null" >
|
|
584
|
|
- project_name = #{projectName,jdbcType=VARCHAR},
|
|
585
|
|
- </if>
|
|
586
|
|
- <if test="result != null" >
|
|
587
|
|
- result = #{result,jdbcType=VARCHAR},
|
|
588
|
|
- </if>
|
|
589
|
|
- <if test="taskId != null" >
|
|
590
|
|
- task_id = #{taskId,jdbcType=VARCHAR},
|
|
591
|
|
- </if>
|
|
592
|
|
- <if test="taskInfo != null" >
|
|
593
|
|
- task_info = #{taskInfo,jdbcType=VARCHAR},
|
|
594
|
|
- </if>
|
|
595
|
|
- <if test="taskName != null" >
|
|
596
|
|
- task_name = #{taskName,jdbcType=VARCHAR},
|
|
597
|
|
- </if>
|
|
598
|
|
- <if test="taskType != null" >
|
|
599
|
|
- task_type = #{taskType,jdbcType=VARCHAR},
|
|
600
|
|
- </if>
|
|
601
|
|
- <if test="title != null" >
|
|
602
|
|
- title = #{title,jdbcType=VARCHAR},
|
|
603
|
|
- </if>
|
|
604
|
|
- <if test="version != null" >
|
|
605
|
|
- version = #{version,jdbcType=INTEGER},
|
|
606
|
|
- </if>
|
|
607
|
|
- <if test="taskTypeName != null" >
|
|
608
|
|
- task_type_name = #{taskTypeName,jdbcType=VARCHAR},
|
|
609
|
|
- </if>
|
|
610
|
|
- <if test="isHide != null" >
|
|
611
|
|
- is_hide = #{isHide,jdbcType=INTEGER},
|
|
612
|
|
- </if>
|
|
613
|
|
- <if test="isCountersign != null" >
|
|
614
|
|
- is_countersign = #{isCountersign,jdbcType=INTEGER},
|
|
615
|
|
- </if>
|
|
616
|
|
- <if test="applyName != null" >
|
|
617
|
|
- apply_name = #{applyName,jdbcType=VARCHAR},
|
|
618
|
|
- </if>
|
|
619
|
|
- <if test="applyNameId != null" >
|
|
620
|
|
- apply_name_id = #{applyNameId,jdbcType=VARCHAR},
|
|
621
|
|
- </if>
|
|
622
|
|
- <if test="applyTime != null" >
|
|
623
|
|
- apply_time = #{applyTime,jdbcType=TIMESTAMP},
|
|
624
|
|
- </if>
|
|
625
|
|
- </set>
|
|
626
|
|
- where id = #{id,jdbcType=INTEGER}
|
|
627
|
|
- </update>
|
|
628
|
|
- <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.business.model.BusinessApproval" >
|
|
629
|
|
- <!--
|
|
630
|
|
- WARNING - @mbggenerated
|
|
631
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
632
|
|
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
|
|
633
|
|
- -->
|
|
634
|
|
- update business_approval
|
|
635
|
|
- set create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
636
|
|
- is_deleted = #{isDeleted,jdbcType=INTEGER},
|
|
637
|
|
- remark = #{remark,jdbcType=VARCHAR},
|
|
638
|
|
- update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
639
|
|
- content = #{content,jdbcType=VARCHAR},
|
|
640
|
|
- from_department = #{fromDepartment,jdbcType=VARCHAR},
|
|
641
|
|
- from_people = #{fromPeople,jdbcType=VARCHAR},
|
|
642
|
|
- from_user_name = #{fromUserName,jdbcType=VARCHAR},
|
|
643
|
|
- last_people = #{lastPeople,jdbcType=VARCHAR},
|
|
644
|
|
- operate_time = #{operateTime,jdbcType=VARCHAR},
|
|
645
|
|
- operator = #{operator,jdbcType=VARCHAR},
|
|
646
|
|
- operator_name = #{operatorName,jdbcType=VARCHAR},
|
|
647
|
|
- process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
|
|
648
|
|
- project_id = #{projectId,jdbcType=INTEGER},
|
|
649
|
|
- project_name = #{projectName,jdbcType=VARCHAR},
|
|
650
|
|
- result = #{result,jdbcType=VARCHAR},
|
|
651
|
|
- task_id = #{taskId,jdbcType=VARCHAR},
|
|
652
|
|
- task_info = #{taskInfo,jdbcType=VARCHAR},
|
|
653
|
|
- task_name = #{taskName,jdbcType=VARCHAR},
|
|
654
|
|
- task_type = #{taskType,jdbcType=VARCHAR},
|
|
655
|
|
- title = #{title,jdbcType=VARCHAR},
|
|
656
|
|
- version = #{version,jdbcType=INTEGER},
|
|
657
|
|
- task_type_name = #{taskTypeName,jdbcType=VARCHAR},
|
|
658
|
|
- is_hide = #{isHide,jdbcType=INTEGER},
|
|
659
|
|
- is_countersign = #{isCountersign,jdbcType=INTEGER},
|
|
660
|
|
- apply_name = #{applyName,jdbcType=VARCHAR},
|
|
661
|
|
- apply_name_id = #{applyNameId,jdbcType=VARCHAR},
|
|
662
|
|
- apply_time = #{applyTime,jdbcType=TIMESTAMP}
|
|
663
|
|
- where id = #{id,jdbcType=INTEGER}
|
|
664
|
|
- </update>
|
|
665
|
|
-
|
|
666
|
|
- <select id="queryByMap" parameterType="java.util.Map" resultMap="BaseResultMap">
|
|
667
|
|
- select
|
|
668
|
|
- MAX(ba.create_time),
|
|
669
|
|
- ba.*,
|
|
670
|
|
- dp.id dpId,
|
|
671
|
|
- dp.audit_state auditState,
|
|
672
|
|
- du.id duId,
|
|
673
|
|
- du.state state
|
|
674
|
|
- from business_approval ba
|
|
675
|
|
- LEFT JOIN business_plan p on ba.project_id = p.id
|
|
676
|
|
- LEFT JOIN business_contract c on ba.project_id = c.id
|
|
677
|
|
- LEFT JOIN business_delivery_storage_notice n on ba.project_id = n.id
|
|
678
|
|
- LEFT JOIN business_drug_purchase dp ON ba.task_type_name = dp.apply_number
|
|
679
|
|
- LEFT JOIN business_drug_useapply du ON ba.task_type_name = du.apply_number
|
|
680
|
|
-
|
|
681
|
|
- <where>
|
|
682
|
|
- (ba.task_type='plan'
|
|
683
|
|
- or ba.task_type='contract'
|
|
684
|
|
- or ba.task_type='storageNotice'
|
|
685
|
|
- or ba.task_type='deliveryNotice'
|
|
686
|
|
- or ba.task_type='contractChange'
|
|
687
|
|
- or ba.task_type='drugUseApply'
|
|
688
|
|
- or ba.task_type='drugPurchase')
|
|
689
|
|
- and 1=1
|
|
690
|
|
- <if test="taskType!= null" >
|
|
691
|
|
- AND ba.task_type = #{taskType}
|
|
692
|
|
- </if>
|
|
693
|
|
- <if test="projectName!= null" >
|
|
694
|
|
- AND ba.project_name like CONCAT('%',#{projectName,jdbcType=VARCHAR},'%')
|
|
695
|
|
- </if>
|
|
696
|
|
- <if test="applyName!= null" >
|
|
697
|
|
- AND ba.apply_name like CONCAT('%',#{applyName,jdbcType=VARCHAR},'%')
|
|
698
|
|
- </if>
|
|
699
|
|
- <if test="taskId!= null" >
|
|
700
|
|
- AND ba.task_id = #{taskId}
|
|
701
|
|
- </if>
|
|
702
|
|
- <if test="projectId!= null" >
|
|
703
|
|
- AND ba.project_id = #{projectId}
|
|
704
|
|
- </if>
|
|
705
|
|
- <if test="'todo'==type"> <!-- 待办 -->
|
|
706
|
|
- <if test="userId!= null" >
|
|
707
|
|
- AND (
|
|
708
|
|
- (result = '待审批' and operator = #{userId} and
|
|
709
|
|
- ((c.audit_state=0 or c.audit_state=3 or c.audit_state=1)
|
|
710
|
|
- or (p.audit_state=0 or p.audit_state=3 or p.audit_state=1)
|
|
711
|
|
- or (n.audit_state=0 or n.audit_state=3 or n.audit_state=1)
|
|
712
|
|
- OR (dp.audit_state = 0 OR dp.audit_state = 3 )
|
|
713
|
|
- OR (du.state = 0 OR du.state = 3 ))) <!-- 待审批 是审批人是当前登录人 -->
|
|
714
|
|
-
|
|
715
|
|
- Or (result = '驳回' and apply_name_id = #{userId} and
|
|
716
|
|
- ((c.audit_state=0 or c.audit_state=3)
|
|
717
|
|
- or (p.audit_state=0 or p.audit_state=3)
|
|
718
|
|
- or (n.audit_state=0 or n.audit_state=3)
|
|
719
|
|
- OR (dp.audit_state = 0 OR dp.audit_state = 3 )
|
|
720
|
|
- OR (du.state = 0 OR du.state = 3 )))) <!-- 驳回 是申请人是当前登录人 -->
|
|
721
|
|
- GROUP BY ba.task_type_name
|
|
722
|
|
- </if>
|
|
723
|
|
- </if>
|
|
724
|
|
- <if test="'complete'==type"> <!-- 已办 -->
|
|
725
|
|
- <if test="userId!= null" >
|
|
726
|
|
- AND ((result = '同意' and operator =#{userId})
|
|
727
|
|
- or (result = '拒绝' and operator =#{userId})
|
|
728
|
|
- or (result = '已审批' and operator =#{userId})
|
|
729
|
|
- or (result = '审批结束' and operator =#{userId})
|
|
730
|
|
- or (result = '驳回' and operator =#{userId}))
|
|
731
|
|
- <!-- 1、当前登录人是创建者的时候,驳回时申请人是当前登录人2、当前 审批人驳回时,已办是审批人是当前登录人-->
|
|
732
|
|
- and ((c.audit_state=2 or c.audit_state=4 or c.audit_state=3 or c.audit_state=1)
|
|
733
|
|
- or (p.audit_state=2 or p.audit_state=4 or p.audit_state=3 or p.audit_state=1)
|
|
734
|
|
- or (n.audit_state=2 or n.audit_state=4 or n.audit_state=3 or n.audit_state=1)
|
|
735
|
|
- OR (dp.audit_state = 2 OR dp.audit_state = 4 OR dp.audit_state = 3 OR dp.audit_state = 1)
|
|
736
|
|
- OR (du.state = 2 OR du.state = 4 OR du.state = 3 OR du.state = 1))
|
|
737
|
|
- GROUP BY ba.task_type_name
|
|
738
|
|
- </if>
|
|
739
|
|
- </if>
|
|
740
|
|
- </where>
|
|
741
|
|
- ORDER BY apply_time desc
|
|
742
|
|
- </select>
|
|
743
|
|
-
|
|
744
|
|
- <!-- <resultMap id="getAuditResultMap" type="com.chinaitop.depot.act.model.HistoryList" extends="BaseResultMap">
|
|
745
|
|
- <result column="operator" property="assigneeName" jdbcType="VARCHAR" />
|
|
746
|
|
- <result column="content" property="comment" jdbcType="VARCHAR" />
|
|
747
|
|
- <result column="task_name" property="activityName" jdbcType="VARCHAR" />
|
|
748
|
|
- <result column="apply_name" property="applyName" jdbcType="VARCHAR" />
|
|
749
|
|
- <result column="from_department" property="department" jdbcType="VARCHAR" />
|
|
750
|
|
- </resultMap> -->
|
|
751
|
|
- <select id="getAudit" resultMap="BaseResultMap" parameterType="java.util.Map" >
|
|
752
|
|
- SELECT
|
|
753
|
|
- <include refid="Base_Column_List" />
|
|
754
|
|
- FROM
|
|
755
|
|
- business_approval
|
|
756
|
|
- <where>
|
|
757
|
|
- <if test="xzzbdh != null">
|
|
758
|
|
- task_type_name = #{xzzbdh,jdbcType=VARCHAR}
|
|
759
|
|
- </if>
|
|
760
|
|
- ORDER BY create_time ASC
|
|
761
|
|
- </where>
|
|
762
|
|
- </select>
|
|
763
|
|
-</mapper>
|