소스 검색

优化审核时间

java110 5 년 전
부모
커밋
941ef648b4
1개의 변경된 파일10개의 추가작업 그리고 6개의 파일을 삭제
  1. 10 6
      java110-db/src/main/resources/mapper/fee/PayFeeAuditServiceDaoImplMapper.xml

+ 10 - 6
java110-db/src/main/resources/mapper/fee/PayFeeAuditServiceDaoImplMapper.xml

@@ -43,9 +43,11 @@
         <if test="payerObjType !=null and payerObjType != ''">
             and pf.payer_obj_type = #{payerObjType}
         </if>
-        <if test="state !=null and state != ''">
-            and (pfa.state is null
-            or pfa.state = #{state})
+        <if test="state !=null and state != '1010'">
+            and  pfa.state = #{state}
+        </if>
+        <if test="state !=null and state == '1010'">
+            and pfa.state is null
         </if>
         ORDER BY pfd.create_time desc
         <if test="page != -1 and page != null ">
@@ -113,9 +115,11 @@
         <if test="payerObjType !=null and payerObjType != ''">
             and pf.payer_obj_type = #{payerObjType}
         </if>
-        <if test="state !=null and state != ''">
-            and (pfa.state is null
-            or pfa.state = #{state})
+        <if test="state !=null and state != '1010'">
+            and  pfa.state = #{state}
+        </if>
+        <if test="state !=null and state == '1010'">
+            and pfa.state is null
         </if>