id, white_r_no, white_r_name, match_type, charge_type, car_color, car_num, car_owner,
sex, address, card_id, phone, white_r_state, auditor_status, remark, data_state,
create_empid, create_name, create_date, modify_empid, modify_name, modify_date, eff_date,
exp_date, max_charge_fee, report_fee_type, org_id
update tb_r_whitelist_park_rel c,
(select b.id
from tb_r_whitelist_rule a,
tb_r_whitelist_park_rel b
where a.data_state = 1
and b.data_state = 1
and a.white_r_no = b.white_r_no
and a.car_num in
#{carNum}
and exp_date > #{effDate}
and b.pl_no in
#{plNo}
)d
set c.data_state = 0,
c.modify_empid = #{createEmpid},
c.modify_date = #{createDate}
where c.id = d.id