Przeglądaj źródła

优化退费审核功能

Your Name 3 lat temu
rodzic
commit
420f6b8565

+ 13 - 0
java110-db/src/main/resources/mapper/fee/ReturnPayFeeServiceDaoImplMapper.xml

@@ -161,6 +161,8 @@
         t.b_id,t.b_id bId,
         t.community_id,t.community_id communityId,
         t.create_time,t.create_time createTime,
+        t.apply_person_id applyPersonId,t.apply_person_name applyPersonName,
+        t.audit_person_id auditPersonId,t.audit_person_name auditPersonName,
         d.name feeTypeCdName,
         c.name stateName,
         pf.payer_obj_type payerObjType,
@@ -229,6 +231,17 @@
         <if test="communityId !=null and communityId != ''">
             and t.community_id= #{communityId}
         </if>
+        <if test="applyPersonId !=null and applyPersonId != ''">
+            and t.apply_person_id= #{applyPersonId}
+        </if>
+        <if test="applyPersonName !=null and applyPersonName != ''">
+            and t.apply_person_name like concat('%',#{applyPersonName},'%')
+        </if>
+        <if test="auditPersonId !=null and auditPersonId != ''">
+            and t.audit_person_id= #{auditPersonId}
+        </if>
+        <if test="auditPersonName !=null and auditPersonName != ''">
+        and t.audit_person_name like concat('%',#{auditPersonName},'%')
         order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}

+ 1 - 1
java110-db/src/main/resources/mapper/fee/ReturnPayFeeV1ServiceDaoImplMapper.xml

@@ -82,7 +82,7 @@
             and t.audit_person_id= #{auditPersonId}
         </if>
         <if test="auditPersonName !=null and auditPersonName != ''">
-            and t.audit_person_name= #{auditPersonName}
+            and t.audit_person_name like concat('%',#{auditPersonName},'%')
         </if>
         order by t.create_time desc
         <if test="page != -1 and page != null ">