|
@@ -7,25 +7,25 @@
|
|
|
<select id="getDataList" resultType="com.sundata.product.rwa.internal.model.CapitalOccupyMonitorModel" parameterType="com.sundata.product.rwa.internal.model.CapitalOccupyMonitorModel">
|
|
|
SELECT
|
|
|
orgCode AS orgCode,
|
|
|
- sum(sumBalance) AS sumBalance,
|
|
|
- sum(onBalance) AS onBalance,
|
|
|
- sum(offBalance) AS offBalance,
|
|
|
- sum(monthaverageBalance) AS monthaverageBalance,
|
|
|
- sum(endoftermBalance) AS endoftermBalance,
|
|
|
- sum(thistermOnBalance) AS thistermOnBalance,
|
|
|
- sum(thistermOffBalance) AS thistermOffBalance,
|
|
|
- sum(monthaverageThistermBalance) AS monthaverageThistermBalance,
|
|
|
- sum(endoftermEcl) AS endoftermEcl,
|
|
|
- sum(endoftermOnEcl) AS endoftermOnEcl,
|
|
|
- sum(endoftermOffEcl) AS endoftermOffEcl,
|
|
|
- sum(endoftermSumEad) AS endoftermSumEad,
|
|
|
- sum(endoftermOnEad) AS endoftermOnEad,
|
|
|
- sum(endoftermOffEad) AS endoftermOffEad,
|
|
|
- sum(monthaverageEad) AS monthaverageEad,
|
|
|
- sum(sumRwa) AS sumRwa,
|
|
|
- sum(onRwa) AS onRwa,
|
|
|
- sum(offRwa) AS offRwa,
|
|
|
- sum(monthaverageRwa) AS monthaverageRwa,
|
|
|
+ sum(sumBalance)*0.000001 AS sumBalance,
|
|
|
+ sum(onBalance)*0.000001 AS onBalance,
|
|
|
+ sum(offBalance)*0.000001 AS offBalance,
|
|
|
+ sum(monthaverageBalance)*0.000001 AS monthaverageBalance,
|
|
|
+ sum(endoftermBalance)*0.000001 AS endoftermBalance,
|
|
|
+ sum(thistermOnBalance)*0.000001 AS thistermOnBalance,
|
|
|
+ sum(thistermOffBalance)*0.000001 AS thistermOffBalance,
|
|
|
+ sum(monthaverageThistermBalance)*0.000001 AS monthaverageThistermBalance,
|
|
|
+ sum(endoftermEcl)*0.000001 AS endoftermEcl,
|
|
|
+ sum(endoftermOnEcl)*0.000001 AS endoftermOnEcl,
|
|
|
+ sum(endoftermOffEcl)*0.000001 AS endoftermOffEcl,
|
|
|
+ sum(endoftermSumEad)*0.000001 AS endoftermSumEad,
|
|
|
+ sum(endoftermOnEad)*0.000001 AS endoftermOnEad,
|
|
|
+ sum(endoftermOffEad)*0.000001 AS endoftermOffEad,
|
|
|
+ sum(monthaverageEad) *0.000001 AS monthaverageEad,
|
|
|
+ sum(sumRwa)*0.000001 AS sumRwa,
|
|
|
+ sum(onRwa)*0.000001 AS onRwa,
|
|
|
+ sum(offRwa)*0.000001 AS offRwa,
|
|
|
+ sum(monthaverageRwa)*0.000001 AS monthaverageRwa,
|
|
|
sum(averageRiskWeight) AS averageRiskWeight
|
|
|
from (
|
|
|
select
|
|
@@ -141,37 +141,37 @@
|
|
|
REPO_TERM as repoTerm,
|
|
|
BOND_CODE as bondCode,
|
|
|
CORE_MARKET_PARTICIPANT_FLAG as coreMarketParticipantFlag,
|
|
|
- ASSET_BAL as assetBal,
|
|
|
+ ASSET_BAL*0.000001 as assetBal,
|
|
|
PRIN_ACCOUNT_NO as prinAccountNo,
|
|
|
- RECEIVABLE_INT as receivableInt,
|
|
|
+ RECEIVABLE_INT*0.000001 as receivableInt,
|
|
|
RECEIVABLE_INT_ACCOUNT_NO as receivableIntAccountNo,
|
|
|
- ACCR_INT as accrInt,
|
|
|
+ ACCR_INT*0.000001 as accrInt,
|
|
|
ACCR_INT_ACCOUNT_NO as accrIntAccountNo,
|
|
|
- INT_ADJ as intAdj,
|
|
|
+ INT_ADJ*0.000001 as intAdj,
|
|
|
INT_ADJ_ACCOUNT_NO as intAdjAccountNo,
|
|
|
- FAIR_VALUE_CHANGE as fairValueChange,
|
|
|
+ FAIR_VALUE_CHANGE*0.000001 as fairValueChange,
|
|
|
FAIR_VALUE_CHANGE_ACCOUNT_NO as fairValueChangeAccountNo,
|
|
|
- CHARGE as charge,
|
|
|
+ CHARGE*0.000001 as charge,
|
|
|
CHARGE_ACCOUNT_NO as chargeAccountNo,
|
|
|
BELONG_LINE as belongLine,
|
|
|
COMMITMENT_TYPE as commitmentType,
|
|
|
- PROVISION_RESERVE as provisionReserve,
|
|
|
+ PROVISION_RESERVE*0.000001 as provisionReserve,
|
|
|
RESERVE_ACCOUNT_NO as reserveAccountNo,
|
|
|
- THIS_BALANCE as thisBalance,
|
|
|
- COVERAGE_RISK0 as coverageRisk0,
|
|
|
- COVERAGE_RISK1 as coverageRisk1,
|
|
|
- COVERAGE_RISK2 as coverageRisk2,
|
|
|
- COVERAGE_RISK3 as coverageRisk3,
|
|
|
- COVERAGE_RISK4 as coverageRisk4,
|
|
|
- COVERAGE_RISK5 as coverageRisk5,
|
|
|
- UNFINISH_EAD as unfinishEad,
|
|
|
+ THIS_BALANCE*0.000001 as thisBalance,
|
|
|
+ COVERAGE_RISK0*0.000001 as coverageRisk0,
|
|
|
+ COVERAGE_RISK1*0.000001 as coverageRisk1,
|
|
|
+ COVERAGE_RISK2*0.000001 as coverageRisk2,
|
|
|
+ COVERAGE_RISK3*0.000001 as coverageRisk3,
|
|
|
+ COVERAGE_RISK4*0.000001 as coverageRisk4,
|
|
|
+ COVERAGE_RISK5*0.000001 as coverageRisk5,
|
|
|
+ UNFINISH_EAD*0.000001 as unfinishEad,
|
|
|
OFFBALSH_PROJECT_NAME as offbalshProjectName,
|
|
|
CCF as ccf,
|
|
|
RISK_EXPOSE_CLASS_RECOGNIZED_RESULT as riskExposeClassRecognizedResult,
|
|
|
DEBTITEM_RISK_WEIGHT as debtitemRiskWeight,
|
|
|
RISK_EXPOSURE_CODE_ARTIFICIAL as riskExposureCodeArtificial,
|
|
|
LOAN_WEIGHT_ARTIFICIAL as loanWeightArtificial,
|
|
|
- RWA as rwa
|
|
|
+ RWA*0.000001 as rwa
|
|
|
from RWA_REPORT_RS_MULTI_DIMENSIONAL_CREDIT_RISK
|
|
|
<where>
|
|
|
<if test="model.orgCode != null and '' != model.orgCode">
|
|
@@ -196,25 +196,25 @@
|
|
|
<select id="getDetailDataList1" resultType="com.sundata.product.rwa.internal.model.CapitalOccupyMonitorModel" >
|
|
|
SELECT
|
|
|
orgCode AS orgCode,
|
|
|
- sum(sumBalance) AS sumBalance,
|
|
|
- sum(onBalance) AS onBalance,
|
|
|
- sum(offBalance) AS offBalance,
|
|
|
- sum(monthaverageBalance) AS monthaverageBalance,
|
|
|
- sum(endoftermBalance) AS endoftermBalance,
|
|
|
- sum(thistermOnBalance) AS thistermOnBalance,
|
|
|
- sum(thistermOffBalance) AS thistermOffBalance,
|
|
|
- sum(monthaverageThistermBalance) AS monthaverageThistermBalance,
|
|
|
- sum(endoftermEcl) AS endoftermEcl,
|
|
|
- sum(endoftermOnEcl) AS endoftermOnEcl,
|
|
|
- sum(endoftermOffEcl) AS endoftermOffEcl,
|
|
|
- sum(endoftermSumEad) AS endoftermSumEad,
|
|
|
- sum(endoftermOnEad) AS endoftermOnEad,
|
|
|
- sum(endoftermOffEad) AS endoftermOffEad,
|
|
|
- sum(monthaverageEad) AS monthaverageEad,
|
|
|
- sum(sumRwa) AS sumRwa,
|
|
|
- sum(onRwa) AS onRwa,
|
|
|
- sum(offRwa) AS offRwa,
|
|
|
- sum(monthaverageRwa) AS monthaverageRwa,
|
|
|
+ sum(sumBalance)*0.000001 AS sumBalance,
|
|
|
+ sum(onBalance)*0.000001 AS onBalance,
|
|
|
+ sum(offBalance)*0.000001 AS offBalance,
|
|
|
+ sum(monthaverageBalance)*0.000001 AS monthaverageBalance,
|
|
|
+ sum(endoftermBalance)*0.000001 AS endoftermBalance,
|
|
|
+ sum(thistermOnBalance)*0.000001 AS thistermOnBalance,
|
|
|
+ sum(thistermOffBalance)*0.000001 AS thistermOffBalance,
|
|
|
+ sum(monthaverageThistermBalance)*0.000001 AS monthaverageThistermBalance,
|
|
|
+ sum(endoftermEcl)*0.000001 AS endoftermEcl,
|
|
|
+ sum(endoftermOnEcl)*0.000001 AS endoftermOnEcl,
|
|
|
+ sum(endoftermOffEcl)*0.000001 AS endoftermOffEcl,
|
|
|
+ sum(endoftermSumEad)*0.000001 AS endoftermSumEad,
|
|
|
+ sum(endoftermOnEad)*0.000001 AS endoftermOnEad,
|
|
|
+ sum(endoftermOffEad)*0.000001 AS endoftermOffEad,
|
|
|
+ sum(monthaverageEad)*0.000001 AS monthaverageEad,
|
|
|
+ sum(sumRwa)*0.000001 AS sumRwa,
|
|
|
+ sum(onRwa)*0.000001 AS onRwa,
|
|
|
+ sum(offRwa)*0.000001 AS offRwa,
|
|
|
+ sum(monthaverageRwa)*0.000001 AS monthaverageRwa,
|
|
|
sum(averageRiskWeight) AS averageRiskWeight
|
|
|
from (
|
|
|
select
|