Parcourir la source

融资管理问题修复

liuj il y a 6 mois
Parent
commit
a45c885a78

+ 2 - 0
src/main/java/com/sunxung/factoring/service/financing/review/impl/ReviewQuotaDisburseServiceImpl.java

@@ -1334,6 +1334,8 @@ public class ReviewQuotaDisburseServiceImpl extends ServiceImpl<ReviewQuotaDisbu
                     if (StringUtils.isBlank(masterContract.getContractNo())) {
                         //生成新的保理合同编号
                         contractNo = serialNumberGenerator.nextValue(ConstantUtil.REVIEW_MASTER_CONTRACT_DOMESTIC_CODE);
+                    } else {
+                        contractNo = masterContract.getContractNo();
                     }
                 }
                 masterContract.setContractNo(contractNo);

+ 1 - 1
src/main/resources/mapper/financing/apply/CFinancingBasicInfoMapper.xml

@@ -86,7 +86,7 @@
                 </foreach>
             </if>
             <if test="searchNumber != null and searchNumber != ''">
-                AND ( t1.business_number LIKE CONCAT('%', #{businessNo},'%') OR t3.contract_no LIKE CONCAT('%',#{businessNo},'%'))
+                AND ( t1.business_number LIKE CONCAT('%', #{searchNumber},'%') OR t3.contract_no LIKE CONCAT('%',#{searchNumber},'%'))
             </if>
             <if test="fastSearch != null and fastSearch != ''">
                 AND (t1.project_name LIKE CONCAT('%',#{fastSearch},'%') OR t4.corporate_name LIKE CONCAT('%',#{fastSearch},'%') OR