select id, company, sale_id, info_flow, next_time,
wx_name, phone, debt_type, debt_money, source_type,
source_app, wx_account, customer_status, customer_level, touch_qrcode,
contact_number, is_touch, is_add_wx, is_effective, is_plan, is_deal,
province_name, city_name, customer_name, contact_time, other_phone,
create_time, create_by, update_by, update_time, remark, customer_remark from clew
insert into clew
company,
sale_id,
info_flow,
next_time,
wx_name,
phone,
debt_type,
debt_money,
source_type,
source_app,
wx_account,
customer_status,
customer_level,
touch_qrcode,
contact_number,
is_touch,
is_add_wx,
is_effective,
is_plan,
is_deal,
province_name,
city_name,
customer_name,
contact_time,
other_phone,
create_time,
create_by,
update_by,
update_time,
remark,
#{company},
#{saleId},
#{infoFlow},
#{nextTime},
#{wxName},
#{phone},
#{debtType},
#{debtMoney},
#{sourceType},
#{sourceApp},
#{wxAccount},
#{customerStatus},
#{customerLevel},
#{touchQrcode},
#{contactNumber},
#{isTouch},
#{isAddWx},
#{isEffective},
#{isPlan},
#{isDeal},
#{provinceName},
#{cityName},
#{customerName},
#{contactTime},
#{otherPhone},
#{createTime},
#{createBy},
#{updateBy},
#{updateTime},
#{remark},
update clew
company = #{company},
sale_id = #{saleId},
info_flow = #{infoFlow},
next_time = #{nextTime},
wx_name = #{wxName},
phone = #{phone},
debt_type = #{debtType},
debt_money = #{debtMoney},
source_type = #{sourceType},
source_app = #{sourceApp},
wx_account = #{wxAccount},
customer_status = #{customerStatus},
customer_level = #{customerLevel},
touch_qrcode = #{touchQrcode},
contact_number = #{contactNumber},
is_touch = #{isTouch},
is_add_wx = #{isAddWx},
is_effective = #{isEffective},
is_plan = #{isPlan},
is_deal = #{isDeal},
province_name = #{provinceName},
city_name = #{cityName},
customer_name = #{customerName},
contact_time = #{contactTime},
other_phone = #{otherPhone},
create_time = #{createTime},
create_by = #{createBy},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
customer_remark = #{customerRemark},
where id = #{id}
delete from clew where id = #{id}
delete from clew where id in
#{id}