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()}); 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[]{ throw BizRuntimeException.create("fail.api.excel.upload.data", new String[]{
String.valueOf(idx.get()), "sndngDt(우편물요청일시)", "필수(14자)", d.getSndngDt()}); String.valueOf(idx.get()), "sndngDt(우편물요청일시)", "필수(14자)", d.getSndngDt()});
} }
@ -527,13 +527,12 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "\"title\": \"내역\"," + "\"title\": \"내역\","
+ "\"item_type\": \"KEY_VALUE\"," + "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {" + "\"properties\": {"
+ "\"style\" : {" + "\"hyperlinkTitle\" : ["
+ "\"highlight\" : {" + "{"
+ "\"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\" : {" + "\"title_name\": \"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\","
+ "\"use-clipboard\" : true" + "\"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\": [" + "\"elements\": ["
+ "{" + "{"
@ -584,7 +583,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "{" + "{"
+ "\"key\": \"납세번호\"," + "\"key\": \"납세번호\","
+ "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"") + "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"")
+"\\\\n※ ETAX 납부 시 29자리 입력\"," +"\\\\n※ 위 납부번호 클릭 시 ETAX 연결\","
+ "\"level\": 1" + "\"level\": 1"
+ "}" + "}"
+ "]" + "]"
@ -710,13 +709,12 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "\"title\": \"내역\"," + "\"title\": \"내역\","
+ "\"item_type\": \"KEY_VALUE\"," + "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {" + "\"properties\": {"
+ "\"style\" : {" + "\"hyperlinkTitle\" : ["
+ "\"highlight\" : {" + "{"
+ "\"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\" : {" + "\"title_name\": \"" + Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(), "") + "\","
+ "\"use-clipboard\" : true" + "\"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\": [" + "\"elements\": ["
+ "{" + "{"
@ -752,7 +750,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "{" + "{"
+ "\"key\": \"납세번호\"," + "\"key\": \"납세번호\","
+ "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"") + "\"value\": \""+ Checks.checkVal(dto.getTaxNum1(),"") + Checks.checkVal(dto.getTaxNum2(),"") + Checks.checkVal(dto.getTaxNum3(),"") + Checks.checkVal(dto.getTaxNum4(),"")
+"\\\\n※ ETAX 납부 시 29자리 입력\"," +"\\\\n※ 위 납부번호 클릭 시 ETAX 연결\","
+ "\"level\": 1" + "\"level\": 1"
+ "}" + "}"
+ "]" + "]"
@ -878,6 +876,11 @@ public class BizSisulService extends AbstractService implements IBizSisulService
+ "{" + "{"
+ "\"title\": \"서울시 세외수입 납부방법 안내\"," + "\"title\": \"서울시 세외수입 납부방법 안내\","
+ "\"item_type\": \"KEY_VALUE\"," + "\"item_type\": \"KEY_VALUE\","
+ "\"properties\": {"
+ "\"hyperlink\" : ["
+ "\"https://etax.seoul.go.kr\""
+ "]"
+ "},"
+ "\"elements\": [" + "\"elements\": ["
+ "{" + "{"
+ "\"key\": \"가상계좌\\\\n납부\"," + "\"key\": \"가상계좌\\\\n납부\","

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

Loading…
Cancel
Save