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, create_by, create_time, del_flag, update_by, update_time, name, sex, phone, address,
province, city, area, shop_id, user_id, category_id, category_name, order_by_field
delete from t_customer
where id = #{id,jdbcType=VARCHAR}
delete from t_customer
insert into t_customer (id, create_by, create_time,
del_flag, update_by, update_time,
name, sex, phone, address,
province, city, area,
shop_id, user_id, category_id, category_name, order_by_field)
values (#{id,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{name,jdbcType=VARCHAR}, #{sex,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR},
#{shopId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{categoryId,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR},#{orderByField,jdbcType=INTEGER})
insert into t_customer
id,
create_by,
create_time,
del_flag,
update_by,
update_time,
name,
sex,
phone,
address,
province,
city,
area,
shop_id,
user_id,
category_id,
category_name,
order_by_field,
#{id,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{name,jdbcType=VARCHAR},
#{sex,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{area,jdbcType=VARCHAR},
#{shopId,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR},
#{categoryName,jdbcType=VARCHAR},
#{orderByField,jdbcType=INTEGER},
update t_customer
id = #{record.id,jdbcType=VARCHAR},
create_by = #{record.createBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
del_flag = #{record.delFlag,jdbcType=INTEGER},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
name = #{record.name,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
address = #{record.address,jdbcType=VARCHAR},
province = #{record.province,jdbcType=VARCHAR},
city = #{record.city,jdbcType=VARCHAR},
area = #{record.area,jdbcType=VARCHAR},
shop_id = #{record.shopId,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
category_name = #{record.categoryName,jdbcType=VARCHAR},
order_by_field = #{record.orderByField,jdbcType=INTEGER},
update t_customer
set id = #{record.id,jdbcType=VARCHAR},
create_by = #{record.createBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
del_flag = #{record.delFlag,jdbcType=INTEGER},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
name = #{record.name,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
address = #{record.address,jdbcType=VARCHAR},
province = #{record.province,jdbcType=VARCHAR},
city = #{record.city,jdbcType=VARCHAR},
area = #{record.area,jdbcType=VARCHAR},
shop_id = #{record.shopId,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
category_name = #{record.categoryName,jdbcType=VARCHAR},
order_by_field = #{record.orderByField,jdbcType=INTEGER}
update t_customer
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
name = #{name,jdbcType=VARCHAR},
sex = #{sex,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
area = #{area,jdbcType=VARCHAR},
shop_id = #{shopId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
order_by_field = #{orderByField,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update t_customer
set create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
name = #{name,jdbcType=VARCHAR},
sex = #{sex,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
area = #{area,jdbcType=VARCHAR},
shop_id = #{shopId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
order_by_field = #{orderByField,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update t_customer
set del_flag ='1'
where id = #{id,jdbcType=VARCHAR}
update t_customer
set phone = #{newMobile,jdbcType=VARCHAR}
where user_id = #{userId,jdbcType=VARCHAR}
update t_customer
set del_flag = '1'
where id in
#{listItem}