zhangyuewww hace 3 años
padre
commit
3da13062fc

+ 4 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/entity/TranSettlementReport.java

@@ -153,6 +153,10 @@ public class TranSettlementReport extends BaseModel<TranSettlementReport> {
      * 手动修改标识(1是)
      */
     private String manualFlag;
+    /**
+     * 银行卡号
+     */
+    private String cardNo;
     /**
      * 通过1驳回2
      */

+ 8 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/TranSettlementReportServiceImpl.java

@@ -126,7 +126,7 @@ public class TranSettlementReportServiceImpl extends ServiceImpl<TranSettlementR
 //
 //    }
     /**
-     * 修改结算重量0修改扣款1修改已开发票2
+     * 修改结算重量0修改扣款1修改已开发票2设置本次账户3
      * @param tranSettlementReport
      * @return
      */
@@ -150,6 +150,13 @@ public class TranSettlementReportServiceImpl extends ServiceImpl<TranSettlementR
                 this.updateById(tranSettlementReport1);
                 return "OK";
             }
+            //3 设置本次账户
+            else if(tranSettlementReport.getFlag()==3){
+                tranSettlementReport1.setCardNo(tranSettlementReport.getCardNo());
+                //更改汽运结算信息
+                this.updateById(tranSettlementReport1);
+                return "OK";
+            }
             //2 修改已开发票
             else {
                 tranSettlementReport1.setAlreadyInvoice(tranSettlementReport1.getAlreadyInvoice() + tranSettlementReport.getAlreadyInvoice());

+ 1 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/TranSettlementReportMapper.xml

@@ -50,6 +50,7 @@
         name as name,
         tran_car_no as tranCarNo,
         car_no as carNo,
+        card_no as cardNo,
         loading_weight as loadingWeight,
         unloading_weight as unloadingWeight,
         loading_img as loadingImg,