Browse Source

逾期客户列表交回报备初始化sql优化

master
God 1 year ago
parent
commit
92f134699e
  1. 4
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanrestorereportapply/LoanRestoreReportApplyMapper.xml

4
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanrestorereportapply/LoanRestoreReportApplyMapper.xml

@ -77,12 +77,12 @@
<select id="getYhjehsqs" resultType="java.lang.String"> <select id="getYhjehsqs" resultType="java.lang.String">
SELECT SELECT
ROUND( IFNULL(ROUND(
IFNULL(SUM(lrh.`actualMoney`), 0) / ( IFNULL(SUM(lrh.`actualMoney`), 0) / (
IFNULL(lrs.mainMidRepay, 0) + IFNULL(lrs.otherMidRepay, 0) IFNULL(lrs.mainMidRepay, 0) + IFNULL(lrs.otherMidRepay, 0)
), ),
1 1
) ),0)
FROM FROM
(SELECT DISTINCT (SELECT DISTINCT
scheduleSid scheduleSid

Loading…
Cancel
Save