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, cid, operator_name, operator_type, operator_time, before_customer_status, after_customer_status,
before_customer_intention, after_customer_intention, before_follow_situation, after_follow_situation,
before_admin_name, after_admin_name
delete from customer_log
where id = #{id,jdbcType=VARCHAR}
delete from customer_log
insert into customer_log (id, cid, operator_name,
operator_type, operator_time, before_customer_status,
after_customer_status, before_customer_intention,
after_customer_intention, before_follow_situation,
after_follow_situation, before_admin_name,
after_admin_name)
values (#{id,jdbcType=VARCHAR}, #{cid,jdbcType=VARCHAR}, #{operatorName,jdbcType=VARCHAR},
#{operatorType,jdbcType=VARCHAR}, #{operatorTime,jdbcType=VARCHAR}, #{beforeCustomerStatus,jdbcType=VARCHAR},
#{afterCustomerStatus,jdbcType=VARCHAR}, #{beforeCustomerIntention,jdbcType=VARCHAR},
#{afterCustomerIntention,jdbcType=VARCHAR}, #{beforeFollowSituation,jdbcType=VARCHAR},
#{afterFollowSituation,jdbcType=VARCHAR}, #{beforeAdminName,jdbcType=VARCHAR},
#{afterAdminName,jdbcType=VARCHAR})
insert into customer_log
id,
cid,
operator_name,
operator_type,
operator_time,
before_customer_status,
after_customer_status,
before_customer_intention,
after_customer_intention,
before_follow_situation,
after_follow_situation,
before_admin_name,
after_admin_name,
#{id,jdbcType=VARCHAR},
#{cid,jdbcType=VARCHAR},
#{operatorName,jdbcType=VARCHAR},
#{operatorType,jdbcType=VARCHAR},
#{operatorTime,jdbcType=VARCHAR},
#{beforeCustomerStatus,jdbcType=VARCHAR},
#{afterCustomerStatus,jdbcType=VARCHAR},
#{beforeCustomerIntention,jdbcType=VARCHAR},
#{afterCustomerIntention,jdbcType=VARCHAR},
#{beforeFollowSituation,jdbcType=VARCHAR},
#{afterFollowSituation,jdbcType=VARCHAR},
#{beforeAdminName,jdbcType=VARCHAR},
#{afterAdminName,jdbcType=VARCHAR},
update customer_log
id = #{record.id,jdbcType=VARCHAR},
cid = #{record.cid,jdbcType=VARCHAR},
operator_name = #{record.operatorName,jdbcType=VARCHAR},
operator_type = #{record.operatorType,jdbcType=VARCHAR},
operator_time = #{record.operatorTime,jdbcType=VARCHAR},
before_customer_status = #{record.beforeCustomerStatus,jdbcType=VARCHAR},
after_customer_status = #{record.afterCustomerStatus,jdbcType=VARCHAR},
before_customer_intention = #{record.beforeCustomerIntention,jdbcType=VARCHAR},
after_customer_intention = #{record.afterCustomerIntention,jdbcType=VARCHAR},
before_follow_situation = #{record.beforeFollowSituation,jdbcType=VARCHAR},
after_follow_situation = #{record.afterFollowSituation,jdbcType=VARCHAR},
before_admin_name = #{record.beforeAdminName,jdbcType=VARCHAR},
after_admin_name = #{record.afterAdminName,jdbcType=VARCHAR},
update customer_log
set id = #{record.id,jdbcType=VARCHAR},
cid = #{record.cid,jdbcType=VARCHAR},
operator_name = #{record.operatorName,jdbcType=VARCHAR},
operator_type = #{record.operatorType,jdbcType=VARCHAR},
operator_time = #{record.operatorTime,jdbcType=VARCHAR},
before_customer_status = #{record.beforeCustomerStatus,jdbcType=VARCHAR},
after_customer_status = #{record.afterCustomerStatus,jdbcType=VARCHAR},
before_customer_intention = #{record.beforeCustomerIntention,jdbcType=VARCHAR},
after_customer_intention = #{record.afterCustomerIntention,jdbcType=VARCHAR},
before_follow_situation = #{record.beforeFollowSituation,jdbcType=VARCHAR},
after_follow_situation = #{record.afterFollowSituation,jdbcType=VARCHAR},
before_admin_name = #{record.beforeAdminName,jdbcType=VARCHAR},
after_admin_name = #{record.afterAdminName,jdbcType=VARCHAR}
update customer_log
cid = #{cid,jdbcType=VARCHAR},
operator_name = #{operatorName,jdbcType=VARCHAR},
operator_type = #{operatorType,jdbcType=VARCHAR},
operator_time = #{operatorTime,jdbcType=VARCHAR},
before_customer_status = #{beforeCustomerStatus,jdbcType=VARCHAR},
after_customer_status = #{afterCustomerStatus,jdbcType=VARCHAR},
before_customer_intention = #{beforeCustomerIntention,jdbcType=VARCHAR},
after_customer_intention = #{afterCustomerIntention,jdbcType=VARCHAR},
before_follow_situation = #{beforeFollowSituation,jdbcType=VARCHAR},
after_follow_situation = #{afterFollowSituation,jdbcType=VARCHAR},
before_admin_name = #{beforeAdminName,jdbcType=VARCHAR},
after_admin_name = #{afterAdminName,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update customer_log
set cid = #{cid,jdbcType=VARCHAR},
operator_name = #{operatorName,jdbcType=VARCHAR},
operator_type = #{operatorType,jdbcType=VARCHAR},
operator_time = #{operatorTime,jdbcType=VARCHAR},
before_customer_status = #{beforeCustomerStatus,jdbcType=VARCHAR},
after_customer_status = #{afterCustomerStatus,jdbcType=VARCHAR},
before_customer_intention = #{beforeCustomerIntention,jdbcType=VARCHAR},
after_customer_intention = #{afterCustomerIntention,jdbcType=VARCHAR},
before_follow_situation = #{beforeFollowSituation,jdbcType=VARCHAR},
after_follow_situation = #{afterFollowSituation,jdbcType=VARCHAR},
before_admin_name = #{beforeAdminName,jdbcType=VARCHAR},
after_admin_name = #{afterAdminName,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}