feat: post plus details json data 메소드 변경

dev
gitea-관리자 1 year ago
parent 68080c06c8
commit c7bee46d9e

@ -396,7 +396,7 @@ public class BizSisulService extends EgovAbstractServiceImpl implements IBizSisu
} }
private String jsonCn1(FmcInfExcel dto){ private String jsonCn11(FmcInfExcel dto){
String jsonCn = "{" String jsonCn = "{"
+ "\"details\": [" + "\"details\": ["
+ "{" + "{"
@ -971,7 +971,7 @@ public class BizSisulService extends EgovAbstractServiceImpl implements IBizSisu
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private String jsonCn11(FmcInfExcel dto){ private String jsonCn1(FmcInfExcel dto){
JSONArray details = new JSONArray(); JSONArray details = new JSONArray();
details.add(getElementsObj( details.add(getElementsObj(
@ -1009,7 +1009,7 @@ public class BizSisulService extends EgovAbstractServiceImpl implements IBizSisu
els.add(getKeyValueObj("- 사용료", Checks.checkVal(dto.getNapAmount1(),""))); els.add(getKeyValueObj("- 사용료", Checks.checkVal(dto.getNapAmount1(),"")));
els.add(getKeyValueObj("- " + Checks.checkVal(dto.getNapAmountDetailNm1(),""), Checks.checkVal(dto.getNapAmount2(),""))); els.add(getKeyValueObj("- " + Checks.checkVal(dto.getNapAmountDetailNm1(),""), Checks.checkVal(dto.getNapAmount2(),"")));
els.add(getKeyValueObj("- " + Checks.checkVal(dto.getNapAmountDetailNm2(),""), Checks.checkVal(dto.getNapAmount3(),""))); els.add(getKeyValueObj("- " + Checks.checkVal(dto.getNapAmountDetailNm2(),""), Checks.checkVal(dto.getNapAmount3(),"")));
els.add(getKeyValueObj("- " + Checks.checkVal(dto.getNapAmountDetailNm3(),""), Checks.checkVal(dto.getNapAmount4(),""))); //els.add(getKeyValueObj("- " + Checks.checkVal(dto.getNapAmountDetailNm3(),""), Checks.checkVal(dto.getNapAmount4(),"")));
els.add(getKeyValueObj(Checks.checkVal(dto.getNapGubun1(),""), Checks.checkVal(formatDate(dto.getNapPd().substring(0,8), "-"),"")+"까지")); els.add(getKeyValueObj(Checks.checkVal(dto.getNapGubun1(),""), Checks.checkVal(formatDate(dto.getNapPd().substring(0,8), "-"),"")+"까지"));
els.add(getKeyValueObj(Checks.checkVal(dto.getNapGubun2(),""), Checks.checkVal(dto.getNapAmountTotal(),"")+"원")); els.add(getKeyValueObj(Checks.checkVal(dto.getNapGubun2(),""), Checks.checkVal(dto.getNapAmountTotal(),"")+"원"));
els.add(getKeyValueObj("납세번호", taxNum + "\\\\n※ ETAX 납부 시 29자리 입력")); els.add(getKeyValueObj("납세번호", taxNum + "\\\\n※ ETAX 납부 시 29자리 입력"));

Loading…
Cancel
Save