[BO] 임가현황, 조사원현황 엑셀 다운로드 작업 중 (1)

This commit is contained in:
kangsunlee
2025-07-04 09:56:03 +09:00
parent 38a9ca2997
commit f53cab803b
23 changed files with 692 additions and 70 deletions

View File

@@ -35,7 +35,10 @@
and a.account_disabled = #{searchAccountDisabled}
</if>
group by a.seq
LIMIT #{size} OFFSET #{page}*#{size}
<if test="isPaging">
LIMIT #{size} OFFSET #{page}*#{size}
</if>
</select>
<select id="countAll" parameterType="app.module.admin.usecase.researcher.adpaters.web.model.ResearchersListReqVO" resultType="long">
@@ -92,9 +95,17 @@
rd.code_text AS region_detail_code_name,
il.code_text AS industry_large_code_name,
im.code_text AS industry_middle_code_name,
case h.is_panel when false then '유지' when true then '탈락' end panel_flag
case h.is_panel when false then '유지' when true then '탈락' end panel_flag,
h.owner_age,
h.address,
h.industry_sub_middle,
h.industry_detail,
h.usage_type,
a.name AS researcherName,
a.phone AS researcherPhone
from household h
join researcher_has_household rhh ON h.seq = rhh.household_seq and rhh.is_deleted = false
join admin a ON a.seq = rhh.admin_seq and a.is_deleted = false
left join uicode rm ON rm.parent_id = 'code.region.main' AND rm.id = h.region_main_code
left join uicode rs ON rs.parent_id = 'code.region.sub' AND rs.id = h.region_sub_code
left join uicode rd ON rd.id = h.region_detail_code
@@ -104,7 +115,10 @@
<if test="seq > 0">
and rhh.admin_seq = #{seq}
</if>
LIMIT #{size} OFFSET #{page}*#{size}
<if test="isPaging">
LIMIT #{size} OFFSET #{page}*#{size}
</if>
</select>
<select id="mappingHouseholdListCountAll">