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, customer_typ, share_typ, agent_id, company_intention, create_time, follow_situation,
customer_statue, paid
delete from customer
where id = #{id,jdbcType=VARCHAR}
delete from customer
insert into customer (id, aid, customer_typ,
share_typ, agent_id, company_intention,
create_time, follow_situation, customer_statue,
paid)
values (#{id,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{customerTyp,jdbcType=VARCHAR},
#{shareTyp,jdbcType=INTEGER}, #{agentId,jdbcType=VARCHAR}, #{companyIntention,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{followSituation,jdbcType=VARCHAR}, #{customerStatue,jdbcType=VARCHAR},
#{paid,jdbcType=VARCHAR})
insert into customer
id,
aid,
customer_typ,
share_typ,
agent_id,
company_intention,
create_time,
follow_situation,
customer_statue,
paid,
#{id,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{customerTyp,jdbcType=VARCHAR},
#{shareTyp,jdbcType=INTEGER},
#{agentId,jdbcType=VARCHAR},
#{companyIntention,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{followSituation,jdbcType=VARCHAR},
#{customerStatue,jdbcType=VARCHAR},
#{paid,jdbcType=VARCHAR},
update customer
id = #{record.id,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
customer_typ = #{record.customerTyp,jdbcType=VARCHAR},
share_typ = #{record.shareTyp,jdbcType=INTEGER},
agent_id = #{record.agentId,jdbcType=VARCHAR},
company_intention = #{record.companyIntention,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
follow_situation = #{record.followSituation,jdbcType=VARCHAR},
customer_statue = #{record.customerStatue,jdbcType=VARCHAR},
paid = #{record.paid,jdbcType=VARCHAR},
update customer
set id = #{record.id,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
customer_typ = #{record.customerTyp,jdbcType=VARCHAR},
share_typ = #{record.shareTyp,jdbcType=INTEGER},
agent_id = #{record.agentId,jdbcType=VARCHAR},
company_intention = #{record.companyIntention,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
follow_situation = #{record.followSituation,jdbcType=VARCHAR},
customer_statue = #{record.customerStatue,jdbcType=VARCHAR},
paid = #{record.paid,jdbcType=VARCHAR}
update customer
aid = #{aid,jdbcType=VARCHAR},
customer_typ = #{customerTyp,jdbcType=VARCHAR},
share_typ = #{shareTyp,jdbcType=INTEGER},
agent_id = #{agentId,jdbcType=VARCHAR},
company_intention = #{companyIntention,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
follow_situation = #{followSituation,jdbcType=VARCHAR},
customer_statue = #{customerStatue,jdbcType=VARCHAR},
paid = #{paid,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update customer
set aid = #{aid,jdbcType=VARCHAR},
customer_typ = #{customerTyp,jdbcType=VARCHAR},
share_typ = #{shareTyp,jdbcType=INTEGER},
agent_id = #{agentId,jdbcType=VARCHAR},
company_intention = #{companyIntention,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
follow_situation = #{followSituation,jdbcType=VARCHAR},
customer_statue = #{customerStatue,jdbcType=VARCHAR},
paid = #{paid,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}