[BO] 수정 반영
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<foreach collection="householdSeqs" item="householdSeq" separator=",">
|
||||
(
|
||||
nextval('researcher_has_household_seq'),
|
||||
#{researcherSeq},
|
||||
#{adminSeq},
|
||||
#{householdSeq},
|
||||
<include refid="common.fields.CreateUpdateBaseValues"/>
|
||||
)
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
JOIN researcher_has_household rhh ON v.household_seq = rhh.household_seq
|
||||
WHERE TO_CHAR(v.visit_date, 'YYYYMM') = #{cmd.recordMonth}
|
||||
AND rhh.is_deleted = false
|
||||
AND v.is_deleted = false
|
||||
) sub
|
||||
WHERE rn <= 2
|
||||
GROUP BY household_seq
|
||||
|
||||
Reference in New Issue
Block a user