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, paid, result, attachment_url, create_time, ocb_id, contact_type, effective,
time_stamp, follow_count
delete from user_follow
where id = #{id,jdbcType=VARCHAR}
delete from user_follow
insert into user_follow (id, uid, aid,
paid, result, attachment_url,
create_time, ocb_id, contact_type,
effective, time_stamp, follow_count
)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
#{paid,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, #{attachmentUrl,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{ocbId,jdbcType=VARCHAR}, #{contactType,jdbcType=INTEGER},
#{effective,jdbcType=INTEGER}, #{timeStamp,jdbcType=TIMESTAMP}, #{followCount,jdbcType=INTEGER}
)
insert into user_follow
id,
uid,
aid,
paid,
result,
attachment_url,
create_time,
ocb_id,
contact_type,
effective,
time_stamp,
follow_count,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{paid,jdbcType=VARCHAR},
#{result,jdbcType=VARCHAR},
#{attachmentUrl,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{ocbId,jdbcType=VARCHAR},
#{contactType,jdbcType=INTEGER},
#{effective,jdbcType=INTEGER},
#{timeStamp,jdbcType=TIMESTAMP},
#{followCount,jdbcType=INTEGER},
update user_follow
id = #{record.id,jdbcType=VARCHAR},
uid = #{record.uid,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
paid = #{record.paid,jdbcType=VARCHAR},
result = #{record.result,jdbcType=VARCHAR},
attachment_url = #{record.attachmentUrl,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
ocb_id = #{record.ocbId,jdbcType=VARCHAR},
contact_type = #{record.contactType,jdbcType=INTEGER},
effective = #{record.effective,jdbcType=INTEGER},
time_stamp = #{record.timeStamp,jdbcType=TIMESTAMP},
follow_count = #{record.followCount,jdbcType=INTEGER},
update user_follow
set id = #{record.id,jdbcType=VARCHAR},
uid = #{record.uid,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
paid = #{record.paid,jdbcType=VARCHAR},
result = #{record.result,jdbcType=VARCHAR},
attachment_url = #{record.attachmentUrl,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
ocb_id = #{record.ocbId,jdbcType=VARCHAR},
contact_type = #{record.contactType,jdbcType=INTEGER},
effective = #{record.effective,jdbcType=INTEGER},
time_stamp = #{record.timeStamp,jdbcType=TIMESTAMP},
follow_count = #{record.followCount,jdbcType=INTEGER}
update user_follow
uid = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
paid = #{paid,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
ocb_id = #{ocbId,jdbcType=VARCHAR},
contact_type = #{contactType,jdbcType=INTEGER},
effective = #{effective,jdbcType=INTEGER},
time_stamp = #{timeStamp,jdbcType=TIMESTAMP},
follow_count = #{followCount,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update user_follow
set uid = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
paid = #{paid,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
ocb_id = #{ocbId,jdbcType=VARCHAR},
contact_type = #{contactType,jdbcType=INTEGER},
effective = #{effective,jdbcType=INTEGER},
time_stamp = #{timeStamp,jdbcType=TIMESTAMP},
follow_count = #{followCount,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}