diff --git a/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml b/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml index 0ceec03..5efa383 100644 --- a/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml +++ b/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml @@ -8,6 +8,7 @@ SELECT tdm.dscdmng_id, /* 폐기관리 ID */ tdm.dept_cd, /* 부서 코드 */ + td.dept_nm, /* 부서 명 */ tdm.user_id, /* 사용자 ID */ tdm.prgrs_stts_cd, /* 진행 상태 코드 */ GET_CODE_NM("ADDS11", tdm.prgrs_stts_cd) prgrs_stts_nm, /* 진행상태 */ @@ -28,6 +29,7 @@ -- max(case when tf.SUB_TYPE = '01' THEN tf.file_nm end) as '폐기결과보고서파일', -- max(case when tf.SUB_TYPE = '02' THEN tf.file_nm end) as '폐기처리내역및사진파일' FROM tb_dsuse_mgt tdm + LEFT JOIN tb_dept td ON tdm.dept_cd = td.dept_cd LEFT JOIN tb_bssh_info tbi ON tdm.bssh_cd =tbi.bssh_cd LEFT JOIN tb_file tf ON (tdm.dscdmng_id = tf.inf_key diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp index 6b50cb0..a4a81b1 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp @@ -98,6 +98,7 @@ + 관할관청 폐기관리번호 취급일자 폐기일자 @@ -121,6 +122,7 @@ + {dept_nm} {dscdmng_id} {hdr_de} {dsuse_de}