select id,
temp_title,
temp_content,
temp_type,
deleted,
create_by,
create_time,
update_by,
update_time,
flag
from tj_send_template
insert into tj_send_template
temp_title,
temp_content,
temp_type,
deleted,
create_by,
create_time,
update_by,
update_time,
flag,
#{tempTitle},
#{tempContent},
#{tempType},
#{deleted},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{flag},
update tj_send_template
temp_title =
#{tempTitle},
temp_content =
#{tempContent},
temp_type =
#{tempType},
deleted =
#{deleted},
create_by =
#{createBy},
create_time =
#{createTime},
update_by =
#{updateBy},
update_time =
#{updateTime},
flag =
#{flag},
where id = #{id}
delete
from tj_send_template
where id = #{id}
delete from tj_send_template where id in
#{id}