select * from ad_site insert into ad_site template_id, type, account_id, url, create_time, create_by, update_by, update_time, remark, #{templateId}, #{type}, #{accountId}, #{url}, #{createTime}, #{createBy}, #{updateBy}, #{updateTime}, #{remark}, update ad_site template_id = #{templateId}, type = #{type}, account_id = #{accountId}, url = #{url}, create_time = #{createTime}, create_by = #{createBy}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from ad_site where id = #{id} delete from ad_site where id in #{id}