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, cust_id, recipient, province, city, area, address, phone, is_default, data_state, create_date, create_empid, modfiy_date, modfiy_empid delete from td_c_cust_mailing_address where id = #{id,jdbcType=BIGINT} delete from td_c_cust_mailing_address SELECT LAST_INSERT_ID() insert into td_c_cust_mailing_address (cust_id, recipient, province, city, area, address, phone, is_default, data_state, create_date, create_empid, modfiy_date, modfiy_empid) values (#{custId,jdbcType=VARCHAR}, #{recipient,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{isDefault,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, #{createEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into td_c_cust_mailing_address cust_id, recipient, province, city, area, address, phone, is_default, data_state, create_date, create_empid, modfiy_date, modfiy_empid, #{custId,jdbcType=VARCHAR}, #{recipient,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{isDefault,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, #{createEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}, update td_c_cust_mailing_address id = #{record.id,jdbcType=BIGINT}, cust_id = #{record.custId,jdbcType=VARCHAR}, recipient = #{record.recipient,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, area = #{record.area,jdbcType=VARCHAR}, address = #{record.address,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, is_default = #{record.isDefault,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, create_empid = #{record.createEmpid,jdbcType=VARCHAR}, modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}, modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR}, update td_c_cust_mailing_address set id = #{record.id,jdbcType=BIGINT}, cust_id = #{record.custId,jdbcType=VARCHAR}, recipient = #{record.recipient,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, area = #{record.area,jdbcType=VARCHAR}, address = #{record.address,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, is_default = #{record.isDefault,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, create_empid = #{record.createEmpid,jdbcType=VARCHAR}, modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}, modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR} update td_c_cust_mailing_address cust_id = #{custId,jdbcType=VARCHAR}, recipient = #{recipient,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, area = #{area,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, is_default = #{isDefault,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_date = #{createDate,jdbcType=TIMESTAMP}, create_empid = #{createEmpid,jdbcType=VARCHAR}, modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}, modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update td_c_cust_mailing_address set cust_id = #{custId,jdbcType=VARCHAR}, recipient = #{recipient,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, area = #{area,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, is_default = #{isDefault,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_date = #{createDate,jdbcType=TIMESTAMP}, create_empid = #{createEmpid,jdbcType=VARCHAR}, modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}, modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}