update mom_ocean.technique set state=0 where technology_id = (select technology_id from mom_ocean.product where product.id = #{id}) and product_father = (select father from mom_ocean.product where product.id = #{id}) and product = (select name from mom_ocean.product where product.id = #{id}) update mom_ocean.technique set state=0 where technology_id in (select technology_id from mom_ocean.product where product.id in (${ids})) and product_father in (select father from mom_ocean.product where product.id in (${ids})) and product in (select name from mom_ocean.product where product.id in (${ids})) update mom_ocean.technique set state=0 where technology_id = #{id} update mom_ocean.technique set state=0 where technology_id in (${ids}) update mom_ocean.technique set state=0 where id in (${ids})