select id, coal_pay_id, coal_category_id, category_type, update_by, update_time, create_by, create_time, del_flag from coal_pay_category update coal_pay_category set del_flag = 2 where coal_pay_id = #{id}