|
@@ -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'
|