Browse Source

新增更新不明保证金退款状态

ZC 3 weeks ago
parent
commit
86175a5fda

+ 8 - 0
ruoyi-modules/hh-mast/src/main/java/com/ruoyi/mast/bank/controller/BankDepositController.java

@@ -18,6 +18,7 @@ import com.ruoyi.system.api.RemotePlanService;
 import com.ruoyi.system.api.domain.BidNotice;
 import kong.unirest.core.HttpResponse;
 import kong.unirest.core.Unirest;
+import org.apache.poi.hssf.eventusermodel.AbortableHSSFListener;
 import org.aspectj.weaver.loadtime.Aj;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -610,4 +611,11 @@ public class BankDepositController extends BaseController {
         return success(list);
     }
 
+    // 线下退款状态更新
+    @Log(title = "更新不明保证金退款")
+    @PutMapping("/updateUnclearInfo")
+    public AjaxResult updateUnclearInfo(BankUncleardeposit bankUncleardeposit){
+        return toAjax(bankUncleardepositService.updateBankUncleardeposit(bankUncleardeposit));
+    }
+
 }

+ 1 - 1
ruoyi-modules/hh-mast/src/main/resources/mapper/bank/BankUncleardepositMapper.xml

@@ -214,7 +214,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         select u.uncleardepositid, u.ppid, u.trnuid, u.rqbody, u.acctno, u.ccycd, u.begdt, u.enddt, u.rtn_trnuid, u.rtn_status, u.rtn_code, u.rtn_severity, u.rtn_message, u.rtn_rsbody, u.rtn_rcrdtotnum, u.rtn_crnpgno, u.rtn_pgrcrdnum, u.rtn_totpgnum, u.rtn_content, u.rtn_tradedate, u.rtn_serialno, u.rtn_assetno, u.rtn_assetname, u.rtn_oppassetno, u.rtn_oppassetname, u.rtn_oppbankno, u.rtn_oppbankname, u.rtn_amt, u.rtn_selfbal, u.rtn_summary,
                u.rtn_adjustreason,r.rtn_xferprccode,u.is_apply
         from bank_uncleardeposit u left join bank_uncleardepositrfnd r on u.rtn_serialno = r.serialno
-        where u.rtn_summary not like CONCAT('%','服务费','%') and u.rtn_adjustreason not like CONCAT('%','进入不明 原虚户=999999','%') and r.rtn_xferprccode is null and u.is_apply != 3
+        where u.rtn_summary not like CONCAT('%','服务费','%') and u.rtn_adjustreason not like CONCAT('%','进入不明 原虚户=999999','%') and r.rtn_xferprccode is null and u.is_apply < 3
     </select>
 
     <select id="refundBankUnclearInfo">