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, uid, aid, follow_situation, customer_status, create_time, update_time, remarks,
business_project_id
delete from user_business
where id = #{id,jdbcType=VARCHAR}
delete from user_business
insert into user_business (id, uid, aid,
follow_situation, customer_status, create_time,
update_time, remarks, business_project_id
)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
#{followSituation,jdbcType=INTEGER}, #{customerStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, #{businessProjectId,jdbcType=VARCHAR}
)
insert into user_business
id,
uid,
aid,
follow_situation,
customer_status,
create_time,
update_time,
remarks,
business_project_id,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{followSituation,jdbcType=INTEGER},
#{customerStatus,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{remarks,jdbcType=VARCHAR},
#{businessProjectId,jdbcType=VARCHAR},
update user_business
id = #{record.id,jdbcType=VARCHAR},
uid = #{record.uid,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
follow_situation = #{record.followSituation,jdbcType=INTEGER},
customer_status = #{record.customerStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
remarks = #{record.remarks,jdbcType=VARCHAR},
business_project_id = #{record.businessProjectId,jdbcType=VARCHAR},
update user_business
set id = #{record.id,jdbcType=VARCHAR},
uid = #{record.uid,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
follow_situation = #{record.followSituation,jdbcType=INTEGER},
customer_status = #{record.customerStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
remarks = #{record.remarks,jdbcType=VARCHAR},
business_project_id = #{record.businessProjectId,jdbcType=VARCHAR}
update user_business
uid = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
follow_situation = #{followSituation,jdbcType=INTEGER},
customer_status = #{customerStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
business_project_id = #{businessProjectId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update user_business
set uid = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
follow_situation = #{followSituation,jdbcType=INTEGER},
customer_status = #{customerStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
business_project_id = #{businessProjectId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
update user_business
set aid= #{transferId,jdbcType=VARCHAR}
where aid= #{aid,jdbcType=VARCHAR}