id,
st_name,
st_template,
st_code,
st_status,
st_reason,
st_remark,
company_id
#{item.id},
#{item.stName},
#{item.stTemplate},
#{item.stCode},
#{item.stStatus},
#{item.stReason},
#{item.stRemark},
#{companyId}
and id = #{record.id}
and st_name = #{record.stName}
and st_template = #{record.stTemplate}
and st_code = #{record.stCode}
and st_status = #{record.stStatus}
and st_reason = #{record.stReason}
and company_id = #{record.companyId}
INSERT INTO sys_sms_template (
)
VALUES (
)
INSERT INTO sys_sms_template (
)
VALUES
(
)
UPDATE sys_sms_template
st_name = #{stName},
st_template = #{stTemplate},
st_code = #{stCode},
st_status = #{stStatus},
st_reason = #{stReason},
WHERE id=#{id}
UPDATE sys_sms_template
st_name = #{record.stName},
st_template = #{record.stTemplate},
st_code = #{record.stCode},
st_status = #{record.stStatus},
st_reason = #{record.stReason},
WHERE id=#{record.id}
delete from sys_sms_template where id in
#{item}
DELETE FROM sys_sms_template
where id=#{id}
DELETE FROM sys_sms_template