泛微oa数据库之下拉框视图

CREATE OR REPLACE VIEW V_METEN_WF_SELECT_OPTION AS
select wt.id, wt.typename, wbase.id wfid, 
wbase.workflowname, wsi.fieldid, wbf.fieldname, 
li.labelname, wsi.selectvalue, wsi.selectname, 
wsi.cancel, wb.id billid, wbf.fieldlabel, 
wb.tablename, wbf.detailtable
from workflow_SelectItem wsi,workflow_billfield wbf,
workflow_bill wb,workflow_base wbase, 
HtmlLabelInfo li, workflow_type wt
where 1=1
and wsi.fieldid = wbf.id
and wbf.billid = wb.id
and wbf.fieldlabel = li.indexid
and wb.id = wbase.formid
and wbase.workflowtype = wt.id
and li.languageid = 7
--and wbf.id = 7060
order by wt.dsporder,wbase.dsporder, 
wb.id, wbf.id, wsi.selectvalue;

请在评论区留言,共同探讨~~~

如有需要,请联系微信:hdygzh2019 同时请说明来意,共同进步!!!

猜你喜欢

转载自blog.csdn.net/Y_6155/article/details/109018496