|
|
@ -43,6 +43,7 @@
|
|
|
|
, B.PRMISN_NO /* 허가번호 */
|
|
|
|
, B.PRMISN_NO /* 허가번호 */
|
|
|
|
FROM TB_DSUSE_MGT A
|
|
|
|
FROM TB_DSUSE_MGT A
|
|
|
|
LEFT OUTER JOIN TB_BSSH_INFO B ON A.BSSH_CD = B.BSSH_CD
|
|
|
|
LEFT OUTER JOIN TB_BSSH_INFO B ON A.BSSH_CD = B.BSSH_CD
|
|
|
|
|
|
|
|
WHERE A.USE_YN = "Y"
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -50,22 +51,21 @@
|
|
|
|
/* 폐기관리접수 목록 조회(dsuseMgtReceiptMapper.selectDsuseMgtReceiptList) */
|
|
|
|
/* 폐기관리접수 목록 조회(dsuseMgtReceiptMapper.selectDsuseMgtReceiptList) */
|
|
|
|
<include refid="utility.paging-prefix" />
|
|
|
|
<include refid="utility.paging-prefix" />
|
|
|
|
<include refid="select" />
|
|
|
|
<include refid="select" />
|
|
|
|
WHERE 1=1
|
|
|
|
<if test="schSggCd != null">
|
|
|
|
<if test="schSggCd != null">
|
|
|
|
AND A.DEPT_CD = #{schSggCd} <!-- 관할 관청 -->
|
|
|
|
AND A.DEPT_CD = #{schSggCd} <!-- 관할 관청 -->
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="schDateFrom != null">
|
|
|
|
<if test="schDateFrom != null">
|
|
|
|
AND A.HDR_DE <![CDATA[>=]]> #{schDateFrom} <!-- 취급 일자 시작 -->
|
|
|
|
AND A.HDR_DE <![CDATA[>=]]> #{schDateFrom} <!-- 취급 일자 시작 -->
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="schDateTo != null">
|
|
|
|
<if test="schDateTo != null">
|
|
|
|
AND A.HDR_DE <![CDATA[<=]]> #{schDateTo} <!-- 취급 일자 종료 -->
|
|
|
|
AND A.HDR_DE <![CDATA[<=]]> #{schDateTo} <!-- 취급 일자 종료 -->
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="schBsshCd != null">
|
|
|
|
<if test="schBsshCd != null">
|
|
|
|
AND B.BSSH_CD = #{schBsshCd}
|
|
|
|
AND B.BSSH_CD = #{schBsshCd}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="schSttsCd != null">
|
|
|
|
<if test="schSttsCd != null">
|
|
|
|
AND A.PRGRS_STTS_CD = #{schSttsCd} <!-- 진행 상태 -->
|
|
|
|
AND A.PRGRS_STTS_CD = #{schSttsCd} <!-- 진행 상태 -->
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.paging-suffix" />
|
|
|
|
<include refid="utility.paging-suffix" />
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
@ -73,9 +73,17 @@
|
|
|
|
<select id="selectDsuseMgtReceiptInfo" parameterType="string" resultType="dataobject">
|
|
|
|
<select id="selectDsuseMgtReceiptInfo" parameterType="string" resultType="dataobject">
|
|
|
|
/* 폐기관리접수 목록 조회(dsuseMgtReceiptMapper.selectDsuseMgtReceiptInfo) */
|
|
|
|
/* 폐기관리접수 목록 조회(dsuseMgtReceiptMapper.selectDsuseMgtReceiptInfo) */
|
|
|
|
<include refid="select" />
|
|
|
|
<include refid="select" />
|
|
|
|
WHERE A.DSCDMNG_ID = #{dscdmngId}
|
|
|
|
AND A.DSCDMNG_ID = #{dscdmngId}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<update id="removeDsuseMgt" parameterType="map" >
|
|
|
|
|
|
|
|
UPDATE tb_dsuse_mgt
|
|
|
|
|
|
|
|
SET use_yn = #{useYn}
|
|
|
|
|
|
|
|
, mdfcn_dt = DATE_FORMAT(now(), '%Y%m%d%H%i%s')
|
|
|
|
|
|
|
|
, mdfr = #{mdfr}
|
|
|
|
|
|
|
|
WHERE dscdmng_id = #{dscdmngId}
|
|
|
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
<update id="updatePrgsSttusOfDsuseMgt" parameterType="map" >
|
|
|
|
<update id="updatePrgsSttusOfDsuseMgt" parameterType="map" >
|
|
|
|
UPDATE tb_dsuse_mgt
|
|
|
|
UPDATE tb_dsuse_mgt
|
|
|
|
SET prgrs_stts_cd = #{prgrsSttsCd}
|
|
|
|
SET prgrs_stts_cd = #{prgrsSttsCd}
|
|
|
|