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, paid, share_type, customer_type, customer_status, company_intention, follow_situation,
tag, create_time, follow_id, effective, company_name, location_province, location_city,
location_area, address, company_industry, remarks
delete from customer
where id = #{id,jdbcType=VARCHAR}
delete from customer
insert into customer (id, aid, paid,
share_type, customer_type, customer_status,
company_intention, follow_situation, tag,
create_time, follow_id, effective,
company_name, location_province, location_city,
location_area, address, company_industry,
remarks)
values (#{id,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{paid,jdbcType=VARCHAR},
#{shareType,jdbcType=INTEGER}, #{customerType,jdbcType=INTEGER}, #{customerStatus,jdbcType=INTEGER},
#{companyIntention,jdbcType=CHAR}, #{followSituation,jdbcType=INTEGER}, #{tag,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{followId,jdbcType=VARCHAR}, #{effective,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR}, #{locationProvince,jdbcType=CHAR}, #{locationCity,jdbcType=CHAR},
#{locationArea,jdbcType=CHAR}, #{address,jdbcType=VARCHAR}, #{companyIndustry,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR})
insert into customer
id,
aid,
paid,
share_type,
customer_type,
customer_status,
company_intention,
follow_situation,
tag,
create_time,
follow_id,
effective,
company_name,
location_province,
location_city,
location_area,
address,
company_industry,
remarks,
#{id,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{paid,jdbcType=VARCHAR},
#{shareType,jdbcType=INTEGER},
#{customerType,jdbcType=INTEGER},
#{customerStatus,jdbcType=INTEGER},
#{companyIntention,jdbcType=CHAR},
#{followSituation,jdbcType=INTEGER},
#{tag,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{followId,jdbcType=VARCHAR},
#{effective,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR},
#{locationProvince,jdbcType=CHAR},
#{locationCity,jdbcType=CHAR},
#{locationArea,jdbcType=CHAR},
#{address,jdbcType=VARCHAR},
#{companyIndustry,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
update customer
id = #{record.id,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
paid = #{record.paid,jdbcType=VARCHAR},
share_type = #{record.shareType,jdbcType=INTEGER},
customer_type = #{record.customerType,jdbcType=INTEGER},
customer_status = #{record.customerStatus,jdbcType=INTEGER},
company_intention = #{record.companyIntention,jdbcType=CHAR},
follow_situation = #{record.followSituation,jdbcType=INTEGER},
tag = #{record.tag,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
follow_id = #{record.followId,jdbcType=VARCHAR},
effective = #{record.effective,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
location_province = #{record.locationProvince,jdbcType=CHAR},
location_city = #{record.locationCity,jdbcType=CHAR},
location_area = #{record.locationArea,jdbcType=CHAR},
address = #{record.address,jdbcType=VARCHAR},
company_industry = #{record.companyIndustry,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
update customer
set id = #{record.id,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
paid = #{record.paid,jdbcType=VARCHAR},
share_type = #{record.shareType,jdbcType=INTEGER},
customer_type = #{record.customerType,jdbcType=INTEGER},
customer_status = #{record.customerStatus,jdbcType=INTEGER},
company_intention = #{record.companyIntention,jdbcType=CHAR},
follow_situation = #{record.followSituation,jdbcType=INTEGER},
tag = #{record.tag,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
follow_id = #{record.followId,jdbcType=VARCHAR},
effective = #{record.effective,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
location_province = #{record.locationProvince,jdbcType=CHAR},
location_city = #{record.locationCity,jdbcType=CHAR},
location_area = #{record.locationArea,jdbcType=CHAR},
address = #{record.address,jdbcType=VARCHAR},
company_industry = #{record.companyIndustry,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR}
update customer
aid = #{aid,jdbcType=VARCHAR},
paid = #{paid,jdbcType=VARCHAR},
share_type = #{shareType,jdbcType=INTEGER},
customer_type = #{customerType,jdbcType=INTEGER},
customer_status = #{customerStatus,jdbcType=INTEGER},
company_intention = #{companyIntention,jdbcType=CHAR},
follow_situation = #{followSituation,jdbcType=INTEGER},
tag = #{tag,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
follow_id = #{followId,jdbcType=VARCHAR},
effective = #{effective,jdbcType=INTEGER},
company_name = #{companyName,jdbcType=VARCHAR},
location_province = #{locationProvince,jdbcType=CHAR},
location_city = #{locationCity,jdbcType=CHAR},
location_area = #{locationArea,jdbcType=CHAR},
address = #{address,jdbcType=VARCHAR},
company_industry = #{companyIndustry,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update customer
set aid = #{aid,jdbcType=VARCHAR},
paid = #{paid,jdbcType=VARCHAR},
share_type = #{shareType,jdbcType=INTEGER},
customer_type = #{customerType,jdbcType=INTEGER},
customer_status = #{customerStatus,jdbcType=INTEGER},
company_intention = #{companyIntention,jdbcType=CHAR},
follow_situation = #{followSituation,jdbcType=INTEGER},
tag = #{tag,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
follow_id = #{followId,jdbcType=VARCHAR},
effective = #{effective,jdbcType=INTEGER},
company_name = #{companyName,jdbcType=VARCHAR},
location_province = #{locationProvince,jdbcType=CHAR},
location_city = #{locationCity,jdbcType=CHAR},
location_area = #{locationArea,jdbcType=CHAR},
address = #{address,jdbcType=VARCHAR},
company_industry = #{companyIndustry,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}