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, aid, paid, share_type, customer_type, customer_status, company_intention, follow_situation, tag, create_time, follow_id, effective update customer set effective =1 where id = #{id,jdbcType=VARCHAR} delete from customer insert into customer (id, aid, paid, share_type, customer_type, customer_status, company_intention, follow_situation, tag, create_time, follow_id, effective ) values (#{id,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{paid,jdbcType=VARCHAR}, #{shareType,jdbcType=INTEGER}, #{customerType,jdbcType=INTEGER}, #{customerStatus,jdbcType=INTEGER}, #{companyIntention,jdbcType=CHAR}, #{followSituation,jdbcType=INTEGER}, #{tag,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{followId,jdbcType=VARCHAR}, 0 ) insert into customer id, aid, paid, share_type, customer_type, customer_status, company_intention, follow_situation, tag, create_time, follow_id, effective, #{id,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{paid,jdbcType=VARCHAR}, #{shareType,jdbcType=INTEGER}, #{customerType,jdbcType=INTEGER}, #{customerStatus,jdbcType=INTEGER}, #{companyIntention,jdbcType=CHAR}, #{followSituation,jdbcType=INTEGER}, #{tag,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{followId,jdbcType=VARCHAR}, #{effective,jdbcType=INTEGER}, update customer id = #{record.id,jdbcType=VARCHAR}, aid = #{record.aid,jdbcType=VARCHAR}, paid = #{record.paid,jdbcType=VARCHAR}, share_type = #{record.shareType,jdbcType=INTEGER}, customer_type = #{record.customerType,jdbcType=INTEGER}, customer_status = #{record.customerStatus,jdbcType=INTEGER}, company_intention = #{record.companyIntention,jdbcType=CHAR}, follow_situation = #{record.followSituation,jdbcType=INTEGER}, tag = #{record.tag,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, follow_id = #{record.followId,jdbcType=VARCHAR}, effective = #{record.effective,jdbcType=INTEGER}, update customer set id = #{record.id,jdbcType=VARCHAR}, aid = #{record.aid,jdbcType=VARCHAR}, paid = #{record.paid,jdbcType=VARCHAR}, share_type = #{record.shareType,jdbcType=INTEGER}, customer_type = #{record.customerType,jdbcType=INTEGER}, customer_status = #{record.customerStatus,jdbcType=INTEGER}, company_intention = #{record.companyIntention,jdbcType=CHAR}, follow_situation = #{record.followSituation,jdbcType=INTEGER}, tag = #{record.tag,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, follow_id = #{record.followId,jdbcType=VARCHAR}, effective = #{record.effective,jdbcType=INTEGER} update customer aid = #{aid,jdbcType=VARCHAR}, paid = #{paid,jdbcType=VARCHAR}, share_type = #{shareType,jdbcType=INTEGER}, customer_type = #{customerType,jdbcType=INTEGER}, customer_status = #{customerStatus,jdbcType=INTEGER}, company_intention = #{companyIntention,jdbcType=CHAR}, follow_situation = #{followSituation,jdbcType=INTEGER}, tag = #{tag,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, follow_id = #{followId,jdbcType=VARCHAR}, effective = #{effective,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update customer set aid = #{aid,jdbcType=VARCHAR}, paid = #{paid,jdbcType=VARCHAR}, share_type = #{shareType,jdbcType=INTEGER}, customer_type = #{customerType,jdbcType=INTEGER}, customer_status = #{customerStatus,jdbcType=INTEGER}, company_intention = #{companyIntention,jdbcType=CHAR}, follow_situation = #{followSituation,jdbcType=INTEGER}, tag = #{tag,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, follow_id = #{followId,jdbcType=VARCHAR}, effective = #{effective,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}