Browse Source

首页统计数量

xda 3 years ago
parent
commit
92430c22bc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/resources/mapper/RepalBillMapper.xml

+ 3 - 0
src/main/resources/mapper/RepalBillMapper.xml

@@ -354,6 +354,9 @@
         <if test="repalBillStatus == 2">
             AND bill.REPAL_BILL_STATUS = 2
         </if>
+        <if test="repalBillStatus == null">
+            AND bill.REPAL_BILL_STATUS IN (1, 2)
+        </if>
         AND bill.REPAL_BILL_TYPE = #{repalBillType}
         <if test="userId != null">
             AND rPerson.USER_ID = #{userId}