create_by,
create_time,
update_by,
update_time,
id,
staff_id,
vip_id,
order_id,
service_id,
shop_id,
company_id,
next_notify_time,
content,
visible,
order_abstract,
zans
#{item.createBy},
now(),
#{item.updateBy},
now(),
#{item.id},
#{item.staffId},
#{item.vipId},
#{item.orderId},
#{item.serviceId},
#{item.shopId},
#{item.companyId},
#{item.nextNotifyTime},
#{item.content},
#{item.visible},
#{item.orderAbstract},
#{item.zans}
and id = #{record.id}
and staff_id = #{record.staffId}
and vip_id = #{record.vipId}
and order_id = #{record.orderId}
and service_id = #{record.serviceId}
and shop_id = #{record.shopId}
and company_id = #{record.companyId}
and next_notify_time = #{record.nextNotifyTime}
and content = #{record.content}
and visible = #{record.visible}
and order_abstract = #{record.orderAbstract}
and zans = #{record.zans}
INSERT INTO sys_followup (
)
VALUES (
)
INSERT INTO sys_followup (
)
VALUES
(
)
UPDATE sys_followup
staff_id = #{staffId},
vip_id = #{vipId},
order_id = #{orderId},
service_id = #{serviceId},
shop_id = #{shopId},
company_id = #{companyId},
next_notify_time = #{nextNotifyTime},
content = #{content},
visible = #{visible},
order_abstract = #{orderAbstract},
zans = #{zans},
WHERE id=#{id}
UPDATE sys_followup
staff_id = #{record.staffId},
vip_id = #{record.vipId},
order_id = #{record.orderId},
service_id = #{record.serviceId},
shop_id = #{record.shopId},
company_id = #{record.companyId},
next_notify_time = #{record.nextNotifyTime},
content = #{record.content},
visible = #{record.visible},
order_abstract = #{record.orderAbstract},
zans = #{record.zans},
WHERE id=#{record.id}
update sys_followup set zans=#{zans} where id=#{id}
delete from sys_followup where id in
#{item}
DELETE FROM sys_followup
where id=#{id}
DELETE FROM sys_followup