liuj hai 2 semanas
pai
achega
f748fccee5

+ 13 - 0
src/main/java/com/sunxung/factoring/entity/smb/vo/FinancingPaymentInfoSearch.java

@@ -26,6 +26,11 @@ public class FinancingPaymentInfoSearch extends BaseSearch {
      */
     private String paymentStatus;
 
+    /**
+     * 还款编号
+     */
+    private String repayNo;
+
     private List<Long> userIds;
 
     public List<Long> getUserIds() {
@@ -59,4 +64,12 @@ public class FinancingPaymentInfoSearch extends BaseSearch {
     public void setPaymentStatus(String paymentStatus) {
         this.paymentStatus = paymentStatus;
     }
+
+    public String getRepayNo() {
+        return repayNo;
+    }
+
+    public void setRepayNo(String repayNo) {
+        this.repayNo = repayNo;
+    }
 }

+ 2 - 0
src/main/java/com/sunxung/factoring/service/ledger/impl/LedgerManagementServiceImpl.java

@@ -635,6 +635,8 @@ public class LedgerManagementServiceImpl implements LedgerManagementService {
         if (repayStatusResp.getHxCint() != null) {
             financingPaymentInfo.setHxCint(new BigDecimal(repayStatusResp.getHxCint()));
         }
+        //还款日期
+        financingPaymentInfo.setRepayDate(new Date());
         if ("02".equals(repayStatusResp.getRepayStatus())) {
             //如果还款状态为还款失败
             financingPaymentInfo.setRemark(repayStatusResp.getRemark());

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

@@ -20,7 +20,10 @@
             </if>
             <if test="keyword != null and keyword != ''">
                 and (t4.corporate_name like CONCAT('%',#{keyword},'%') or t1.open_id like CONCAT('%',#{keyword},'%') or t1.contract_no like CONCAT('%',#{keyword},'%')
-                        or t1.due_bill_no like CONCAT('%',#{keyword},'%') or t1.repay_no like CONCAT('%',#{keyword},'%') )
+                        or t1.due_bill_no like CONCAT('%',#{keyword},'%'))
+            </if>
+            <if test="repayNo != null and repayNo !=''">
+                and t1.repay_no like CONCAT('%',#{repayNo},'%')
             </if>
             <if test="paymentDate != null">
                 and t1.repay_date = #{paymentDate}