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, demand_id, organization, contacts, contact_mobile, result, last_follow_time,
sources, remark
delete from demand_follow
where id = #{id,jdbcType=VARCHAR}
delete from demand_follow
insert into demand_follow (id, demand_id, organization,
contacts, contact_mobile, result,
last_follow_time, sources, remark
)
values (#{id,jdbcType=VARCHAR}, #{demandId,jdbcType=VARCHAR}, #{organization,jdbcType=VARCHAR},
#{contacts,jdbcType=VARCHAR}, #{contactMobile,jdbcType=VARCHAR}, #{result,jdbcType=INTEGER},
#{lastFollowTime,jdbcType=TIMESTAMP}, #{sources,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}
)
insert into demand_follow
id,
demand_id,
organization,
contacts,
contact_mobile,
result,
last_follow_time,
sources,
remark,
#{id,jdbcType=VARCHAR},
#{demandId,jdbcType=VARCHAR},
#{organization,jdbcType=VARCHAR},
#{contacts,jdbcType=VARCHAR},
#{contactMobile,jdbcType=VARCHAR},
#{result,jdbcType=INTEGER},
#{lastFollowTime,jdbcType=TIMESTAMP},
#{sources,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
update demand_follow
id = #{record.id,jdbcType=VARCHAR},
demand_id = #{record.demandId,jdbcType=VARCHAR},
organization = #{record.organization,jdbcType=VARCHAR},
contacts = #{record.contacts,jdbcType=VARCHAR},
contact_mobile = #{record.contactMobile,jdbcType=VARCHAR},
result = #{record.result,jdbcType=INTEGER},
last_follow_time = #{record.lastFollowTime,jdbcType=TIMESTAMP},
sources = #{record.sources,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
update demand_follow
set id = #{record.id,jdbcType=VARCHAR},
demand_id = #{record.demandId,jdbcType=VARCHAR},
organization = #{record.organization,jdbcType=VARCHAR},
contacts = #{record.contacts,jdbcType=VARCHAR},
contact_mobile = #{record.contactMobile,jdbcType=VARCHAR},
result = #{record.result,jdbcType=INTEGER},
last_follow_time = #{record.lastFollowTime,jdbcType=TIMESTAMP},
sources = #{record.sources,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR}
update demand_follow
demand_id = #{demandId,jdbcType=VARCHAR},
organization = #{organization,jdbcType=VARCHAR},
contacts = #{contacts,jdbcType=VARCHAR},
contact_mobile = #{contactMobile,jdbcType=VARCHAR},
result = #{result,jdbcType=INTEGER},
last_follow_time = #{lastFollowTime,jdbcType=TIMESTAMP},
sources = #{sources,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update demand_follow
set demand_id = #{demandId,jdbcType=VARCHAR},
organization = #{organization,jdbcType=VARCHAR},
contacts = #{contacts,jdbcType=VARCHAR},
contact_mobile = #{contactMobile,jdbcType=VARCHAR},
result = #{result,jdbcType=INTEGER},
last_follow_time = #{lastFollowTime,jdbcType=TIMESTAMP},
sources = #{sources,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}