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_rule_name, card_type, time, unit_price, discount, data_status, charge_type, charge, count, customer_no, card_no, effect_time, expire_time delete from td_cl_sub_flow_record where id = #{id,jdbcType=BIGINT} delete from td_cl_sub_flow_record SELECT LAST_INSERT_ID() insert into td_cl_sub_flow_record (card_rule_name, card_type, time, unit_price, discount, data_status, charge_type, charge, count, customer_no, card_no, effect_time, expire_time) values (#{cardRuleName,jdbcType=VARCHAR}, #{cardType,jdbcType=INTEGER}, #{time,jdbcType=TIMESTAMP}, #{unitPrice,jdbcType=BIGINT}, #{discount,jdbcType=INTEGER}, #{dataStatus,jdbcType=INTEGER}, #{chargeType,jdbcType=INTEGER}, #{charge,jdbcType=BIGINT}, #{count,jdbcType=BIGINT}, #{customerNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}, #{effectTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into td_cl_sub_flow_record card_rule_name, card_type, time, unit_price, discount, data_status, charge_type, charge, count, customer_no, card_no, effect_time, expire_time, #{cardRuleName,jdbcType=VARCHAR}, #{cardType,jdbcType=INTEGER}, #{time,jdbcType=TIMESTAMP}, #{unitPrice,jdbcType=BIGINT}, #{discount,jdbcType=INTEGER}, #{dataStatus,jdbcType=INTEGER}, #{chargeType,jdbcType=INTEGER}, #{charge,jdbcType=BIGINT}, #{count,jdbcType=BIGINT}, #{customerNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}, #{effectTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=TIMESTAMP}, update td_cl_sub_flow_record id = #{record.id,jdbcType=BIGINT}, card_rule_name = #{record.cardRuleName,jdbcType=VARCHAR}, card_type = #{record.cardType,jdbcType=INTEGER}, time = #{record.time,jdbcType=TIMESTAMP}, unit_price = #{record.unitPrice,jdbcType=BIGINT}, discount = #{record.discount,jdbcType=INTEGER}, data_status = #{record.dataStatus,jdbcType=INTEGER}, chargeType = #{record.chargeType,jdbcType=INTEGER}, charge = #{record.charge,jdbcType=BIGINT}, count = #{record.count,jdbcType=BIGINT}, customer_no = #{record.customerNo,jdbcType=VARCHAR}, card_no = #{record.cardNo,jdbcType=VARCHAR}, effect_time = #{record.effectTime,jdbcType=TIMESTAMP}, expire_time = #{record.expireTime,jdbcType=TIMESTAMP}, update td_cl_sub_flow_record set id = #{record.id,jdbcType=BIGINT}, card_rule_name = #{record.cardRuleName,jdbcType=VARCHAR}, card_type = #{record.cardType,jdbcType=INTEGER}, time = #{record.time,jdbcType=TIMESTAMP}, unit_price = #{record.unitPrice,jdbcType=BIGINT}, discount = #{record.discount,jdbcType=INTEGER}, data_status = #{record.dataStatus,jdbcType=INTEGER}, charge_type = #{record.chargeType,jdbcType=INTEGER}, charge = #{record.charge,jdbcType=BIGINT}, count = #{record.count,jdbcType=BIGINT}, customer_no = #{record.customerNo,jdbcType=VARCHAR}, card_no = #{record.cardNo,jdbcType=VARCHAR}, effect_time = #{record.effectTime,jdbcType=TIMESTAMP}, expire_time = #{record.expireTime,jdbcType=TIMESTAMP} update td_cl_sub_flow_record card_rule_name = #{cardRuleName,jdbcType=VARCHAR}, card_type = #{cardType,jdbcType=INTEGER}, time = #{time,jdbcType=TIMESTAMP}, unit_price = #{unitPrice,jdbcType=BIGINT}, discount = #{discount,jdbcType=INTEGER}, data_status = #{dataStatus,jdbcType=INTEGER}, charge_type = #{chargeType,jdbcType=INTEGER}, charge = #{charge,jdbcType=BIGINT}, count = #{count,jdbcType=BIGINT}, customer_no = #{customerNo,jdbcType=VARCHAR}, card_no = #{cardNo,jdbcType=VARCHAR}, effect_time = #{effectTime,jdbcType=TIMESTAMP}, expire_time = #{expireTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update td_cl_sub_flow_record set card_rule_name = #{cardRuleName,jdbcType=VARCHAR}, card_type = #{cardType,jdbcType=INTEGER}, time = #{time,jdbcType=TIMESTAMP}, unit_price = #{unitPrice,jdbcType=BIGINT}, discount = #{discount,jdbcType=INTEGER}, data_status = #{dataStatus,jdbcType=INTEGER}, charge_type = #{chargeType,jdbcType=INTEGER}, charge = #{charge,jdbcType=BIGINT}, count = #{count,jdbcType=BIGINT}, customer_no = #{customerNo,jdbcType=VARCHAR}, card_no = #{cardNo,jdbcType=VARCHAR}, effect_time = #{effectTime,jdbcType=TIMESTAMP}, expire_time = #{expireTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}