Преглед изворни кода

feat: 8个台账Mapper新增人员姓名模糊查询条件

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
simonlll пре 1 месец
родитељ
комит
80621230dd

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerBannerLetterMapper.xml

@@ -30,6 +30,7 @@
30
         <include refid="selectVo"/>
30
         <include refid="selectVo"/>
31
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
31
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
32
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
32
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
33
+        <if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
33
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
34
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
34
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
35
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
35
         </if>
36
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerLeaveSpecialMapper.xml

@@ -29,6 +29,7 @@
29
         <include refid="selectVo"/>
29
         <include refid="selectVo"/>
30
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
30
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
31
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
31
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
32
+        <if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
32
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
33
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
33
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
34
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
34
         </if>
35
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerRealtimeInterceptionMapper.xml

@@ -42,6 +42,7 @@
42
         <include refid="selectVo"/>
42
         <include refid="selectVo"/>
43
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
43
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
44
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
44
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
45
+        <if test="inspectorName != null and inspectorName != ''">AND inspector_name LIKE CONCAT('%', #{inspectorName}, '%')</if>
45
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
46
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
46
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
47
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
47
         </if>
48
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerRewardApprovalMapper.xml

@@ -29,6 +29,7 @@
29
         <include refid="selectVo"/>
29
         <include refid="selectVo"/>
30
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
30
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
31
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
31
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
32
+        <if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
32
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
33
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
33
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
34
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
34
         </if>
35
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerRewardPenaltyMapper.xml

@@ -30,6 +30,7 @@
30
         <include refid="selectVo"/>
30
         <include refid="selectVo"/>
31
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
31
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
32
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
32
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
33
+        <if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
33
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
34
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
34
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
35
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
35
         </if>
36
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerSecurityTestMapper.xml

@@ -38,6 +38,7 @@
38
         <include refid="selectVo"/>
38
         <include refid="selectVo"/>
39
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
39
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
40
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
40
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
41
+        <if test="testedName != null and testedName != ''">AND tested_name LIKE CONCAT('%', #{testedName}, '%')</if>
41
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
42
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
42
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
43
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
43
         </if>
44
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerServicePatrolMapper.xml

@@ -37,6 +37,7 @@
37
         <include refid="selectVo"/>
37
         <include refid="selectVo"/>
38
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
38
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
39
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
39
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
40
+        <if test="inspectedName != null and inspectedName != ''">AND inspected_name LIKE CONCAT('%', #{inspectedName}, '%')</if>
40
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
41
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
41
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
42
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
42
         </if>
43
         </if>

+ 1 - 0
airport-ledger/src/main/resources/mapper/ledger/LedgerUnsafeEventMapper.xml

@@ -31,6 +31,7 @@
31
         <include refid="selectVo"/>
31
         <include refid="selectVo"/>
32
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
32
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
33
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
33
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
34
+        <if test="responsibleName != null and responsibleName != ''">AND responsible_name LIKE CONCAT('%', #{responsibleName}, '%')</if>
34
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
35
         <if test="params != null and params.beginTime != null and params.beginTime != ''">
35
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
36
             AND (record_date &gt;= #{params.beginTime} OR approve_date &gt;= #{params.beginTime} OR exam_date &gt;= #{params.beginTime})
36
         </if>
37
         </if>