|
|
|
@ -105,13 +105,13 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
while(iterator.hasNext()) {
|
|
|
|
|
DataObject dataObject = iterator.next();
|
|
|
|
|
String state = dataObject.string("CRDN_STTS_CD");
|
|
|
|
|
int advntceLevyAmt = dataObject.number("ADVNTCE_LEVY_AMT").intValue();
|
|
|
|
|
int advntceAmt = dataObject.number("ADVNTCE_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,ffnlgAmt,minusAmt,adtnAmt,rcvmtAmt));
|
|
|
|
|
dataObject.set("BLNC", crdnStngBean.getBalance(state,advntceAmt,ffnlgAmt,minusAmt,adtnAmt,rcvmtAmt));
|
|
|
|
|
}
|
|
|
|
|
} else if(ifEmpty(query.getGridType(), () -> "").equals("photo")) {
|
|
|
|
|
Iterator<DataObject> iterator = dataObjectList.iterator();
|
|
|
|
@ -158,7 +158,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
int[] basicAmt = crdnStngBean.getBasicAmt(crdn);
|
|
|
|
|
crdn.setFfnlgCrdnAmt(basicAmt[0]);
|
|
|
|
|
crdn.setFfnlgAmt(basicAmt[0]);
|
|
|
|
|
crdn.setAdvntceLevyAmt(basicAmt[1]);
|
|
|
|
|
crdn.setAdvntceAmt(basicAmt[1]);
|
|
|
|
|
|
|
|
|
|
//TODO : 납부자 저장
|
|
|
|
|
//pyrId = 납부자Bean.save(pyrInfoMap);
|
|
|
|
@ -271,11 +271,11 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
|
int[] basicAmt = crdnStngBean.getBasicAmt(crdn);
|
|
|
|
|
crdn.setFfnlgCrdnAmt(basicAmt[0]);
|
|
|
|
|
crdn.setFfnlgAmt(basicAmt[0]);
|
|
|
|
|
crdn.setAdvntceLevyAmt(basicAmt[1]);
|
|
|
|
|
crdn.setAdvntceAmt(basicAmt[1]);
|
|
|
|
|
} else if(chgAmtSe.equals("2")) {
|
|
|
|
|
crdn.setFfnlgCrdnAmt(10000);
|
|
|
|
|
crdn.setFfnlgAmt(10000);
|
|
|
|
|
crdn.setAdvntceLevyAmt(8000);
|
|
|
|
|
crdn.setAdvntceAmt(8000);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int effected = crdnUpdtMapper.updateCrdnAmt(crdn);
|
|
|
|
|