update jsh_material set delete_flag='1' where 1=1 and ifnull(delete_flag,'0') !='1' and id in ( #{id} ) update jsh_material set unit_id = null where 1=1 and ifnull(delete_flag,'0') !='1' and id = #{id} update jsh_material set expiry_num = null where 1=1 and ifnull(delete_flag,'0') !='1' and id = #{id}