Преглед изворни кода

fix(苏商银行):续授信逻辑修改

liutao пре 1 месец
родитељ
комит
bd650c052e

+ 38 - 38
src/main/java/com/sunxung/factoring/job/impl/StakeholdersJob.java

@@ -1,38 +1,38 @@
-package com.sunxung.factoring.job.impl;
-
-import cn.hutool.core.date.DateUnit;
-import cn.hutool.core.date.DateUtil;
-import com.sunxung.factoring.web.sys.stakeholders.ISysStakeholdersManagementService;
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.scheduling.annotation.EnableScheduling;
-import org.springframework.scheduling.annotation.Scheduled;
-import org.springframework.stereotype.Component;
-
-import java.util.Date;
-
-/**
- * @Description : 资方定时任务
- * @Author : liutao
- * @Date: 2024-05-13
- */
-@Component
-@EnableScheduling
-public class StakeholdersJob {
-
-
-    @Autowired
-    private static Logger log = LogManager.getLogger(StakeholdersJob.class);
-
-    @Autowired
-    private ISysStakeholdersManagementService stakeholdersManagementService;
-
-    /**
-     * 资方定时任务
-     */
-    @Scheduled(cron = "0 0 1 ? * MON")
-    public void batchProcess() {
-        stakeholdersManagementService.synchronizationDataFromSop();
-    }
-}
+//package com.sunxung.factoring.job.impl;
+//
+//import cn.hutool.core.date.DateUnit;
+//import cn.hutool.core.date.DateUtil;
+//import com.sunxung.factoring.web.sys.stakeholders.ISysStakeholdersManagementService;
+//import org.apache.logging.log4j.LogManager;
+//import org.apache.logging.log4j.Logger;
+//import org.springframework.beans.factory.annotation.Autowired;
+//import org.springframework.scheduling.annotation.EnableScheduling;
+//import org.springframework.scheduling.annotation.Scheduled;
+//import org.springframework.stereotype.Component;
+//
+//import java.util.Date;
+//
+///**
+// * @Description : 资方定时任务
+// * @Author : liutao
+// * @Date: 2024-05-13
+// */
+//@Component
+//@EnableScheduling
+//public class StakeholdersJob {
+//
+//
+//    @Autowired
+//    private static Logger log = LogManager.getLogger(StakeholdersJob.class);
+//
+//    @Autowired
+//    private ISysStakeholdersManagementService stakeholdersManagementService;
+//
+//    /**
+//     * 资方定时任务
+//     */
+//    @Scheduled(cron = "0 0 1 ? * MON")
+//    public void batchProcess() {
+//        stakeholdersManagementService.synchronizationDataFromSop();
+//    }
+//}

+ 1 - 4
src/main/resources/mapper/smb/FinancingFromInvestorsMapper.xml

@@ -45,10 +45,7 @@
         LEFT JOIN financing_from_investors_notice t6 ON t5.id = t6.financing_from_investors_history_id
         <where>
               <if test="keyWord != null and keyWord != ''">
-                  AND (
-                  t4.corporate_name LIKE concat('%',#{keyWord},'%')
-                  or t1.identifier LIKE  concat('%',#{keyWord},'%')
-                  )
+                  AND t4.corporate_name LIKE concat('%',#{keyWord},'%')
               </if>
               <if test="effectiveDate != null">
                   AND t6.effective_date = #{effectiveDate}