zhang_qk 3 settimane fa
parent
commit
0a94e73b8a

+ 2 - 2
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/FaGlBalanceSheetMapper.xml

@@ -22,11 +22,11 @@
         </if>
 
         <if test="accountNo !='' and accountNo!=null">
-            and T1.ACCOUNT_NO like concat ('%',#{accountNo},'%')
+            and T1.ACCOUNT_NO like concat (concat('%',#{accountNo}),'%')
         </if>
 
         <if test="accountName !='' and accountName!=null">
-            and T1.ACCOUNT_NAME like concat('%',#{accountName},'%')
+            and T1.ACCOUNT_NAME like concat(concat('%',#{accountName}),'%')
         </if>
         order by T1.ACCOUNT_ORGN_NO,T1.ACCOUNT_NO asc
     </select>

+ 5 - 5
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/FcCommitmentMapper.xml

@@ -51,16 +51,16 @@
             and T1.DATA_DATE = replace(#{dataDate},'-','')
         </if>
         <if test="debtitemNo !='' and debtitemNo!=null">
-            and T1.DEBTITEM_NO like concat ('%',#{debtitemNo},'%')
+            and T1.DEBTITEM_NO like concat (concat('%',#{debtitemNo}),'%')
         </if>
         <if test="coreClientNo !='' and coreClientNo!=null">
-            and T1.CORE_CLIENT_NO like concat ('%',#{coreClientNo},'%')
+            and T1.CORE_CLIENT_NO like concat (concat('%',#{coreClientNo}),'%')
         </if>
         <if test="clientNo !='' and clientNo!=null">
-            and T1.CLIENT_NO like concat ('%',#{clientNo},'%')
+            and T1.CLIENT_NO like concat (concat('%',#{clientNo}),'%')
         </if>
         <if test="clientName !='' and clientName!=null">
-            and T1.CLIENT_NAME like concat ('%',#{clientName},'%')
+            and T1.CLIENT_NAME like concat (concat('%',#{clientName}),'%')
         </if>
         <if test="manageOrgnNo !='' and manageOrgnNo!=null">
             <foreach collection="manageOrgnNo" item="item" open=" and MANAGE_ORGN_NO in ( " separator="," close=")">
@@ -68,7 +68,7 @@
             </foreach>
         </if>
         <if test="productName !='' and productName!=null">
-            and T1.PROD_NAME like concat ('%',#{productName},'%')
+            and T1.PROD_NAME like concat (concat('%',#{productName}),'%')
         </if>
         <if test="belongLine !='' and belongLine!=null">
         <foreach collection="belongLine" item="item" open=" and T1.BELONG_LINE  in ( " separator="," close=")">

+ 5 - 5
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/FcLoanMapper.xml

@@ -82,16 +82,16 @@
             and T1.DATA_DATE = replace(#{dataDate},'-','')
         </if>
         <if test="debtitemNo !='' and debtitemNo!=null">
-            and T1.DEBTITEM_NO like concat ('%',#{debtitemNo},'%')
+            and T1.DEBTITEM_NO like concat (concat('%',#{debtitemNo}),'%')
         </if>
         <if test="coreClientNo !='' and coreClientNo!=null">
-            and T1.CORE_CLIENT_NO like concat ('%',#{coreClientNo},'%')
+            and T1.CORE_CLIENT_NO like concat (concat('%',#{coreClientNo}),'%')
         </if>
         <if test="clientNo !='' and clientNo!=null">
-            and T1.CLIENT_NO like concat ('%',#{clientNo},'%')
+            and T1.CLIENT_NO like concat (concat('%',#{clientNo}),'%')
         </if>
         <if test="clientName !='' and clientName!=null">
-            and T1.CLIENT_NAME like concat ('%',#{clientName},'%')
+            and T1.CLIENT_NAME like concat (concat('%',#{clientName}),'%')
         </if>
         <if test="clientType !='' and clientType!=null">
             <foreach collection="clientType" item="item" open="and  T1.CLIENT_TYPE  in ( " separator="," close=")">
@@ -104,7 +104,7 @@
             </foreach>
         </if>
         <if test="productName !='' and productName!=null">
-            and PROD_NAME like concat ('%',#{productName},'%')
+            and PROD_NAME like concat (concat('%',#{productName}),'%')
         </if>
         <if test="belongLine !='' and belongLine!=null">
             <foreach collection="belongLine" item="item" open="and  T1.BELONG_LINE  in ( " separator="," close=")">

+ 5 - 5
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/FcOffSheetMapper.xml

@@ -88,16 +88,16 @@
             and T1.DATA_DATE = replace(#{dataDate},'-','')
         </if>
         <if test="debtitemNo !='' and debtitemNo!=null">
-            and T1.DEBTITEM_NO like concat ('%',#{debtitemNo},'%')
+            and T1.DEBTITEM_NO like concat (concat('%',#{debtitemNo}),'%')
         </if>
         <if test="coreClientNo !='' and coreClientNo!=null">
-            and T1.CORE_CLIENT_NO like concat ('%',#{coreClientNo},'%')
+            and T1.CORE_CLIENT_NO like concat (concat('%',#{coreClientNo}),'%')
         </if>
         <if test="clientNo !='' and clientNo!=null">
-            and T1.CLIENT_NO like concat ('%',#{clientNo},'%')
+            and T1.CLIENT_NO like concat (concat('%',#{clientNo}),'%')
         </if>
         <if test="clientName !='' and clientName!=null">
-            and T1.CLIENT_NAME like concat ('%',#{clientName},'%')
+            and T1.CLIENT_NAME like concat (concat('%',#{clientName}),'%')
         </if>
         <if test="manageOrgnNo !='' and manageOrgnNo!=null">
             <foreach collection="manageOrgnNo" item="item" open="and  T1.MANAGE_ORGN_NO in ( " separator="," close=")">
@@ -105,7 +105,7 @@
             </foreach>
         </if>
         <if test="productName !='' and productName!=null">
-            and T1.PROD_NAME like concat ('%',#{productName},'%')
+            and T1.PROD_NAME like concat (concat('%',#{productName}),'%')
         </if>
         <if test="domesticInternationalLcLabel !='' and domesticInternationalLcLabel!=null">
             and T1.DOMESTIC_INTERNATIONAL_LC_LABEL =#{domesticInternationalLcLabel}

+ 5 - 5
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/FfRepoMapper.xml

@@ -58,13 +58,13 @@
             and T1.DATA_DATE = replace(#{dataDate},'-','')
         </if>
         <if test="debtitemNo !='' and debtitemNo!=null">
-            and T1.DEBTITEM_NO like concat ('%',#{debtitemNo},'%')
+            and T1.DEBTITEM_NO like concat (concat('%',#{debtitemNo}),'%')
         </if>
         <if test="clientNo !='' and clientNo!=null">
-            and T1.CLIENT_NO like concat ('%',#{clientNo},'%')
+            and T1.CLIENT_NO like concat (concat('%',#{clientNo}),'%')
         </if>
         <if test="clientName !='' and clientName!=null">
-            and T1.CLIENT_NAME like concat ('%',#{clientName},'%')
+            and T1.CLIENT_NAME like concat (concat('%',#{clientName}),'%')
         </if>
         <if test="manageOrgnNo !='' and manageOrgnNo!=null">
                 <foreach collection="manageOrgnNo" item="item" open=" and T1.MANAGE_ORGN_NO in ( " separator="," close=")">
@@ -72,10 +72,10 @@
                 </foreach>
         </if>
         <if test="productName !='' and productName!=null">
-            and T1.PROD_NAME like concat ('%',#{productName},'%')
+            and T1.PROD_NAME like concat (concat('%',#{productName}),'%')
         </if>
         <if test="bondCode !='' and bondCode!=null">
-            and T1.BOND_CODE like concat ('%',#{bondCode},'%')
+            and T1.BOND_CODE like concat (concat('%',#{bondCode}),'%')
         </if>
         order by DEBTITEM_NO asc
     </select>

+ 1 - 1
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/GovFinancialAssetCompMapper.xml

@@ -24,7 +24,7 @@
         AND T2.NOUNITEM = 'qualfiedCreditToolTypeName'
         where 1=1
         <if test="name !='' and name!=null">
-            and T1.NAME like concat('%',#{name},'%')
+            and T1.NAME like concat(concat('%',#{name}),'%')
         </if>
         order by T1.DATA_DATE asc
     </select>

+ 1 - 1
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/PolicyBankMapper.xml

@@ -39,7 +39,7 @@
         ON T1.QUALFIED_CREDIT_TOOL_TYPE_NAME = T2.REGULARRRCSRULE_NO
         where 1=1
         <if test="custName !=null and custName !=''">
-            and cust_name like concat('%',#{custName},'%')
+            and cust_name like concat(concat('%',#{custName}),'%')
         </if>
         order by  DATA_DATE desc
     </select>

+ 1 - 1
Procedure/backend/project/src/main/java/com/sundata/product/rwa/parameter/mybatis/SovereigMapper.xml

@@ -21,7 +21,7 @@
         ON T1.QUALFIED_CREDIT_TOOL_TYPE_NAME = T2.REGULARRRCSRULE_NO
         where 1=1
                 <if test="custName !=null and custName !=''">
-                    and T1.CUST_NAME like concat('%',#{custName},'%')
+                    and T1.CUST_NAME like concat(concat('%',#{custName}),'%')
              </if>
         <if test="sovereignCode !='' and sovereignCode !=null">
             and T1.SOVEREIGN_CODE =#{sovereignCode}

+ 4 - 4
Procedure/backend/project/src/main/java/com/sundata/product/rwa/resultList/mybatis/DiffconfigListMapper.xml

@@ -19,10 +19,10 @@
         from  RWA_CALC_CONF_DIFFTOLERANCE
         where 1=1
         <if test="ruleNo!='' and ruleNo!=null">
-            and RULE_NO like  concat('%',#{ruleNo},'%')
+            and RULE_NO like  concat(concat('%',#{ruleNo}),'%')
         </if>
         <if test="ruleName!='' and ruleName!=null">
-            and RULE_NAME like  concat('%',#{ruleName},'%')
+            and RULE_NAME like  concat(concat('%',#{ruleName}),'%')
         </if>
     </select>
 
@@ -74,10 +74,10 @@
         from RWA_OBJ_CONF_GL_RECONCILIATION t1
         where t1.YESORNO ='1'
         <if test="glCode !=null and glCode!=''">
-            and GL_CODE like concat('%',#{glCode},'%')
+            and GL_CODE like concat(concat('%',#{glCode}),'%')
         </if>
         <if test="subjectDesc !=null and subjectDesc!=''">
-            and SUBJECT_DESC like concat('%',#{subjectDesc},'%')
+            and SUBJECT_DESC like concat(concat('%',#{subjectDesc}),'%')
         </if>
         <if test="subjectNature !=null and subjectNature!=''">
             and SUBJECT_NATURE =#{subjectNature}

+ 4 - 4
Procedure/backend/project/src/main/java/com/sundata/product/rwa/resultList/mybatis/RuleListMapper.xml

@@ -40,15 +40,15 @@
     from RWA_OBJ_CONF_GL_RECONCILIATION
         where 1=1
         <if test="ruleId !='' and ruleId!=null">
-            and RULE_ID like concat('%',#{ruleId},'%')
+            and RULE_ID like concat(concat('%',#{ruleId}),'%')
         </if>
         <if test="ruleName !='' and ruleName!=null">
-            and RULE_NAME like concat('%',#{ruleName},'%')
+            and RULE_NAME like concat(concat('%',#{ruleName}),'%')
         </if>
         <if test="glCode !='' and glCode!=null">
-            and GL_CODE like concat('%',#{glCode},'%')
+            and GL_CODE like concat(concat('%',#{glCode}),'%')
         </if><if test="subjectDesc !='' and subjectDesc!=null">
-        and SUBJECT_DESC like concat('%',#{subjectDesc},'%')
+        and SUBJECT_DESC like concat(concat('%',#{subjectDesc}),'%')
     </if>
         ORDER BY GL_CODE asc
     </select>

+ 2 - 2
Procedure/backend/project/src/main/java/com/sundata/product/rwa/rwacalcconfigdataparam/mybatis/ProductListMapper.xml

@@ -40,10 +40,10 @@
          ]]>
 
         <if test="productNo !='' and productNo!=null">
-            and T1.PRODUCT_NO like concat('%',#{productNo},'%')
+            and T1.PRODUCT_NO like concat(concat('%',#{productNo}),'%')
         </if>
         <if test="productName !='' and productName!=null">
-            and T1.PRODUCT_NAME like  concat('%',#{productName},'%')
+            and T1.PRODUCT_NAME like  concat(concat('%',#{productName}),'%')
         </if>
         <if test="productType !='' and productType!=null">
             and T1.PRODUCT_TYPE =#{productType}