|
@@ -213,6 +213,10 @@ public class StoreBaseInfoService extends CommonService {
|
213
|
213
|
} else {
|
214
|
214
|
loanInfoEntity.setCredtLimitUseYn("N");
|
215
|
215
|
}
|
|
216
|
+ } else if ("LD03".equals(entity.getLoanDvsn())) { // 무정산
|
|
217
|
+ loanInfoEntity.setChrgeLimitAmt(0);
|
|
218
|
+ loanInfoEntity.setCredtLimitAmt(0);
|
|
219
|
+ loanInfoEntity.setCredtLimitUseYn("N");
|
216
|
220
|
}
|
217
|
221
|
loanInfoEntity.setUseAmtTotal(0);
|
218
|
222
|
loanInfoEntity.setTmpRcvAcctTotal(0);
|
|
@@ -329,7 +333,7 @@ public class StoreBaseInfoService extends CommonService {
|
329
|
333
|
LoanInfoEntity loanInfoUEntity = new LoanInfoEntity();
|
330
|
334
|
loanInfoUEntity.setLoanMgntUnqNo(entity.getLoanMgntUnqNo());
|
331
|
335
|
loanInfoUEntity.setLoanDvsn(entity.getLoanDvsn());
|
332
|
|
- if ("LD02".equals(entity.getLoanDvsn())) {
|
|
336
|
+ if ("LD02".equals(entity.getLoanDvsn())) { // 후불
|
333
|
337
|
loanInfoUEntity.setCredtLimitAmt(entity.getLimitAmt());
|
334
|
338
|
loanInfoUEntity.setChrgeLimitAmt(0);
|
335
|
339
|
if (entity.getLimitAmt() > 0 ) {
|
|
@@ -337,10 +341,14 @@ public class StoreBaseInfoService extends CommonService {
|
337
|
341
|
} else {
|
338
|
342
|
loanInfoUEntity.setCredtLimitUseYn("N");
|
339
|
343
|
}
|
340
|
|
- } else if ("LD01".equals(entity.getLoanDvsn())) {
|
|
344
|
+ } else if ("LD01".equals(entity.getLoanDvsn())) { // 선불
|
341
|
345
|
loanInfoUEntity.setCredtLimitAmt(0);
|
342
|
346
|
loanInfoUEntity.setChrgeLimitAmt(entity.getLimitAmt());
|
343
|
347
|
loanInfoUEntity.setCredtLimitUseYn("N");
|
|
348
|
+ } else if ("LD03".equals(entity.getLoanDvsn())) { // 무정산
|
|
349
|
+ loanInfoUEntity.setCredtLimitAmt(0);
|
|
350
|
+ loanInfoUEntity.setChrgeLimitAmt(0);
|
|
351
|
+ loanInfoUEntity.setCredtLimitUseYn("N");
|
344
|
352
|
}
|
345
|
353
|
loanMgntMapper.updateLoanChgLimitInfo(userId, loanInfoUEntity);
|
346
|
354
|
}
|
|
@@ -362,6 +370,10 @@ public class StoreBaseInfoService extends CommonService {
|
362
|
370
|
loanInfoChEntity.setCredtLimitAmt(0);
|
363
|
371
|
loanInfoChEntity.setChrgeLimitAmt(entity.getLimitAmt());
|
364
|
372
|
loanInfoChEntity.setCredtLimitUseYn("N");
|
|
373
|
+ } else if ("LD03".equals(entity.getLoanDvsn())) {
|
|
374
|
+ loanInfoChEntity.setCredtLimitAmt(0);
|
|
375
|
+ loanInfoChEntity.setChrgeLimitAmt(0);
|
|
376
|
+ loanInfoChEntity.setCredtLimitUseYn("N");
|
365
|
377
|
}
|
366
|
378
|
//신규 생성
|
367
|
379
|
loanMgntMapper.insertAddLoanMgntInfo(userId, loanInfoChEntity) ;
|