|
|
@@ -29,6 +29,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
29
|
29
|
AND review_date >= #{startTime}
|
|
30
|
30
|
AND review_date <= #{endTime}
|
|
31
|
31
|
</if>
|
|
|
32
|
+ <if test="terminalId != null">
|
|
|
33
|
+ AND terminal_id = #{terminalId}
|
|
|
34
|
+ </if>
|
|
32
|
35
|
<if test="supervisorId != null">
|
|
33
|
36
|
AND supervisor_id = #{supervisorId}
|
|
34
|
37
|
</if>
|
|
|
@@ -196,6 +199,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
196
|
199
|
<if test="brigadeId != null">
|
|
197
|
200
|
AND brigade_id = #{brigadeId}
|
|
198
|
201
|
</if>
|
|
|
202
|
+ <if test="terminalId != null">
|
|
|
203
|
+ AND terminal_id = #{terminalId}
|
|
|
204
|
+ </if>
|
|
199
|
205
|
<if test="supervisorId != null">
|
|
200
|
206
|
AND supervisor_id = #{supervisorId}
|
|
201
|
207
|
</if>
|
|
|
@@ -251,6 +257,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
251
|
257
|
<if test="brigadeId != null">
|
|
252
|
258
|
AND brigade_id = #{brigadeId}
|
|
253
|
259
|
</if>
|
|
|
260
|
+ <if test="terminalId != null">
|
|
|
261
|
+ AND terminal_id = #{terminalId}
|
|
|
262
|
+ </if>
|
|
254
|
263
|
<if test="supervisorId != null">
|
|
255
|
264
|
AND supervisor_id = #{supervisorId}
|
|
256
|
265
|
</if>
|
|
|
@@ -380,6 +389,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
380
|
389
|
<if test="brigadeId != null">
|
|
381
|
390
|
AND brigade_id = #{brigadeId}
|
|
382
|
391
|
</if>
|
|
|
392
|
+ <if test="terminalId != null">
|
|
|
393
|
+ AND terminal_id = #{terminalId}
|
|
|
394
|
+ </if>
|
|
383
|
395
|
<if test="supervisorId != null">
|
|
384
|
396
|
AND supervisor_id = #{supervisorId}
|
|
385
|
397
|
</if>
|
|
|
@@ -411,6 +423,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
411
|
423
|
<if test="brigadeId != null">
|
|
412
|
424
|
AND brigade_id = #{brigadeId}
|
|
413
|
425
|
</if>
|
|
|
426
|
+ <if test="terminalId != null">
|
|
|
427
|
+ AND terminal_id = #{terminalId}
|
|
|
428
|
+ </if>
|
|
414
|
429
|
<if test="teamLeaderId != null">
|
|
415
|
430
|
AND team_leader_id = #{teamLeaderId}
|
|
416
|
431
|
</if>
|
|
|
@@ -442,6 +457,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
442
|
457
|
<if test="brigadeId != null">
|
|
443
|
458
|
AND brigade_id = #{brigadeId}
|
|
444
|
459
|
</if>
|
|
|
460
|
+ <if test="terminalId != null">
|
|
|
461
|
+ AND terminal_id = #{terminalId}
|
|
|
462
|
+ </if>
|
|
445
|
463
|
<if test="reviewedUserId != null">
|
|
446
|
464
|
AND reviewed_user_id = #{reviewedUserId}
|
|
447
|
465
|
</if>
|
|
|
@@ -476,6 +494,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
476
|
494
|
<if test="brigadeId != null">
|
|
477
|
495
|
AND brigade_id = #{brigadeId}
|
|
478
|
496
|
</if>
|
|
|
497
|
+ <if test="terminalId != null">
|
|
|
498
|
+ AND terminal_id = #{terminalId}
|
|
|
499
|
+ </if>
|
|
479
|
500
|
<if test="itemLocation != null and itemLocation != ''">
|
|
480
|
501
|
AND item_location = #{itemLocation}
|
|
481
|
502
|
</if>
|
|
|
@@ -543,6 +564,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
543
|
564
|
<if test="brigadeId != null">
|
|
544
|
565
|
AND brigade_id = #{brigadeId}
|
|
545
|
566
|
</if>
|
|
|
567
|
+ <if test="terminalId != null">
|
|
|
568
|
+ AND terminal_id = #{terminalId}
|
|
|
569
|
+ </if>
|
|
546
|
570
|
<if test="supervisorId != null">
|
|
547
|
571
|
AND supervisor_id = #{supervisorId}
|
|
548
|
572
|
</if>
|
|
|
@@ -670,6 +694,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
670
|
694
|
<if test="brigadeId != null">
|
|
671
|
695
|
AND brigade_id = #{brigadeId}
|
|
672
|
696
|
</if>
|
|
|
697
|
+ <if test="terminalId != null">
|
|
|
698
|
+ AND terminal_id = #{terminalId}
|
|
|
699
|
+ </if>
|
|
673
|
700
|
<if test="startTime != null and endTime != null">
|
|
674
|
701
|
AND review_date >= #{startTime}
|
|
675
|
702
|
AND review_date <= #{endTime}
|
|
|
@@ -738,6 +765,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
738
|
765
|
<if test="brigadeId != null">
|
|
739
|
766
|
AND brigade_id = #{brigadeId}
|
|
740
|
767
|
</if>
|
|
|
768
|
+ <if test="terminalId != null">
|
|
|
769
|
+ AND terminal_id = #{terminalId}
|
|
|
770
|
+ </if>
|
|
741
|
771
|
<if test="startTime != null and endTime != null">
|
|
742
|
772
|
AND review_date >= #{startTime}
|
|
743
|
773
|
AND review_date <= #{endTime}
|
|
|
@@ -769,6 +799,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
769
|
799
|
<if test="brigadeId != null">
|
|
770
|
800
|
AND brigade_id = #{brigadeId}
|
|
771
|
801
|
</if>
|
|
|
802
|
+ <if test="terminalId != null">
|
|
|
803
|
+ AND terminal_id = #{terminalId}
|
|
|
804
|
+ </if>
|
|
772
|
805
|
<if test="startTime != null and endTime != null">
|
|
773
|
806
|
AND review_date >= #{startTime}
|
|
774
|
807
|
AND review_date <= #{endTime}
|
|
|
@@ -800,6 +833,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
800
|
833
|
<if test="brigadeId != null">
|
|
801
|
834
|
AND brigade_id = #{brigadeId}
|
|
802
|
835
|
</if>
|
|
|
836
|
+ <if test="terminalId != null">
|
|
|
837
|
+ AND terminal_id = #{terminalId}
|
|
|
838
|
+ </if>
|
|
803
|
839
|
<if test="startTime != null and endTime != null">
|
|
804
|
840
|
AND review_date >= #{startTime}
|
|
805
|
841
|
AND review_date <= #{endTime}
|
|
|
@@ -831,6 +867,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
831
|
867
|
<if test="brigadeId != null">
|
|
832
|
868
|
AND brigade_id = #{brigadeId}
|
|
833
|
869
|
</if>
|
|
|
870
|
+ <if test="terminalId != null">
|
|
|
871
|
+ AND terminal_id = #{terminalId}
|
|
|
872
|
+ </if>
|
|
834
|
873
|
<if test="startTime != null and endTime != null">
|
|
835
|
874
|
AND review_date >= #{startTime}
|
|
836
|
875
|
AND review_date <= #{endTime}
|
|
|
@@ -861,6 +900,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
861
|
900
|
<if test="brigadeId != null">
|
|
862
|
901
|
AND brigade_id = #{brigadeId}
|
|
863
|
902
|
</if>
|
|
|
903
|
+ <if test="terminalId != null">
|
|
|
904
|
+ AND terminal_id = #{terminalId}
|
|
|
905
|
+ </if>
|
|
864
|
906
|
<if test="startTime != null and endTime != null">
|
|
865
|
907
|
AND review_date >= #{startTime}
|
|
866
|
908
|
AND review_date <= #{endTime}
|
|
|
@@ -912,6 +954,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
912
|
954
|
<if test="brigadeId != null">
|
|
913
|
955
|
AND brigade_id = #{brigadeId}
|
|
914
|
956
|
</if>
|
|
|
957
|
+ <if test="terminalId != null">
|
|
|
958
|
+ AND terminal_id = #{terminalId}
|
|
|
959
|
+ </if>
|
|
915
|
960
|
<if test="startTime != null and endTime != null">
|
|
916
|
961
|
AND review_date >= #{startTime}
|
|
917
|
962
|
AND review_date <= #{endTime}
|
|
|
@@ -942,6 +987,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
942
|
987
|
<if test="brigadeId != null">
|
|
943
|
988
|
AND brigade_id = #{brigadeId}
|
|
944
|
989
|
</if>
|
|
|
990
|
+ <if test="terminalId != null">
|
|
|
991
|
+ AND terminal_id = #{terminalId}
|
|
|
992
|
+ </if>
|
|
945
|
993
|
<if test="startTime != null and endTime != null">
|
|
946
|
994
|
AND review_date >= #{startTime}
|
|
947
|
995
|
AND review_date <= #{endTime}
|