|
|
@@ -28,6 +28,12 @@
|
|
28
|
28
|
<result property="usageStatus" column="usage_status"/>
|
|
29
|
29
|
<result property="scrappingDate" column="scrapping_date"/>
|
|
30
|
30
|
<result property="installationLocation" column="installation_location"/>
|
|
|
31
|
+ <result property="terminlCode" column="terminl_code"/>
|
|
|
32
|
+ <result property="terminlName" column="terminl_name"/>
|
|
|
33
|
+ <result property="regionalCode" column="regional_code"/>
|
|
|
34
|
+ <result property="regionalName" column="regional_name"/>
|
|
|
35
|
+ <result property="channelCode" column="channel_code"/>
|
|
|
36
|
+ <result property="channelName" column="channel_name"/>
|
|
31
|
37
|
<result property="inspectionSelfCheckDate" column="inspection_self_check_date"/>
|
|
32
|
38
|
<result property="inspectionSelfCheckCycle" column="inspection_self_check_cycle"/>
|
|
33
|
39
|
<result property="nextInspectionDueDate" column="next_inspection_due_date"/>
|
|
|
@@ -63,6 +69,12 @@
|
|
63
|
69
|
usage_status,
|
|
64
|
70
|
scrapping_date,
|
|
65
|
71
|
installation_location,
|
|
|
72
|
+ terminl_code,
|
|
|
73
|
+ terminl_name,
|
|
|
74
|
+ regional_code,
|
|
|
75
|
+ regional_name,
|
|
|
76
|
+ channel_code,
|
|
|
77
|
+ channel_name,
|
|
66
|
78
|
inspection_self_check_date,
|
|
67
|
79
|
inspection_self_check_cycle,
|
|
68
|
80
|
next_inspection_due_date,
|
|
|
@@ -105,6 +117,24 @@
|
|
105
|
117
|
<if test="installationLocation != null and installationLocation != ''">and installation_location =
|
|
106
|
118
|
#{installationLocation}
|
|
107
|
119
|
</if>
|
|
|
120
|
+ <if test="terminlCode != null and terminlCode != ''">and terminl_code =
|
|
|
121
|
+ #{terminlCode}
|
|
|
122
|
+ </if>
|
|
|
123
|
+ <if test="terminlName != null and terminlName != ''">and
|
|
|
124
|
+ terminl_name like concat('%', #{terminlName}, '%')
|
|
|
125
|
+ </if>
|
|
|
126
|
+ <if test="regionalCode != null and regionalCode != ''">and regional_code =
|
|
|
127
|
+ #{regionalCode}
|
|
|
128
|
+ </if>
|
|
|
129
|
+ <if test="regionalName != null and regionalName != ''">and
|
|
|
130
|
+ regional_name like concat('%', #{regionalName}, '%')
|
|
|
131
|
+ </if>
|
|
|
132
|
+ <if test="channelCode != null and channelCode != ''">and channel_code =
|
|
|
133
|
+ #{channelCode}
|
|
|
134
|
+ </if>
|
|
|
135
|
+ <if test="channelName != null and channelName != ''">and
|
|
|
136
|
+ channel_name like concat('%', #{channelName}, '%')
|
|
|
137
|
+ </if>
|
|
108
|
138
|
<if test="inspectionSelfCheckDate != null ">and inspection_self_check_date = #{inspectionSelfCheckDate}</if>
|
|
109
|
139
|
<if test="inspectionSelfCheckCycle != null ">and inspection_self_check_cycle = #{inspectionSelfCheckCycle}
|
|
110
|
140
|
</if>
|
|
|
@@ -211,6 +241,12 @@
|
|
211
|
241
|
<if test="usageStatus != null">usage_status,</if>
|
|
212
|
242
|
<if test="scrappingDate != null">scrapping_date,</if>
|
|
213
|
243
|
<if test="installationLocation != null">installation_location,</if>
|
|
|
244
|
+ <if test="terminlCode != null">terminl_code,</if>
|
|
|
245
|
+ <if test="terminlName != null">terminl_name,</if>
|
|
|
246
|
+ <if test="regionalCode != null">regional_code,</if>
|
|
|
247
|
+ <if test="regionalName != null">regional_name,</if>
|
|
|
248
|
+ <if test="channelCode != null">channel_code,</if>
|
|
|
249
|
+ <if test="channelName != null">channel_name,</if>
|
|
214
|
250
|
<if test="inspectionSelfCheckDate != null">inspection_self_check_date,</if>
|
|
215
|
251
|
<if test="inspectionSelfCheckCycle != null">inspection_self_check_cycle,</if>
|
|
216
|
252
|
<if test="nextInspectionDueDate != null">next_inspection_due_date,</if>
|
|
|
@@ -244,6 +280,12 @@
|
|
244
|
280
|
<if test="usageStatus != null">#{usageStatus},</if>
|
|
245
|
281
|
<if test="scrappingDate != null">#{scrappingDate},</if>
|
|
246
|
282
|
<if test="installationLocation != null">#{installationLocation},</if>
|
|
|
283
|
+ <if test="terminlCode != null">#{terminlCode},</if>
|
|
|
284
|
+ <if test="terminlName != null">#{terminlName},</if>
|
|
|
285
|
+ <if test="regionalCode != null">#{regionalCode},</if>
|
|
|
286
|
+ <if test="regionalName != null">#{regionalName},</if>
|
|
|
287
|
+ <if test="channelCode != null">#{channelCode},</if>
|
|
|
288
|
+ <if test="channelName != null">#{channelName},</if>
|
|
247
|
289
|
<if test="inspectionSelfCheckDate != null">#{inspectionSelfCheckDate},</if>
|
|
248
|
290
|
<if test="inspectionSelfCheckCycle != null">#{inspectionSelfCheckCycle},</if>
|
|
249
|
291
|
<if test="nextInspectionDueDate != null">#{nextInspectionDueDate},</if>
|
|
|
@@ -283,6 +325,12 @@
|
|
283
|
325
|
<if test="usageStatus != null">usage_status = #{usageStatus},</if>
|
|
284
|
326
|
<if test="scrappingDate != null">scrapping_date = #{scrappingDate},</if>
|
|
285
|
327
|
<if test="installationLocation != null">installation_location = #{installationLocation},</if>
|
|
|
328
|
+ <if test="terminlCode != null">terminl_code = #{terminlCode},</if>
|
|
|
329
|
+ <if test="terminlName != null">terminl_name = #{terminlName},</if>
|
|
|
330
|
+ <if test="regionalCode != null">regional_code = #{regionalCode},</if>
|
|
|
331
|
+ <if test="regionalName != null">regional_name = #{regionalName},</if>
|
|
|
332
|
+ <if test="channelCode != null">channel_code = #{channelCode},</if>
|
|
|
333
|
+ <if test="channelName != null">channel_name = #{channelName},</if>
|
|
286
|
334
|
<if test="inspectionSelfCheckDate != null">inspection_self_check_date = #{inspectionSelfCheckDate},</if>
|
|
287
|
335
|
<if test="inspectionSelfCheckCycle != null">inspection_self_check_cycle = #{inspectionSelfCheckCycle},</if>
|
|
288
|
336
|
<if test="nextInspectionDueDate != null">next_inspection_due_date = #{nextInspectionDueDate},</if>
|