From 0c71357d1ef48afce3a30dae50be59615834426e Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Tue, 9 Jul 2024 11:18:30 +0900 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=EA=B4=80=ED=95=A0=EA=B4=80=EC=B2=AD?= =?UTF-8?q?=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/adds/cmm/model/NimsApiRequest.java | 5 +++++ src/main/resources/application.yml | 5 ++--- .../sql/mapper/adds/nims/dsuseMgtReceipt-mapper.xml | 2 ++ .../webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp | 2 ++ .../webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp | 2 ++ 6 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/adds/cmm/model/NimsApiRequest.java b/src/main/java/cokr/xit/adds/cmm/model/NimsApiRequest.java index 039cec3..57246db 100644 --- a/src/main/java/cokr/xit/adds/cmm/model/NimsApiRequest.java +++ b/src/main/java/cokr/xit/adds/cmm/model/NimsApiRequest.java @@ -79,6 +79,11 @@ public class NimsApiRequest { */ private String fg2 = "1"; + /** + * 대표자 + */ + private String rprsntvNm; + /** *
          * DB 조회 skip 여부
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 38be294..1e0be99 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -106,9 +106,8 @@ spring:
 
   datasource:
     hikari:
-      #driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
-      driver-class-name: org.mariadb.jdbc.Driver
-      jdbc-url: jdbc:mariadb://211.119.124.9:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false
+      driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
+      jdbc-url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false
       username: addsweb
       password: addsweb1234
       auto-commit: false
diff --git a/src/main/resources/sql/mapper/adds/nims/dsuseMgtReceipt-mapper.xml b/src/main/resources/sql/mapper/adds/nims/dsuseMgtReceipt-mapper.xml
index ebe6691..90d4747 100644
--- a/src/main/resources/sql/mapper/adds/nims/dsuseMgtReceipt-mapper.xml
+++ b/src/main/resources/sql/mapper/adds/nims/dsuseMgtReceipt-mapper.xml
@@ -9,6 +9,7 @@
         SELECT 
 			  A.DSCDMNG_ID											/* 폐기관리 ID */
 			, A.DEPT_CD												/* 부서 코드 */
+            , td.DEPT_NM											/* 부서명 */
 			, A.USER_ID												/* 사용자 ID */
 			, A.PRGRS_STTS_CD										/* 진행상태 코드 */
 			, GET_CODE_NM("ADDS11", A.PRGRS_STTS_CD) PRGRS_STTS_NM	/* 진행상태 */
@@ -44,6 +45,7 @@
 			, B.HPTL_NO												/* 요양기관 번호 */
 			, B.PRMISN_NO											/* 허가번호 */
 		FROM TB_DSUSE_MGT A
+		 JOIN tb_dept td ON A.dept_cd = td.dept_cd
 		  LEFT OUTER JOIN TB_BSSH_INFO B ON A.BSSH_CD = B.BSSH_CD
 		WHERE A.USE_YN = "Y"
     
diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp
index a3a5d3c..d9a92f3 100644
--- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp
@@ -86,6 +86,7 @@
 					
 						No.
+						관할관청
 						취급일자
 						관리번호
 						업체명
@@ -104,6 +105,7 @@