[BO] 임가현황 리스트, 상세 작업 중 (1)

This commit is contained in:
kangsunlee
2025-06-12 20:05:27 +09:00
parent 3d79c5349e
commit 265311034a
25 changed files with 850 additions and 32 deletions

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace="app.module.admin.usecase.household.getHouseholdStatus.adapters.persistence.GetHouseholdStatusMapper">
<select id="getHouseholdStatusById"
resultType="app.module.admin.usecase.household.getHouseholdsStatus.ports.application.domain.GetHouseholdsStatus">
SELECT
h.seq AS householdSeq,
h.household_num AS householdNum,
h.owner_age AS householdAge,
h.tel AS householdTel,
h.phone AS householdPhone,
h.region_main_name AS regionMainName,
h.region_sub_name AS regionSubName,
h.region_detail_name AS regionDetailName,
h.address AS address,
h.industry_large_name AS industryLargeName,
h.industry_middle_name AS industryMiddleName,
h.industry_sub_middle AS industrySubMiddleName,
h.industry_detail AS industryDetailName,
h.is_panel AS isPanel,
h.memo AS memo,
r.researcher_name AS researcherName,
r.researcher_phone AS researcherPhone
FROM v_household_with_code h
LEFT JOIN v_household_researcher r ON h.seq = r.household_seq
WHERE h.seq = #{seq}
</select>
</mapper>