今天配了一张表单
主要是整理了表单库
整理方法:
select t.*,rowid from BUS_FORM_TEMPLATE t order by id asc
select t.*,rowid from FORM_TEMPLATE_SHOW t where form_code = 'E0833'
select t.*,rowid from BUS_FORM_TEMPLATE t where name like '%疼痛%'
insert into FORM_TEMPLATE_SHOW
(form_type,
Form_Group,
form_code,
page_url,
form_name,
Index_No,
Tree_Show,
public_use)
select 'fall_drop_score', 'evals', form_code, pageurl, name, id, '1', '1'
from BUS_FORM_TEMPLATE
where form_code in ('E0006')
--name like '%VTE%'
把有评分的分为一类,没有评分的分为一类
1.select t.*,rowid from BUS_FORM_TEMPLATE t where name like '%疼痛%'
2.两个窗口插入不同类型的表into FORM_TEMPLATE_SHOW
3.插入后在FORM_TEMPLATE_SHOW删除掉插入表的医院,然后添加formcode