[BO] 임가 등록/수정 조사원 매핑 오류 수정
This commit is contained in:
@@ -23,12 +23,12 @@ class UpdateHouseholdDao implements UpdateHouseholdPortOut {
|
|||||||
if (outCmd.getResearcherSeq() != null) {
|
if (outCmd.getResearcherSeq() != null) {
|
||||||
// 매핑 정보 먼저 삭제
|
// 매핑 정보 먼저 삭제
|
||||||
mapper.deleteResearcherHasHousehold(AuditUtil.delete(
|
mapper.deleteResearcherHasHousehold(AuditUtil.delete(
|
||||||
new UpdateResearcherHasHouseholdCmd(outCmd.getResearcherSeq(),
|
new UpdateResearcherHasHouseholdCmd(outCmd.getHouseholdSeq(),
|
||||||
outCmd.getResearcherSeq())));
|
outCmd.getResearcherSeq())));
|
||||||
|
|
||||||
// 다시 등록
|
// 다시 등록
|
||||||
mapper.createResearcherHasHousehold(AuditUtil.create(
|
mapper.createResearcherHasHousehold(AuditUtil.create(
|
||||||
new UpdateResearcherHasHouseholdCmd(outCmd.getResearcherSeq(),
|
new UpdateResearcherHasHouseholdCmd(outCmd.getHouseholdSeq(),
|
||||||
outCmd.getResearcherSeq())));
|
outCmd.getResearcherSeq())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user