fix: 과세번호 링크로 변경

feat: commons-compress 1.26.0 버전업으로 인해 엑셀 업로드 문제가 확인되어 commons-io 2.15.1 추가
main
jhseo 9 months ago
parent 2ba6cb6167
commit 288ed421bd

@ -484,7 +484,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
String.valueOf(idx.get()), "unitySndngDetailId(파일유일키)", "필수(최대 20자)", d.getUnitySndngDetailId()});
}
if(Checks.isEmpty(d.getSndngDt()) || d.getSndngDt().length() != 14 || !Pattern.matches("20([2-9][0-9][0-1][1-9][0-3][0-9][0-2][0-9][0-5][0-9][0-5][0-9])", d.getSndngDt())){
if(Checks.isEmpty(d.getSndngDt()) || d.getSndngDt().length() != 14 || !Pattern.matches("20([2-9][0-9][0-1][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-5][0-9])", d.getSndngDt())){
throw BizRuntimeException.create("fail.api.excel.upload.data", new String[]{
String.valueOf(idx.get()), "sndngDt(우편물요청일시)", "필수(14자)", d.getSndngDt()});
}
@ -527,13 +527,12 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "\"title\": \"내역\","
+ "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {"
+ "\"style\" : {"
+ "\"highlight\" : {"
+ "\"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\" : {"
+ "\"use-clipboard\" : true"
+ "}"
+ "\"hyperlinkTitle\" : ["
+ "{"
+ "\"title_name\": \"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\","
+ "\"href_url\" : \"https://etax.seoul.go.kr/jsp/gojilink.jsp?nap_no=" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\""
+ "}"
+ "}"
+ "]"
+ "},"
+ "\"elements\": ["
+ "{"
@ -584,7 +583,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "{"
+ "\"key\": \"납세번호\","
+ "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"")
+"\\\\n※ ETAX 납부 시 29자리 입력\","
+"\\\\n※ 위 납부번호 클릭 시 ETAX 연결\","
+ "\"level\": 1"
+ "}"
+ "]"
@ -687,7 +686,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "\"title\" : \"\" ,"
+ "\"item_type\" : \"PRE_TEXT\","
+ "\"elements\" : \" \\n※ 2022.04.19.까지 연체료율 10%~15%\\n※ 체납 시 보중보험 청구, 재산 압류, 사용료 청구소송 등 조치가 이루어지며,"
+ " 금융기관 및 신용정보기관에 연체정보가 등록되어 금융거래 등 각종 경제활동에 불이익이 있을 수 있습니다.\""
+ " 금융기관 및 신용정보기관에 연체정보가 등록되어 금융거래 등 각종 경제활동에 불이익이 있을 수 있습니다.\""
+ "}"
+ "]"
+"}";
@ -710,13 +709,12 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "\"title\": \"내역\","
+ "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {"
+ "\"style\" : {"
+ "\"highlight\" : {"
+ "\"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\" : {"
+ "\"use-clipboard\" : true"
+ "}"
+ "\"hyperlinkTitle\" : ["
+ "{"
+ "\"title_name\": \"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\","
+ "\"href_url\" : \"https://etax.seoul.go.kr/jsp/gojilink.jsp?nap_no=" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\""
+ "}"
+ "}"
+ "]"
+ "},"
+ "\"elements\": ["
+ "{"
@ -752,7 +750,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "{"
+ "\"key\": \"납세번호\","
+ "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"")
+"\\\\n※ ETAX 납부 시 29자리 입력\","
+"\\\\n※ 위 납부번호 클릭 시 ETAX 연결\","
+ "\"level\": 1"
+ "}"
+ "]"
@ -878,6 +876,11 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "{"
+ "\"title\": \"서울시 세외수입 납부방법 안내\","
+ "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {"
+ "\"hyperlink\" : ["
+ "\"https://etax.seoul.go.kr\""
+ "]"
+ "},"
+ "\"elements\": ["
+ "{"
+ "\"key\": \"가상계좌\\\\n납부\","

@ -204,6 +204,12 @@
<version>1.26.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.1</version>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>

Loading…
Cancel
Save