diff --git a/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml b/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml index 9e393fc..cacd758 100644 --- a/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml +++ b/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml @@ -11,6 +11,12 @@ , tcc.CODE_VAL AS DSUSE_MTH_NM , tdm.DSUSE_DE , IF(#{dscdmngId} = tdm.DSCDMNG_ID, 'Y', 'N') AS SEL_YN + , (SELECT count(dscdmng_id) + FROM tb_dsuse_mgt + WHERE use_yn = 'Y' + AND dept_cd = #{deptCd} + AND dsuse_mth_cd = #{dsuseMthCd} + AND dsuse_de = #{dsuseDe}) AS SAVE_CNT FROM tb_dsuse_mgt tdm JOIN tb_cmn_code tcc ON (tdm.dsuse_mth_cd = tcc.code diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp index 0e576ae..74e762d 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp @@ -55,7 +55,7 @@ -
+