select id, code, name, version, is_public, merch_id, express_type, tpl_data, tpl_pdf_data, tpl_pic_url, order_num, status, del_flag, create_by, create_time, update_by, update_time, remark, create_site, update_site from emis_print_tpl insert into emis_print_tpl id, code, name, version, is_public, merch_id, express_type, tpl_data, tpl_enc_data, tpl_pdf_data, tpl_pic_url, order_num, status, del_flag, create_by, create_time, update_by, update_time, remark, create_site, update_site, #{id}, #{code}, #{name}, #{version}, #{isPublic}, #{merchId}, #{expressType}, #{tplData}, #{tplEncData}, #{tplPdfData}, #{tplPicUrl}, #{orderNum}, #{status}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{createSite}, #{updateSite}, update emis_print_tpl code = #{code}, name = #{name}, version = #{version}, is_public = #{isPublic}, merch_id = #{merchId}, express_type = #{expressType}, tpl_data = #{tplData}, tpl_enc_data = #{tplEncData}, tpl_pdf_data = #{tplPdfData}, tpl_pic_url = #{tplPicUrl}, order_num = #{orderNum}, status = #{status}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, create_site = #{createSite}, update_site = #{updateSite}, where id = #{id} delete from emis_print_tpl where id = #{id} delete from emis_print_tpl where id in #{id}