Przeglądaj źródła

招行支付2.0—补发逻辑调整,record表增加paymentDetailId字段,区分补发/不补发

ZhangWenQiang 4 lat temu
rodzic
commit
fab514b8bc

+ 6 - 0
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwpayaccount/entity/HlwPayRecord.java

@@ -46,6 +46,12 @@ public class HlwPayRecord implements Serializable {
     private java.lang.Integer paymentId;
 
     /**
+     * 付款明细id(补发时有值)
+     */
+    @ApiModelProperty(value = "付款明细id(补发时有值)")
+    private java.lang.Integer paymentDetailId;
+
+    /**
      * 业务参考号
      */
     @ApiModelProperty(value = "业务参考号")

+ 1 - 0
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwpayment/service/impl/HlwPaymentServiceImpl.java

@@ -1084,6 +1084,7 @@ public class HlwPaymentServiceImpl extends ServiceImpl<HlwPaymentMapper, HlwPaym
                 //保存付款记录
                 HlwPayRecord hlwPayRecord = new HlwPayRecord();
                 hlwPayRecord.setPaymentId(hlwPaymentDetailList.get(0).getPaymentId());
+                hlwPayRecord.setPaymentDetailId(hlwPaymentDetailList.get(0).getId());
                 hlwPayRecord.setAgpseq(reqnbr);
                 hlwPayRecord.setYurref(yurref);
                 hlwPayRecord.setDetail(JSON.toJSONString(hlwPaymentDetailList));