Selaa lähdekoodia

사용금액 차감

marseyes 2 vuotta sitten
vanhempi
commit
3bc8ed6b19

+ 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();