zhangwei преди 3 години
родител
ревизия
f4db59dff0
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      src/main/resources/mapper/RepalRemindHistoryMapper.xml

+ 0 - 2
src/main/resources/mapper/RepalRemindHistoryMapper.xml

@@ -55,7 +55,6 @@
         and REPAL_BILL_ID = #{repalBillId}
         AND ID > #{riskId}) AS unreadRiskCount,
         (select count(*) from ACCOUNT_REMIND_HISTORY where REMIND_TYPE = 'FINANCE'
-        AND USER_ID = #{userId}
         and REPAL_BILL_ID = #{repalBillId}
         AND REMIND_TIME >= #{localDateTime}) AS financeCount,
         (select count(*) from ACCOUNT_REMIND_HISTORY where REMIND_TYPE = 'FINANCE'
@@ -63,7 +62,6 @@
         and REPAL_BILL_ID = #{repalBillId}
         AND ID > #{financeId} ) AS unreadFinanceCount,
         (select count(*) from ACCOUNT_REMIND_HISTORY where REMIND_TYPE = 'RANK'
-        AND USER_ID = #{userId}
         and REPAL_BILL_ID = #{repalBillId}
         AND REMIND_TIME >= #{localDateTime}) AS rankCount,
         (select count(*) from ACCOUNT_REMIND_HISTORY where REMIND_TYPE = 'RANK'