diff --git a/admin/src/main/resources/mappers/household/daily/RemoveDailyMapper.xml b/admin/src/main/resources/mappers/household/daily/RemoveDailyMapper.xml index 43415611..e829295d 100644 --- a/admin/src/main/resources/mappers/household/daily/RemoveDailyMapper.xml +++ b/admin/src/main/resources/mappers/household/daily/RemoveDailyMapper.xml @@ -19,7 +19,10 @@ update daily_work set where is_deleted = false - and daily_record_seq = #{dailyRecordSeq} + and id IN + + #{id} + @@ -28,7 +31,10 @@ update daily_expense set where is_deleted = false - and daily_record_seq = #{dailyRecordSeq} + and id IN + + #{id} + @@ -37,7 +43,10 @@ update daily_power set where is_deleted = false - and daily_record_seq = #{dailyRecordSeq} + and id IN + + #{id} + @@ -46,7 +55,10 @@ update daily_forestry set where is_deleted = false - and daily_record_seq = #{dailyRecordSeq} + and id IN + + #{id} + @@ -55,7 +67,10 @@ update daily_farming set where is_deleted = false - and daily_record_seq = #{dailyRecordSeq} + and id IN + + #{id} +