260526_01_ENH: 투표소에 원/근거리 정보 추가

This commit is contained in:
2026-05-26 10:30:41 +09:00
parent 899ebc3f2b
commit 074f1aba4e
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@
SQL = SQL&" dbo.codeLabel('position', RI.r_position, NULL) AS r_position, "
SQL = SQL&" Replace(dbo.codeLabel('car', RI.r_car, NULL), '없음', '') AS r_car, "
SQL = SQL&" Replace(dbo.codeLabel('ex', RI.r_ex, NULL), '없음', '') AS r_ex, "
SQL = SQL&" Replace(dbo.codeLabel('stay', RI.r_stay, NULL), '비숙박', '') AS r_stay, "
SQL = SQL&" dbo.codeLabel('stay', RI.r_stay, NULL) AS r_stay, "
SQL = SQL&" dbo.base64_decode(ISNULL(r_jumin,'')) AS r_jumin, "
SQL = SQL&" dbo.codeLabel('bank', RI.r_bank, NULL) AS r_bank, "
SQL = SQL&" dbo.base64_decode(ISNULL(r_account,'')) AS r_account, "

View File

@@ -7,6 +7,7 @@ DBConnect()
eSQL=""
eSQL=eSQL&" SELECT distinct dbo.codeLabel('position', RI.r_position, NULL) AS r_position, dbo.codeLabel('pay', RE.e_district_cd, RI.r_position) AS r_pay, "
eSQL=eSQL&" RD.exit_cd, RE.e_exit_nm, RE.e_full_nm, RE.e_full_ad, "
eSQL=eSQL&" case when RE.e_distance = 1 then '원거리' when RE.e_distance = 2 then '근거리' else '' end as e_distance, "
eSQL=eSQL&" isnull(RI2.r_name,'') as L_NAME, isnull(dbo.base64_decode(RI2.r_phone),'') as L_PHONE, case when RI2.r_position = 1 then '조장' when RI2.r_position = 4 then '감독관' else '' end as L_GRADE, "
eSQL=eSQL&" RE.e_assembly_place, RE.e_assembly_time, RE.e_stay_nm, RE.e_stay_tel, RE.e_stay_add, "
eSQL=eSQL&" case when RE.s_stay = 1 then '숙박' when RE.s_stay = 2 then '비숙박' else '미정' end as s_stay "
@@ -153,7 +154,7 @@ If eObjdb.RecordCount > 0 Then
<label>투표소명 <!--<button type="button" class="btn btn-info btn-sm ExitInfo" data-exitcd="<%=eObjdb("exit_cd")%>">사전답사 보고서 조회</button>--></label>
<div class="input-group">
<div class="btn-group">
<%=eObjdb("e_exit_nm") %>(<%=eObjdb("s_stay") %>)
<%=eObjdb("e_exit_nm") %> (<%=eObjdb("e_distance") %> - <%=eObjdb("s_stay") %>)
</div>
</div>
<hr/>