其他分享
首页 > 其他分享> > 1.22

1.22

作者:互联网

今天配了一张表单

主要是整理了表单库

整理方法:

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

 

标签:code,FORM,form,TEMPLATE,1.22,select,name
来源: https://www.cnblogs.com/linshupeng66/p/15834715.html