fit : 조회결과에 관할관청 추가.

dev
Leeyh1121 4 months ago
parent a656c0fae6
commit 259af30ee2

@ -8,6 +8,7 @@
<sql id="select">
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

@ -98,6 +98,7 @@
<input type="checkbox" class="form-check-input" id="gridAllCheckbox--${pageName}"
onchange="pageObject['${pageName}'].control.select(this.checked);" />
</th>
<th class="cmn" style="width: 170.141px;">관할관청</th>
<th class="cmn" style="width: 130.141px;">폐기관리번호</th>
<th class="cmn" style="width: 120.141px;">취급일자</th>
<th class="cmn" style="width: 120.469px;">폐기일자</th>
@ -121,6 +122,7 @@
<input type="checkbox" class="form-check-input" name="gridCheckbox" value="{dscdmng_id}"
onchange="pageObject['${pageName}'].control.select('{dscdmng_id}', this.checked);">
</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{dept_nm}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{dscdmng_id}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{hdr_de}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{dsuse_de}</td>

Loading…
Cancel
Save