RegBusClhjFwDao.xml
13.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
<?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.thinkgem.jeesite.modules.reg.dao.bus.RegBusClhjFwDao">
<sql id="regBusClhjFwColumns">
a.id AS "id",
a.xmxq AS "xmxq",
a.jgzwmc AS "jgzwmc",
a.ch AS "ch",
a.shbw AS "shbw",
a.fwzt AS "fwzt",
a.ywh AS "ywh",
a.bdcdyh AS "bdcdyh",
a.zl AS "zl",
a.fwxz AS "fwxz",
a.ghyt AS "ghyt",
a.zdftfs AS "zdftfs",
a.qdjg AS "qdjg",
a.fdcjyjg AS "fdcjyjg",
a.jzmj AS "jzmj",
a.djlx AS "djlx",
a.djxl AS "djxl",
a.bdcqzh AS "bdcqzh",
a.bdcqzbh AS "bdcqzbh",
a.pwh AS "pwh",
a.hbjk AS "hbjk",
a.hbhth AS "hbhth",
a.fzsj AS "fzsj",
a.zzsj AS "zzsj",
a.ybdcdyh AS "ybdcdyh",
a.qllx AS "qllx",
a.qlxz AS "qlxz",
a.djyy AS "djyy",
a.tdsyqssj AS "tdsyqssj",
a.tdsyjssj AS "tdsyjssj",
a.djjg AS "djjg",
a.dbr AS "dbr",
a.djsj AS "djsj",
a.fj AS "fj",
a.qszt AS "qszt",
a.cqly AS "cqly",
a.dybdclx AS "dybdclx",
a.dyfs AS "dyfs",
a.ygdjzl AS "ygdjzl",
a.htbh AS "htbh",
a.zjjzwdyfw AS "zjjzwdyfw",
a.zwlxqssj AS "zwlxqssj",
a.zwlxjssj AS "zwlxjssj",
a.zgzqqdss AS "zgzqqdss",
a.zxdyywh AS "zxdyywh",
a.zxdyyy AS "zxdyyy",
a.zxsj AS "zxsj",
a.bdcdjzmh AS "bdcdjzmh",
a.dbze AS "dbze",
a.bdbzzqse AS "bdbzzqse",
a.zgzqse AS "zgzqse",
a.pgjz AS "pgjz",
a.pgjzhj AS "pgjzhj",
a.dbsj AS "dbsj",
a.ybdcqzh AS "ybdcqzh",
a.cfjgbm AS "cfjgbm",
a.cflx AS "cflx",
a.cfwj AS "cfwj",
a.cfwh AS "cfwh",
a.cfqssj AS "cfqssj",
a.cfjssj AS "cfjssj",
a.cffw AS "cffw",
a.jfjg AS "jfjg",
a.jfwj AS "jfwj",
a.jfwh AS "jfwh",
a.yysx AS "yysx",
a.zxyyyy AS "zxyyyy",
a.qlrmc_1 AS "qlrmc1",
a.qlrzjzl_1 AS "qlrzjzl1",
a.qlrzjh_1 AS "qlrzjh1",
a.qlrlx_1 AS "qlrlx1",
a.qlrgyfs_1 AS "qlrgyfs1",
a.qlrqlrmc_2 AS "qlrqlrmc2",
a.qlrzjzl_2 AS "qlrzjzl2",
a.qlrzjh_2 AS "qlrzjh2",
a.qlrlx_2 AS "qlrlx2",
a.qlrgyfs_2 AS "qlrgyfs2",
a.qlrqlrmc_3 AS "qlrqlrmc3",
a.qlrzjzl_3 AS "qlrzjzl3",
a.qlrzjh_3 AS "qlrzjh3",
a.qlrlx_3 AS "qlrlx3",
a.qlrgyfs_3 AS "qlrgyfs3",
a.ywrmc_1 AS "ywrmc1",
a.ywrzjzl_1 AS "ywrzjzl1",
a.ywrzjh_1 AS "ywrzjh1",
a.ywrlx_1 AS "ywrlx1",
a.ywrgyfs_1 AS "ywrgyfs1",
a.ywrmc_2 AS "ywrmc2",
a.ywrzjzl_2 AS "ywrzjzl2",
a.ywrzjh_2 AS "ywrzjh2",
a.ywrlx_2 AS "ywrlx2",
a.ywrgyfs_2 AS "ywrgyfs2",
a.ywrmc_3 AS "ywrmc3",
a.ywrzjzl_3 AS "ywrzjzl3",
a.ywrzjh_3 AS "ywrzjh3",
a.ywrlx_3 AS "ywrlx3",
a.ywrgyfs_3 AS "ywrgyfs3",
a.dyrmc_1 AS "dyrmc1",
a.dyrzjzl_1 AS "dyrzjzl1",
a.dyrzjh_1 AS "dyrzjh1",
a.dyrlx_1 AS "dyrlx1",
a.dyrgyfs_1 AS "dyrgyfs1",
a.dyrmc_2 AS "dyrmc2",
a.dyrzjzl_2 AS "dyrzjzl2",
a.dyrzjh_2 AS "dyrzjh2",
a.dyrlx_2 AS "dyrlx2",
a.dyrgyfs_2 AS "dyrgyfs2",
a.dyrmc_3 AS "dyrmc3",
a.dyrzjzl_3 AS "dyrzjzl3",
a.dyrzjh_3 AS "dyrzjh3",
a.dyrlx_3 AS "dyrlx3",
a.dyrgyfs_3 AS "dyrgyfs3",
a.zwrmc AS "zwrmc",
a.zwrzjzl AS "zwrzjzl",
a.zwrzjh AS "zwrzjh",
a.zwrlx AS "zwrlx",
a.zwrgyfs AS "zwrgyfs",
a.create_by AS "createBy.id",
a.create_date AS "createDate",
a.update_by AS "updateBy.id",
a.update_date AS "updateDate",
a.isaudit AS "isaudit",
a.hx AS "hx",
a.hxjg AS "hxjg",
a.sctnjzmj AS "sctnjzmj",
a.fwlx AS "fwlx",
a.sbbj AS "sbbj",
a.del_flag AS "delFlag"
</sql>
<sql id="regBusClhjFwJoins">
</sql>
<select id="get" resultType="RegBusClhjFw">
SELECT
<include refid="regBusClhjFwColumns"/>
FROM reg_bus_clhj_fw a
<include refid="regBusClhjFwJoins"/>
WHERE a.id = #{id}
</select>
<select id="findList" resultType="RegBusClhjFw">
SELECT
<include refid="regBusClhjFwColumns"/>
FROM reg_bus_clhj_fw a
<include refid="regBusClhjFwJoins"/>
<where>
a.del_flag = #{DEL_FLAG_NORMAL}
<if test="bdcdyh != null and bdcdyh != ''">
AND a.bdcdyh LIKE
<if test="dbName == 'oracle'">'%'||#{bdcdyh}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{bdcdyh}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{bdcdyh},'%')</if>
</if>
<if test="zl != null and zl != ''">
AND a.zl LIKE
<if test="dbName == 'oracle'">'%'||#{zl}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{zl}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{zl},'%')</if>
</if>
<if test="bdcqzh != null and bdcqzh != ''">
AND a.bdcqzh LIKE
<if test="dbName == 'oracle'">'%'||#{bdcqzh}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{bdcqzh}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{bdcqzh},'%')</if>
</if>
<if test="xmxq != null and xmxq != ''">
AND a.xmxq LIKE
<if test="dbName == 'oracle'">'%'||#{xmxq}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{xmxq}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{xmxq},'%')</if>
</if>
<if test="ch != null and ch != ''">
AND a.ch LIKE
<if test="dbName == 'oracle'">'%'||#{ch}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{ch}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{ch},'%')</if>
</if>
<if test="isaudit != null and isaudit != ''">
AND a.isaudit LIKE
<if test="dbName == 'oracle'">'%'||#{isaudit}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{isaudit}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{isaudit},'%')</if>
</if>
<if test="shbw != null and shbw != ''">
AND a.shbw LIKE
<if test="dbName == 'oracle'">'%'||#{shbw}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{shbw}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{shbw},'%')</if>
</if>
<if test="jzmj != null and shbw != ''">
AND a.shbw LIKE
<if test="dbName == 'oracle'">'%'||#{jzmj}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{jzmj}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{jzmj},'%')</if>
</if>
<if test="isaudit != null and isaudit != ''">
AND a.isaudit = #{isaudit}
</if>
<if test="djxl != null and djxl != ''">
AND a.djxl = #{djxl}
</if>
</where>
<choose>
<when test="page !=null and page.orderBy != null and page.orderBy != ''">
ORDER BY ${page.orderBy}
</when>
<otherwise>
ORDER BY a.bdcdyh,a.djxl
</otherwise>
</choose>
</select>
<select id="findAllList" resultType="RegBusClhjFw">
SELECT a.id
FROM reg_bus_clhj_fw a
<include refid="regBusClhjFwJoins"/>
<where>
a.del_flag = #{DEL_FLAG_NORMAL}
<if test="xmxq != null and xmxq != ''">
AND a.xmxq = #{xmxq}
</if>
<if test="isaudit != null and isaudit != ''">
AND a.isaudit = #{isaudit}
</if>
<if test="bdcdyh != null and bdcdyh != ''">
AND a.bdcdyh LIKE
<if test="dbName == 'oracle'">'%'||#{bdcdyh}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{bdcdyh}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{bdcdyh},'%')</if>
</if>
</where>
<choose>
<otherwise>
ORDER BY a.djxl asc
</otherwise>
</choose>
</select>
<select id="findshlist" resultType="String">
SELECT a.id
FROM reg_bus_clhj_fw a where a.isaudit = '0' and a.del_flag ='0'
<choose>
<otherwise>
ORDER BY a.djxl asc
</otherwise>
</choose>
</select>
<insert id="insert">
INSERT INTO reg_bus_clhj_fw(
id,
xmxq,
jgzwmc,
ch,
shbw,
fwzt,
ywh,
bdcdyh,
zl,
fwxz,
ghyt,
zdftfs,
qdjg,
fdcjyjg,
jzmj,
djlx,
djxl,
bdcqzh,
bdcqzbh,
pwh,
hbjk,
hbhth,
fzsj,
zzsj,
ybdcdyh,
qllx,
qlxz,
djyy,
tdsyqssj,
tdsyjssj,
djjg,
dbr,
djsj,
fj,
qszt,
cqly,
dybdclx,
dyfs,
ygdjzl,
htbh,
zjjzwdyfw,
zwlxqssj,
zwlxjssj,
zgzqqdss,
zxdyywh,
zxdyyy,
zxsj,
bdcdjzmh,
dbze,
bdbzzqse,
zgzqse,
pgjz,
pgjzhj,
dbsj,
ybdcqzh,
cfjgbm,
cflx,
cfwj,
cfwh,
cfqssj,
cfjssj,
cffw,
jfjg,
jfwj,
jfwh,
yysx,
zxyyyy,
qlrmc_1,
qlrzjzl_1,
qlrzjh_1,
qlrlx_1,
qlrgyfs_1,
qlrqlrmc_2,
qlrzjzl_2,
qlrzjh_2,
qlrlx_2,
qlrgyfs_2,
qlrqlrmc_3,
qlrzjzl_3,
qlrzjh_3,
qlrlx_3,
qlrgyfs_3,
ywrmc_1,
ywrzjzl_1,
ywrzjh_1,
ywrlx_1,
ywrgyfs_1,
ywrmc_2,
ywrzjzl_2,
ywrzjh_2,
ywrlx_2,
ywrgyfs_2,
ywrmc_3,
ywrzjzl_3,
ywrzjh_3,
ywrlx_3,
ywrgyfs_3,
dyrmc_1,
dyrzjzl_1,
dyrzjh_1,
dyrlx_1,
dyrgyfs_1,
dyrmc_2,
dyrzjzl_2,
dyrzjh_2,
dyrlx_2,
dyrgyfs_2,
dyrmc_3,
dyrzjzl_3,
dyrzjh_3,
dyrlx_3,
dyrgyfs_3,
zwrmc,
zwrzjzl,
zwrzjh,
zwrlx,
zwrgyfs,
create_by,
create_date,
update_by,
update_date,
isaudit,
hx,
hxjg,
sctnjzmj,
fwlx,
sbbj,
del_flag
) VALUES (
#{id},
#{xmxq},
#{jgzwmc},
#{ch},
#{shbw},
#{fwzt},
#{ywh},
#{bdcdyh},
#{zl},
#{fwxz},
#{ghyt},
#{zdftfs},
#{qdjg},
#{fdcjyjg},
#{jzmj},
#{djlx},
#{djxl},
#{bdcqzh},
#{bdcqzbh},
#{pwh},
#{hbjk},
#{hbhth},
#{fzsj},
#{zzsj},
#{ybdcdyh},
#{qllx},
#{qlxz},
#{djyy},
#{tdsyqssj},
#{tdsyjssj},
#{djjg},
#{dbr},
#{djsj},
#{fj},
#{qszt},
#{cqly},
#{dybdclx},
#{dyfs},
#{ygdjzl},
#{htbh},
#{zjjzwdyfw},
#{zwlxqssj},
#{zwlxjssj},
#{zgzqqdss},
#{zxdyywh},
#{zxdyyy},
#{zxsj},
#{bdcdjzmh},
#{dbze},
#{bdbzzqse},
#{zgzqse},
#{pgjz},
#{pgjzhj},
#{dbsj},
#{ybdcqzh},
#{cfjgbm},
#{cflx},
#{cfwj},
#{cfwh},
#{cfqssj},
#{cfjssj},
#{cffw},
#{jfjg},
#{jfwj},
#{jfwh},
#{yysx},
#{zxyyyy},
#{qlrmc1},
#{qlrzjzl1},
#{qlrzjh1},
#{qlrlx1},
#{qlrgyfs1},
#{qlrqlrmc2},
#{qlrzjzl2},
#{qlrzjh2},
#{qlrlx2},
#{qlrgyfs2},
#{qlrqlrmc3},
#{qlrzjzl3},
#{qlrzjh3},
#{qlrlx3},
#{qlrgyfs3},
#{ywrmc1},
#{ywrzjzl1},
#{ywrzjh1},
#{ywrlx1},
#{ywrgyfs1},
#{ywrmc2},
#{ywrzjzl2},
#{ywrzjh2},
#{ywrlx2},
#{ywrgyfs2},
#{ywrmc3},
#{ywrzjzl3},
#{ywrzjh3},
#{ywrlx3},
#{ywrgyfs3},
#{dyrmc1},
#{dyrzjzl1},
#{dyrzjh1},
#{dyrlx1},
#{dyrgyfs1},
#{dyrmc2},
#{dyrzjzl2},
#{dyrzjh2},
#{dyrlx2},
#{dyrgyfs2},
#{dyrmc3},
#{dyrzjzl3},
#{dyrzjh3},
#{dyrlx3},
#{dyrgyfs3},
#{zwrmc},
#{zwrzjzl},
#{zwrzjh},
#{zwrlx},
#{zwrgyfs},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{isaudit},
#{hx},
#{hxjg},
#{sctnjzmj},
#{fwlx},
#{sbbj},
#{delFlag}
)
</insert>
<update id="update">
UPDATE reg_bus_clhj_fw SET
xmxq = #{xmxq},
jgzwmc = #{jgzwmc},
ch = #{ch},
shbw = #{shbw},
fwzt = #{fwzt},
ywh = #{ywh},
bdcdyh = #{bdcdyh},
zl = #{zl},
fwxz = #{fwxz},
ghyt = #{ghyt},
zdftfs = #{zdftfs},
qdjg = #{qdjg},
fdcjyjg = #{fdcjyjg},
jzmj = #{jzmj},
djlx = #{djlx},
djxl = #{djxl},
bdcqzh = #{bdcqzh},
bdcqzbh = #{bdcqzbh},
pwh = #{pwh},
hbjk = #{hbjk},
hbhth = #{hbhth},
fzsj = #{fzsj},
zzsj = #{zzsj},
ybdcdyh = #{ybdcdyh},
qllx = #{qllx},
qlxz = #{qlxz},
djyy = #{djyy},
tdsyqssj = #{tdsyqssj},
tdsyjssj = #{tdsyjssj},
djjg = #{djjg},
dbr = #{dbr},
djsj = #{djsj},
fj = #{fj},
qszt = #{qszt},
cqly = #{cqly},
dybdclx = #{dybdclx},
dyfs = #{dyfs},
ygdjzl = #{ygdjzl},
htbh = #{htbh},
zjjzwdyfw = #{zjjzwdyfw},
zwlxqssj = #{zwlxqssj},
zwlxjssj = #{zwlxjssj},
zgzqqdss = #{zgzqqdss},
zxdyywh = #{zxdyywh},
zxdyyy = #{zxdyyy},
zxsj = #{zxsj},
bdcdjzmh = #{bdcdjzmh},
dbze = #{dbze},
bdbzzqse = #{bdbzzqse},
zgzqse = #{zgzqse},
pgjz = #{pgjz},
pgjzhj = #{pgjzhj},
dbsj = #{dbsj},
ybdcqzh = #{ybdcqzh},
cfjgbm = #{cfjgbm},
cflx = #{cflx},
cfwj = #{cfwj},
cfwh = #{cfwh},
cfqssj = #{cfqssj},
cfjssj = #{cfjssj},
cffw = #{cffw},
jfjg = #{jfjg},
jfwj = #{jfwj},
jfwh = #{jfwh},
yysx = #{yysx},
zxyyyy = #{zxyyyy},
qlrmc_1 = #{qlrmc1},
qlrzjzl_1 = #{qlrzjzl1},
qlrzjh_1 = #{qlrzjh1},
qlrlx_1 = #{qlrlx1},
qlrgyfs_1 = #{qlrgyfs1},
qlrqlrmc_2 = #{qlrqlrmc2},
qlrzjzl_2 = #{qlrzjzl2},
qlrzjh_2 = #{qlrzjh2},
qlrlx_2 = #{qlrlx2},
qlrgyfs_2 = #{qlrgyfs2},
qlrqlrmc_3 = #{qlrqlrmc3},
qlrzjzl_3 = #{qlrzjzl3},
qlrzjh_3 = #{qlrzjh3},
qlrlx_3 = #{qlrlx3},
qlrgyfs_3 = #{qlrgyfs3},
ywrmc_1 = #{ywrmc1},
ywrzjzl_1 = #{ywrzjzl1},
ywrzjh_1 = #{ywrzjh1},
ywrlx_1 = #{ywrlx1},
ywrgyfs_1 = #{ywrgyfs1},
ywrmc_2 = #{ywrmc2},
ywrzjzl_2 = #{ywrzjzl2},
ywrzjh_2 = #{ywrzjh2},
ywrlx_2 = #{ywrlx2},
ywrgyfs_2 = #{ywrgyfs2},
ywrmc_3 = #{ywrmc3},
ywrzjzl_3 = #{ywrzjzl3},
ywrzjh_3 = #{ywrzjh3},
ywrlx_3 = #{ywrlx3},
ywrgyfs_3 = #{ywrgyfs3},
dyrmc_1 = #{dyrmc1},
dyrzjzl_1 = #{dyrzjzl1},
dyrzjh_1 = #{dyrzjh1},
dyrlx_1 = #{dyrlx1},
dyrgyfs_1 = #{dyrgyfs1},
dyrmc_2 = #{dyrmc2},
dyrzjzl_2 = #{dyrzjzl2},
dyrzjh_2 = #{dyrzjh2},
dyrlx_2 = #{dyrlx2},
dyrgyfs_2 = #{dyrgyfs2},
dyrmc_3 = #{dyrmc3},
dyrzjzl_3 = #{dyrzjzl3},
dyrzjh_3 = #{dyrzjh3},
dyrlx_3 = #{dyrlx3},
dyrgyfs_3 = #{dyrgyfs3},
zwrmc = #{zwrmc},
zwrzjzl = #{zwrzjzl},
zwrzjh = #{zwrzjh},
zwrlx = #{zwrlx},
zwrgyfs = #{zwrgyfs},
update_by = #{updateBy.id},
isaudit=#{isaudit},
hx=#{hx},
hxjg=#{hxjg},
sctnjzmj=#{sctnjzmj},
fwlx=#{fwlx},
sbbj=#{sbbj},
update_date = #{updateDate}
WHERE id = #{id}
</update>
<update id="delete">
DELETE from reg_bus_clhj_fw
WHERE id = #{id}
</update>
<select id="findMaxYwhLs" resultType="string">
SELECT MAX(ywh) from reg_bus_clhj_fw where LENGTH(ywh) = 15
</select>
</mapper>