임가 등록/ 조사원 매팡 엑셀 파일 업로드

This commit is contained in:
주수현
2025-06-27 18:55:40 +09:00
parent dd55024a0b
commit 88cd8b9003
12 changed files with 195 additions and 50 deletions

View File

@@ -4,7 +4,7 @@
<mapper
namespace="app.module.admin.usecase.household.createHousehold.adapters.persistence.CreateHouseholdMapper">
<insert id="createHousehold">
<update id="createHousehold">
/* createHousehold : 임가 등록 */
<selectKey keyProperty="seq" resultType="long" order="BEFORE">
SELECT nextval('household_seq')
@@ -79,7 +79,7 @@
</if>
<include refid="common.fields.CreateUpdateBaseValues"/>
)
</insert>
</update>
<insert id="createHouseholdHasRole">
/* createHouseholdHasRole : 임가 역할 등록 */

View File

@@ -31,6 +31,7 @@
<when test="cmd.searchField eq 'name'">
AND a.name ILIKE '%' || #{cmd.searchValue} || '%'
</when>
<when test="cmd.searchField eq 'phone'">
AND a.phone ILIKE '%' || #{cmd.searchValue} || '%'
</when>