|
@@ -90,7 +90,12 @@
|
|
|
</insert>
|
|
|
|
|
|
<select id="positiveRiskType" resultType="com.sundata.admin.nounmanage.model.DictContent">
|
|
|
- select RISKEXPOSURE_NO as id , RISKEXPOSURE_NAME as text,RISKEXPOSURE_SUPER as PARENTID from RWA_CALC_CONF_RISKEXPOSURE order by RISKEXPOSURE_NO asc
|
|
|
+ SELECT id AS id ,TEXT AS TEXT ,PARENTID AS PARENTID FROM (
|
|
|
+ select RISKEXPOSURE_NO as id , RISKEXPOSURE_NAME as text,RISKEXPOSURE_SUPER as PARENTID from RWA_CALC_CONF_RISKEXPOSURE where substr(RISKEXPOSURE_NO,0,1) like '${riskExposureCodeArtificial}%'
|
|
|
+ union all
|
|
|
+ select OFFOBJECT_NO as id , OFFOBJECT_NAME as text,OFFOBJECT_SUPER as PARENTID from RWA_CALC_CONF_OFFBALANCEPROTYPE where substr(OFFOBJECT_NO,0,1) like '${riskExposureCodeArtificial}%'
|
|
|
+ ) t
|
|
|
+ order by id asc
|
|
|
</select>
|
|
|
|
|
|
<select id="positiveOffProjectType" resultType="com.sundata.admin.nounmanage.model.DictContent">
|