create_by,
create_time,
update_by,
update_time,
id,
name,
uuid,
status,
remark,
company_id,
code,
temp_type,
template_class
#{item.createBy},
now(),
#{item.updateBy},
now(),
#{item.id},
#{item.name},
#{item.uuid},
#{item.status},
#{item.remark},
#{item.companyId},
#{item.code},
#{item.tempType},
#{item.templateClass}
and id = #{record.id}
and name like concat('%',#{record.name},'%')
and uuid = #{record.uuid}
and status = #{record.status}
and remark = #{record.remark}
and company_id = #{record.companyId}
and tempType = #{record.tempType}
INSERT INTO shop_wxtemplate_msg (
)
VALUES (
)
INSERT INTO shop_wxtemplate_msg (
)
VALUES
(
)
UPDATE shop_wxtemplate_msg
name = #{name},
uuid = #{uuid},
status = #{status},
remark = #{remark},
company_id = #{companyId},
code = #{code},
temp_type = #{tempType},
WHERE id=#{id}
UPDATE shop_wxtemplate_msg
name = #{record.name},
uuid = #{record.uuid},
status = #{record.status},
remark = #{record.remark},
company_id = #{record.companyId},
code = #{record.code},
temp_type = #{record.tempType},
WHERE id=#{record.id}
delete from shop_wxtemplate_msg where id in
#{item}
DELETE FROM shop_wxtemplate_msg
where id=#{id}
DELETE FROM shop_wxtemplate_msg
update shop_wxtemplate_msg
status = #{status}
where id in
#{item}