Browse Source

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

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
simonlll 1 month ago
parent
commit
80621230dd

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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