瀏覽代碼

사용금액 차감

marseyes 2 年之前
父節點
當前提交
3bc8ed6b19
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/oqpo/api/service/loanmng/DsptMngService.java

+ 2 - 1
src/main/java/com/oqpo/api/service/loanmng/DsptMngService.java

@@ -202,7 +202,8 @@ public class DsptMngService extends CommonService {
202 202
                 trscBfBal = infoEntity.getAcctBal();
203 203
                 trscAfBal = infoEntity.getAcctBal() - procEntity.getDpstAmt();
204 204
                 infoEntity.setAcctBal(trscAfBal); // 계좌잔액
205
-                dsptMngMapper.updateLoanMgntBaseInfo4AcctBal(userId, infoEntity);
205
+                infoEntity.setUseAmtTotal(infoEntity.getUseAmtTotal() - procEntity.getDpstAmt()); // 사용금액 차감
206
+                sttlReqMapper.updateLoanMgntBaseInfo4SttlReqProc(userId, infoEntity);
206 207
 
207 208
                 // 3. 여신관리상세이력
208 209
                 LoanMgntDtlHstEntity hstEntity2 = new LoanMgntDtlHstEntity();