Browse Source

增加status 状态字段

ZC 2 weeks ago
parent
commit
ae359f6992

+ 2 - 1
ruoyi-modules/hh-mast/src/main/java/com/ruoyi/mast/bank/controller/BankRefundController.java

@@ -157,7 +157,8 @@ public class BankRefundController extends BaseController {
         if (list.isEmpty()) return AjaxResult.error("");
         BankRefund bt = list.get(0);
 
-        if("7".equals(bankRefund.getRtnRfndst())){
+        if("7".equals(bankRefund.getRtnRfndst()) && "6".equals(bankRefund.getStatus())){
+            bankRefund.setRtnRfndst("6");
             return toAjax(bankRefundService.updateBankRefund(bankRefund));
         }
 

+ 10 - 0
ruoyi-modules/hh-mast/src/main/java/com/ruoyi/mast/bank/domain/BankRefund.java

@@ -263,6 +263,8 @@ public class BankRefund extends BaseEntity
     @Excel(name = "退款处理信息")
     private String rtnRfnddealinf;
 
+    private String status;
+
     public void setRefundid(String refundid) 
     {
         this.refundid = refundid;
@@ -796,6 +798,14 @@ public class BankRefund extends BaseEntity
         return rtnRfnddealinf;
     }
 
+    public String getStatus() {
+        return status;
+    }
+
+    public void setStatus(String status) {
+        this.status = status;
+    }
+
     @Override
     public String toString() {
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)