and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货') and di.depot_id in #{item} and di.another_depot_id in #{item} update jsh_depot_item set delete_flag='1' where 1=1 and header_id in ( #{depotheadId} ) update jsh_depot_item set delete_flag='1' where 1=1 and id in ( #{id} )