Merge remote-tracking branch 'origin/main'

dev
gitea-관리자 1 year ago
commit 6804e7e3e3

@ -325,87 +325,71 @@ public class CmmEnsFileService extends EgovAbstractServiceImpl implements ICmmEn
}
private String jsonCn1(FmcInfExcel dto){
AtomicReference<String> jsonCn = new AtomicReference<>("""
{
"details": [
{
"title": "서울시설공단 고지서",
"item_type": "SUBJECT_TEXT",
"elements": []
},
{
"title": "내용",
"item_type": "KEY_VALUE",
"properties": {
},
"elements": [
{
"key": "수취인",
"value": \"""" + Checks.checkVal(dto.getRecevNm(), "") + """
",
"level": 1
},
{
"key": "고지서",
"value": \"""" + Checks.checkVal(dto.getGojiNm(), "") + "(" + Checks.checkVal(
dto.getGojiGubun(), "") + ")" + """
",
"level": 1
},
{
"key": "고지서 상세",
"value": \"""" + Checks.checkVal(dto.getGojiDetailNm(), "") + """
",
"level": 1
},
{
"key": "납세번호",
"value": \"""" + Checks.checkVal(dto.getTaxNum1(), "") + Checks.checkVal(
dto.getTaxNum2(), "") + Checks.checkVal(dto.getTaxNum3(), "") + Checks.checkVal(
dto.getTaxNum4(), "") + """
",
"level": 1
},
{
"key": \"""" + Checks.checkVal(dto.getNapAmountNm1(), "") + """
",
"value": \"""" + Checks.checkVal(dto.getNapAmountNm1(), "") + """
",
"level": 1
},
{
"key": \"""" + Checks.checkVal(dto.getNapGubun1(), "") + """
",
"value": \"""" + Checks.checkVal(
formatDate(dto.getNapPd().substring(0, 8), "-"), "") + """
",
"level": 1
}
]
},
{
"title": "세외수입 납부방법 안내",
"item_type": "KEY_VALUE",
"elements": [
{
"key": "
",
"value": " ,
",
"level": 1
},
{
"key": "
",
"value": ",PLAY ( )
( ), , ",
"level": 1
}
]
}
]
}
""");
return jsonCn.get();
String jsonCn = "{"
+ "\"details\": ["
+ "{"
+ "\"title\": \"서울시설공단 고지서\","
+ "\"item_type\": \"SUBJECT_TEXT\","
+ "\"elements\": ["
+ "\"\""
+ "]"
+ "},"
+ "{"
+ "\"title\": \"내용\","
+ "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {"
+ "},"
+ "\"elements\": ["
+ "{"
+ "\"key\": \"수취인\","
+ "\"value\": \""+ Checks.checkVal(dto.getRecevNm(),"") +"\","
+ "\"level\": 1"
+ "},"
+ "{"
+ "\"key\": \"고지서\","
+ "\"value\": \""+ Checks.checkVal(dto.getGojiNm(),"") +"("+ Checks.checkVal(dto.getGojiGubun(),"") +")"+"\","
+ "\"level\": 1"
+ "},"
+ "{"
+ "\"key\": \"고지서 상세\","
+ "\"value\": \""+ Checks.checkVal(dto.getGojiDetailNm(),"") +"\","
+ "\"level\": 1"
+ "},"
+ "{"
+ "\"key\": \"납세번호\","
+ "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"") +"\","
+ "\"level\": 1"
+ "},"
+ "{"
+ "\"key\": \""+ Checks.checkVal(dto.getNapAmountNm1(),"") +"\","
+ "\"value\": \""+ Checks.checkVal(dto.getNapAmount1(),"") +"\","
+ "\"level\": 1"
+ "},"
+ "{"
+ "\"key\": \""+ Checks.checkVal(dto.getNapGubun1(),"") +"\","
+ "\"value\": \""+ Checks.checkVal(formatDate(dto.getNapPd().substring(0,8), "-"),"") +"까지\","
+ "\"level\": 1"
+ "}"
+ "]"
+ "},"
+ "{"
+ "\"title\": \"세외수입 납부방법 안내\","
+ "\"item_type\": \"KEY_VALUE\","
+ "\"elements\": ["
+ "{"
+ "\"key\": \"가상계좌\\\\n납부\","
+ "\"value\": \"고지서에 기재된 가상계좌로 이체,납부\\\\n고지서 금액과 일치해야 이체 가능\","
+ "\"level\": 1"
+ "},"
+ "{"
+ "\"key\": \"모바일\\\\n어플\","
+ "\"value\": \"앱,PLAY스토어에서 (서울시 세금납부) 앱 설치\\\\n계좌이체(전 은행), 신용카드, 간편결제 납부\","
+ "\"level\": 1"
+ "}"
+ "]"
+ "}"
+ "]"
+"}";
return jsonCn;
}
}

Loading…
Cancel
Save