|
|
|
@ -106,12 +106,12 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
DataObject dataObject = iterator.next();
|
|
|
|
|
String state = dataObject.string("CRDN_STTS_CD");
|
|
|
|
|
int advntceLevyAmt = dataObject.number("ADVNTCE_LEVY_AMT").intValue();
|
|
|
|
|
int levyAmt = dataObject.number("LEVY_AMT").intValue();
|
|
|
|
|
int ffnlgAmt = dataObject.number("FFNLG_AMT").intValue();
|
|
|
|
|
int minusAmt = dataObject.number("MINUS_AMT").intValue();
|
|
|
|
|
int adtnAmt = dataObject.number("ADTN_AMT").intValue();
|
|
|
|
|
int rcvmtAmt = dataObject.number("RCVMT_AMT").intValue();
|
|
|
|
|
|
|
|
|
|
dataObject.set("BLNC", crdnStngBean.getBalance(state,advntceLevyAmt,levyAmt,minusAmt,adtnAmt,rcvmtAmt));
|
|
|
|
|
dataObject.set("BLNC", crdnStngBean.getBalance(state,advntceLevyAmt,ffnlgAmt,minusAmt,adtnAmt,rcvmtAmt));
|
|
|
|
|
}
|
|
|
|
|
} else if(ifEmpty(query.getGridType(), () -> "").equals("photo")) {
|
|
|
|
|
Iterator<DataObject> iterator = dataObjectList.iterator();
|
|
|
|
@ -157,7 +157,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
//금액 계산
|
|
|
|
|
int[] basicAmt = crdnStngBean.getBasicAmt(crdn);
|
|
|
|
|
crdn.setFfnlgCrdnAmt(basicAmt[0]);
|
|
|
|
|
crdn.setLevyAmt(basicAmt[0]);
|
|
|
|
|
crdn.setFfnlgAmt(basicAmt[0]);
|
|
|
|
|
crdn.setAdvntceLevyAmt(basicAmt[1]);
|
|
|
|
|
|
|
|
|
|
//TODO : 납부자 저장
|
|
|
|
@ -270,11 +270,11 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
if(chgAmtSe.equals("0") || chgAmtSe.equals("1")) {
|
|
|
|
|
int[] basicAmt = crdnStngBean.getBasicAmt(crdn);
|
|
|
|
|
crdn.setFfnlgCrdnAmt(basicAmt[0]);
|
|
|
|
|
crdn.setLevyAmt(basicAmt[0]);
|
|
|
|
|
crdn.setFfnlgAmt(basicAmt[0]);
|
|
|
|
|
crdn.setAdvntceLevyAmt(basicAmt[1]);
|
|
|
|
|
} else if(chgAmtSe.equals("2")) {
|
|
|
|
|
crdn.setFfnlgCrdnAmt(10000);
|
|
|
|
|
crdn.setLevyAmt(10000);
|
|
|
|
|
crdn.setFfnlgAmt(10000);
|
|
|
|
|
crdn.setAdvntceLevyAmt(8000);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|