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, cid, name, sex, mobile, email, qq, wechat, depatrment, customer_position, tel_num, primary_flg delete from customer_user_info where id = #{id,jdbcType=VARCHAR} delete from customer_user_info insert into customer_user_info (id, cid, name, sex, mobile, email, qq, wechat, depatrment, customer_position, tel_num, primary_flg) values (#{id,jdbcType=VARCHAR}, #{cid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{sex,jdbcType=CHAR}, #{mobile,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, #{wechat,jdbcType=VARCHAR}, #{depatrment,jdbcType=VARCHAR}, #{customerPosition,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR}, #{primaryFlg,jdbcType=INTEGER}) insert into customer_user_info id, cid, name, sex, mobile, email, qq, wechat, depatrment, customer_position, tel_num, primary_flg, #{id,jdbcType=VARCHAR}, #{cid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{sex,jdbcType=CHAR}, #{mobile,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, #{wechat,jdbcType=VARCHAR}, #{depatrment,jdbcType=VARCHAR}, #{customerPosition,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR}, #{primaryFlg,jdbcType=INTEGER}, update customer_user_info id = #{record.id,jdbcType=VARCHAR}, cid = #{record.cid,jdbcType=VARCHAR}, name = #{record.name,jdbcType=VARCHAR}, sex = #{record.sex,jdbcType=CHAR}, mobile = #{record.mobile,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, qq = #{record.qq,jdbcType=VARCHAR}, wechat = #{record.wechat,jdbcType=VARCHAR}, depatrment = #{record.depatrment,jdbcType=VARCHAR}, customer_position = #{record.customerPosition,jdbcType=VARCHAR}, tel_num = #{record.telNum,jdbcType=VARCHAR}, primary_flg = #{record.primaryFlg,jdbcType=INTEGER}, update customer_user_info set id = #{record.id,jdbcType=VARCHAR}, cid = #{record.cid,jdbcType=VARCHAR}, name = #{record.name,jdbcType=VARCHAR}, sex = #{record.sex,jdbcType=CHAR}, mobile = #{record.mobile,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, qq = #{record.qq,jdbcType=VARCHAR}, wechat = #{record.wechat,jdbcType=VARCHAR}, depatrment = #{record.depatrment,jdbcType=VARCHAR}, customer_position = #{record.customerPosition,jdbcType=VARCHAR}, tel_num = #{record.telNum,jdbcType=VARCHAR}, primary_flg = #{record.primaryFlg,jdbcType=INTEGER} update customer_user_info cid = #{cid,jdbcType=VARCHAR}, name = #{name,jdbcType=VARCHAR}, sex = #{sex,jdbcType=CHAR}, mobile = #{mobile,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, qq = #{qq,jdbcType=VARCHAR}, wechat = #{wechat,jdbcType=VARCHAR}, depatrment = #{depatrment,jdbcType=VARCHAR}, customer_position = #{customerPosition,jdbcType=VARCHAR}, tel_num = #{telNum,jdbcType=VARCHAR}, primary_flg = #{primaryFlg,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update customer_user_info set cid = #{cid,jdbcType=VARCHAR}, name = #{name,jdbcType=VARCHAR}, sex = #{sex,jdbcType=CHAR}, mobile = #{mobile,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, qq = #{qq,jdbcType=VARCHAR}, wechat = #{wechat,jdbcType=VARCHAR}, depatrment = #{depatrment,jdbcType=VARCHAR}, customer_position = #{customerPosition,jdbcType=VARCHAR}, tel_num = #{telNum,jdbcType=VARCHAR}, primary_flg = #{primaryFlg,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} update customer_user_info set primary_flg=1 where 1=1 and id = #{id,jdbcType=VARCHAR}