|
@@ -10,11 +10,6 @@
|
10
|
10
|
<result column="status" property="status" jdbcType="CHAR" />
|
11
|
11
|
<result column="type" property="type" jdbcType="CHAR" />
|
12
|
12
|
<result column="repair_type" property="repairType" jdbcType="CHAR" />
|
13
|
|
- <result column="ticket_match_img1" property="ticketMatchImg1" jdbcType="VARCHAR" />
|
14
|
|
- <result column="ticket_match_img2" property="ticketMatchImg2" jdbcType="VARCHAR" />
|
15
|
|
- <result column="ticket_match_img3" property="ticketMatchImg3" jdbcType="VARCHAR" />
|
16
|
|
- <result column="ticket_match_img4" property="ticketMatchImg4" jdbcType="VARCHAR" />
|
17
|
|
- <result column="ticket_match_img5" property="ticketMatchImg5" jdbcType="VARCHAR" />
|
18
|
13
|
<result column="tp_user_id" property="tpUserId" jdbcType="INTEGER" />
|
19
|
14
|
<result column="score" property="score" jdbcType="VARCHAR" />
|
20
|
15
|
<result column="comment" property="comment" jdbcType="VARCHAR" />
|
|
@@ -24,8 +19,7 @@
|
24
|
19
|
<result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
|
25
|
20
|
</resultMap>
|
26
|
21
|
<sql id="Base_Column_List" >
|
27
|
|
- id, community_id, ta_user_id, ticket_title, ticket_content, status, type, repair_type,
|
28
|
|
- ticket_match_img1, ticket_match_img2, ticket_match_img3, ticket_match_img4, ticket_match_img5,
|
|
22
|
+ id, community_id, ta_user_id, ticket_title, ticket_content, status, type, repair_type,
|
29
|
23
|
tp_user_id, score, comment, create_user, create_date, update_user, update_date
|
30
|
24
|
</sql>
|
31
|
25
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
@@ -41,16 +35,12 @@
|
41
|
35
|
<insert id="insert" parameterType="com.community.huiju.model.TpTicket" >
|
42
|
36
|
insert into tp_ticket (id, community_id, ta_user_id,
|
43
|
37
|
ticket_title, ticket_content, status,
|
44
|
|
- type, repair_type, ticket_match_img1,
|
45
|
|
- ticket_match_img2, ticket_match_img3, ticket_match_img4,
|
46
|
|
- ticket_match_img5, tp_user_id, score,
|
|
38
|
+ type, repair_type, tp_user_id, score,
|
47
|
39
|
comment, create_user, create_date,
|
48
|
40
|
update_user, update_date)
|
49
|
41
|
values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{taUserId,jdbcType=INTEGER},
|
50
|
42
|
#{ticketTitle,jdbcType=VARCHAR}, #{ticketContent,jdbcType=VARCHAR}, #{status,jdbcType=CHAR},
|
51
|
|
- #{type,jdbcType=CHAR}, #{repairType,jdbcType=CHAR}, #{ticketMatchImg1,jdbcType=VARCHAR},
|
52
|
|
- #{ticketMatchImg2,jdbcType=VARCHAR}, #{ticketMatchImg3,jdbcType=VARCHAR}, #{ticketMatchImg4,jdbcType=VARCHAR},
|
53
|
|
- #{ticketMatchImg5,jdbcType=VARCHAR}, #{tpUserId,jdbcType=INTEGER}, #{score,jdbcType=VARCHAR},
|
|
43
|
+ #{type,jdbcType=CHAR}, #{repairType,jdbcType=CHAR}, #{tpUserId,jdbcType=INTEGER}, #{score,jdbcType=VARCHAR},
|
54
|
44
|
#{comment,jdbcType=VARCHAR}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP},
|
55
|
45
|
#{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP})
|
56
|
46
|
</insert>
|
|
@@ -81,21 +71,6 @@
|
81
|
71
|
<if test="repairType != null" >
|
82
|
72
|
repair_type,
|
83
|
73
|
</if>
|
84
|
|
- <if test="ticketMatchImg1 != null" >
|
85
|
|
- ticket_match_img1,
|
86
|
|
- </if>
|
87
|
|
- <if test="ticketMatchImg2 != null" >
|
88
|
|
- ticket_match_img2,
|
89
|
|
- </if>
|
90
|
|
- <if test="ticketMatchImg3 != null" >
|
91
|
|
- ticket_match_img3,
|
92
|
|
- </if>
|
93
|
|
- <if test="ticketMatchImg4 != null" >
|
94
|
|
- ticket_match_img4,
|
95
|
|
- </if>
|
96
|
|
- <if test="ticketMatchImg5 != null" >
|
97
|
|
- ticket_match_img5,
|
98
|
|
- </if>
|
99
|
74
|
<if test="tpUserId != null" >
|
100
|
75
|
tp_user_id,
|
101
|
76
|
</if>
|
|
@@ -143,21 +118,6 @@
|
143
|
118
|
<if test="repairType != null" >
|
144
|
119
|
#{repairType,jdbcType=CHAR},
|
145
|
120
|
</if>
|
146
|
|
- <if test="ticketMatchImg1 != null" >
|
147
|
|
- #{ticketMatchImg1,jdbcType=VARCHAR},
|
148
|
|
- </if>
|
149
|
|
- <if test="ticketMatchImg2 != null" >
|
150
|
|
- #{ticketMatchImg2,jdbcType=VARCHAR},
|
151
|
|
- </if>
|
152
|
|
- <if test="ticketMatchImg3 != null" >
|
153
|
|
- #{ticketMatchImg3,jdbcType=VARCHAR},
|
154
|
|
- </if>
|
155
|
|
- <if test="ticketMatchImg4 != null" >
|
156
|
|
- #{ticketMatchImg4,jdbcType=VARCHAR},
|
157
|
|
- </if>
|
158
|
|
- <if test="ticketMatchImg5 != null" >
|
159
|
|
- #{ticketMatchImg5,jdbcType=VARCHAR},
|
160
|
|
- </if>
|
161
|
121
|
<if test="tpUserId != null" >
|
162
|
122
|
#{tpUserId,jdbcType=INTEGER},
|
163
|
123
|
</if>
|
|
@@ -205,21 +165,6 @@
|
205
|
165
|
<if test="repairType != null" >
|
206
|
166
|
repair_type = #{repairType,jdbcType=CHAR},
|
207
|
167
|
</if>
|
208
|
|
- <if test="ticketMatchImg1 != null" >
|
209
|
|
- ticket_match_img1 = #{ticketMatchImg1,jdbcType=VARCHAR},
|
210
|
|
- </if>
|
211
|
|
- <if test="ticketMatchImg2 != null" >
|
212
|
|
- ticket_match_img2 = #{ticketMatchImg2,jdbcType=VARCHAR},
|
213
|
|
- </if>
|
214
|
|
- <if test="ticketMatchImg3 != null" >
|
215
|
|
- ticket_match_img3 = #{ticketMatchImg3,jdbcType=VARCHAR},
|
216
|
|
- </if>
|
217
|
|
- <if test="ticketMatchImg4 != null" >
|
218
|
|
- ticket_match_img4 = #{ticketMatchImg4,jdbcType=VARCHAR},
|
219
|
|
- </if>
|
220
|
|
- <if test="ticketMatchImg5 != null" >
|
221
|
|
- ticket_match_img5 = #{ticketMatchImg5,jdbcType=VARCHAR},
|
222
|
|
- </if>
|
223
|
168
|
<if test="tpUserId != null" >
|
224
|
169
|
tp_user_id = #{tpUserId,jdbcType=INTEGER},
|
225
|
170
|
</if>
|
|
@@ -253,11 +198,6 @@
|
253
|
198
|
status = #{status,jdbcType=CHAR},
|
254
|
199
|
type = #{type,jdbcType=CHAR},
|
255
|
200
|
repair_type = #{repairType,jdbcType=CHAR},
|
256
|
|
- ticket_match_img1 = #{ticketMatchImg1,jdbcType=VARCHAR},
|
257
|
|
- ticket_match_img2 = #{ticketMatchImg2,jdbcType=VARCHAR},
|
258
|
|
- ticket_match_img3 = #{ticketMatchImg3,jdbcType=VARCHAR},
|
259
|
|
- ticket_match_img4 = #{ticketMatchImg4,jdbcType=VARCHAR},
|
260
|
|
- ticket_match_img5 = #{ticketMatchImg5,jdbcType=VARCHAR},
|
261
|
201
|
tp_user_id = #{tpUserId,jdbcType=INTEGER},
|
262
|
202
|
score = #{score,jdbcType=VARCHAR},
|
263
|
203
|
comment = #{comment,jdbcType=VARCHAR},
|