create_by,
create_time,
update_by,
update_time,
coll_id,
coll_userid,
coll_productid,
company_id
#{item.createBy},
now(),
#{item.updateBy},
now(),
#{item.collId},
#{item.collUserid},
#{item.collProductid},
#{item.companyId}
and coll_id = #{record.collId}
and coll_userid = #{record.collUserid}
and coll_productid = #{record.collProductid}
and u.nick_name like concat('%',#{record.nickName},'%')
and p.title like concat('%',#{record.title},'%')
and date_format(c.create_time, '%Y-%m-%d') >= #{record.collectionBeginTime}
and #{record.collectionEndTime} >= date_format(c.create_time, '%Y-%m-%d')
and c.company_id = #{record.companyId}
INSERT INTO shop_collection (
)
VALUES (
)
INSERT INTO shop_collection (
)
VALUES
(
)
UPDATE shop_collection
coll_userid = #{collUserid},
coll_productid = #{collProductid},
WHERE coll_id=#{collId}
UPDATE shop_collection
coll_userid = #{record.collUserid},
coll_productid = #{record.collProductid},
WHERE coll_id=#{record.collId}
delete from shop_collection where coll_id in
#{item}
DELETE FROM shop_collection
where coll_id=#{collId}
DELETE FROM shop_collection
where 1=1
and coll_userid = #{collUserid}
and coll_productid = #{collProductid}
DELETE FROM shop_collection