select card_id, card_no, password, type, status, distribute_status, time_status, pay_status, is_settlement, dept_id, agent_id, leaf_agent_id, campus_id, assign_location,assign_exam_type,assign_school_id, school_id, class_id, year, end_year, open_id, remark, distribute_time, out_date, open_time, pay_time, active_time, settlement_time, refund_time, close_time, create_time, update_time from dz_cards
insert into dz_cards
card_no,
password,
type,
status,
distribute_status,
time_status,
pay_status,
is_settlement,
dept_id,
agent_id,
leaf_agent_id,
campus_id,
assign_location,assign_exam_type,assign_school_id,
school_id,
class_id,
year,
end_year,
open_id,
remark,
distribute_time,
out_date,
open_time,
pay_time,
active_time,
settlement_time,
refund_time,
close_time,
create_time,
update_time,
#{cardNo},
#{password},
#{type},
#{status},
#{distributeStatus},
#{timeStatus},
#{payStatus},
#{isSettlement},
#{deptId},
#{agentId},
#{leafAgentId},
#{campusId},
#{assignLocation},#{assignExamType},#{assignSchoolId},
#{schoolId},
#{classId},
#{year},
#{endYear},
#{openId},
#{remark},
#{distributeTime},
#{outDate},
#{openTime},
#{payTime},
#{activeTime},
#{settlementTime},
#{refundTime},
#{closeTime},
#{createTime},
#{updateTime},
update dz_cards
card_no = #{cardNo},
password = #{password},
type = #{type},
status = #{status},
distribute_status = #{distributeStatus},
time_status = #{timeStatus},
pay_status = #{payStatus},
is_settlement = #{isSettlement},
dept_id = #{deptId},
agent_id = #{agentId},
leaf_agent_id = #{leafAgentId},
campus_id = #{campusId},
assign_location = #{assignLocation},assign_exam_type = #{assignExamType},assign_school_id = #{assignSchoolId},
school_id = #{schoolId},
class_id = #{classId},
year = #{year},
end_year = #{endYear},
open_id = #{openId},
remark = #{remark},
distribute_time = #{distributeTime},
out_date = #{outDate},
open_time = #{openTime},
pay_time = #{payTime},
active_time = #{activeTime},
settlement_time = #{settlementTime},
refund_time = #{refundTime},
close_time = #{closeTime},
create_time = #{createTime},
update_time = #{updateTime},
where card_id = #{cardId}
delete from dz_cards where card_id = #{cardId}
delete from dz_cards where card_id in
#{cardId}