update mom_ocean.inspect_unaccepted set state=0 where raw_inspect_id = #{id} and type = 0 update mom_ocean.inspect_unaccepted set state=0 where raw_inspect_id in (${ids}) and type = 0