xda 3 роки тому
батько
коміт
92430c22bc
1 змінених файлів з 3 додано та 0 видалено
  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}