and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, card_no, card_name, pl_no, pl_name, effect_time, expire_time, customer_no, area_no, area_name, data_status, customer_name, card_status, create_date, update_date,org_id delete from td_cl_sub_card_info where id = #{id,jdbcType=BIGINT} delete from td_cl_sub_card_info SELECT LAST_INSERT_ID() insert into td_cl_sub_card_info (card_no, card_name, pl_no, pl_name, effect_time, expire_time, customer_no, area_no, area_name, data_status, customer_name, card_status, create_date, update_date) values (#{cardNo,jdbcType=VARCHAR}, #{cardName,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{effectTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=TIMESTAMP}, #{customerNo,jdbcType=VARCHAR}, #{areaNo,jdbcType=VARCHAR}, #{areaName,jdbcType=VARCHAR}, #{dataStatus,jdbcType=INTEGER}, #{customerName,jdbcType=VARCHAR}, #{cardStatus,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, #{updateDate,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into td_cl_sub_card_info card_no, card_name, pl_no, pl_name, effect_time, expire_time, customer_no, area_no, area_name, data_status, customer_name, card_status, create_date, update_date, phone_no, org_id, #{cardNo,jdbcType=VARCHAR}, #{cardName,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{effectTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=TIMESTAMP}, #{customerNo,jdbcType=VARCHAR}, #{areaNo,jdbcType=VARCHAR}, #{areaName,jdbcType=VARCHAR}, #{dataStatus,jdbcType=INTEGER}, #{customerName,jdbcType=VARCHAR}, #{cardStatus,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, #{updateDate,jdbcType=TIMESTAMP}, #{phoneNo,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT}, update td_cl_sub_card_info id = #{record.id,jdbcType=BIGINT}, card_no = #{record.cardNo,jdbcType=VARCHAR}, card_name = #{record.cardName,jdbcType=VARCHAR}, pl_no = #{record.plNo,jdbcType=VARCHAR}, pl_name = #{record.plName,jdbcType=VARCHAR}, effect_time = #{record.effectTime,jdbcType=TIMESTAMP}, expire_time = #{record.expireTime,jdbcType=TIMESTAMP}, customer_no = #{record.customerNo,jdbcType=VARCHAR}, area_no = #{record.areaNo,jdbcType=VARCHAR}, area_name = #{record.areaName,jdbcType=VARCHAR}, data_status = #{record.dataStatus,jdbcType=INTEGER}, customer_name = #{record.customerName,jdbcType=VARCHAR}, card_status = #{record.cardStatus,jdbcType=INTEGER}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, update_date = #{record.updateDate,jdbcType=TIMESTAMP}, update td_cl_sub_card_info set id = #{record.id,jdbcType=BIGINT}, card_no = #{record.cardNo,jdbcType=VARCHAR}, card_name = #{record.cardName,jdbcType=VARCHAR}, pl_no = #{record.plNo,jdbcType=VARCHAR}, pl_name = #{record.plName,jdbcType=VARCHAR}, effect_time = #{record.effectTime,jdbcType=TIMESTAMP}, expire_time = #{record.expireTime,jdbcType=TIMESTAMP}, customer_no = #{record.customerNo,jdbcType=VARCHAR}, area_no = #{record.areaNo,jdbcType=VARCHAR}, area_name = #{record.areaName,jdbcType=VARCHAR}, data_status = #{record.dataStatus,jdbcType=INTEGER}, customer_name = #{record.customerName,jdbcType=VARCHAR}, card_status = #{record.cardStatus,jdbcType=INTEGER}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, update_date = #{record.updateDate,jdbcType=TIMESTAMP} update td_cl_sub_card_info card_no = #{cardNo,jdbcType=VARCHAR}, card_name = #{cardName,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, pl_name = #{plName,jdbcType=VARCHAR}, effect_time = #{effectTime,jdbcType=TIMESTAMP}, expire_time = #{expireTime,jdbcType=TIMESTAMP}, customer_no = #{customerNo,jdbcType=VARCHAR}, area_no = #{areaNo,jdbcType=VARCHAR}, area_name = #{areaName,jdbcType=VARCHAR}, data_status = #{dataStatus,jdbcType=INTEGER}, customer_name = #{customerName,jdbcType=VARCHAR}, card_status = #{cardStatus,jdbcType=INTEGER}, create_date = #{createDate,jdbcType=TIMESTAMP}, update_date = #{updateDate,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update td_cl_sub_card_info set card_no = #{cardNo,jdbcType=VARCHAR}, card_name = #{cardName,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, pl_name = #{plName,jdbcType=VARCHAR}, effect_time = #{effectTime,jdbcType=TIMESTAMP}, expire_time = #{expireTime,jdbcType=TIMESTAMP}, customer_no = #{customerNo,jdbcType=VARCHAR}, area_no = #{areaNo,jdbcType=VARCHAR}, area_name = #{areaName,jdbcType=VARCHAR}, data_status = #{dataStatus,jdbcType=INTEGER}, customer_name = #{customerName,jdbcType=VARCHAR}, card_status = #{cardStatus,jdbcType=INTEGER}, create_date = #{createDate,jdbcType=TIMESTAMP}, update_date = #{updateDate,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}