e.g:
CREATE OR REPLACE VIEW V_WF_TODOLIST AS
select c.process_def_id, c.process_def_name, a.action_def_id,
a.work_item_id, a.bae007, a.action_def_name,
a.state, a.pre_wi_id, a.work_type,
a.operid, a.x_oprator_ids, b.process_key_info,
to_char(to_date(a.start_time, 'yyyymmddhh24miss'),'yyyy-mm-dd hh24:mi:ss') as start_time,
to_char(to_date(a.complete_time,'yyyymmddhh24miss'),'yyyy-mm-dd hh24:mi:ss') as complete_time,
a.filter_opr, a.memo,a.bae002,a.bae003, a.bae006,c.x_action_def_ids
from wf_work_item a, wf_process_instance b, wf_action_def c
where a.action_def_id = c.action_def_id
and b.process_def_id = c.process_def_id
and a.bae007 = b.bae007
and a.state in('0','2')
CREATE OR REPLACE VIEW V_WF_TODOLIST AS
select c.process_def_id, c.process_def_name, a.action_def_id,
a.work_item_id, a.bae007, a.action_def_name,
a.state, a.pre_wi_id, a.work_type,
a.operid, a.x_oprator_ids, b.process_key_info,
to_char(to_date(a.start_time, 'yyyymmddhh24miss'),'yyyy-mm-dd hh24:mi:ss') as start_time_0,
to_char(to_date(a.complete_time,'yyyymmddhh24miss'),'yyyy-mm-dd hh24:mi:ss') as complete_time_0,
a.filter_opr, a.memo,a.bae002,a.bae003, a.bae006,c.x_action_def_ids
from wf_work_item a, wf_process_instance b, wf_action_def c
where a.action_def_id = c.action_def_id
and b.process_def_id = c.process_def_id
and a.bae007 = b.bae007
and a.state in('0','2')
CREATE OR REPLACE VIEW V_FW_BLANK_BULLETIN as
select id, bae001, operunitid, operunittype, unitsubtype, ifergency,
title, content, digest, duetime, validto, aae100,
bae006, bae002, bae003, id as colid,
substr(digest,1,20) as digest2
from fw_bulletin
where duetime <= to_char(sysdate,'yyyymmddhh24miss')
and (to_char(validto) >= to_char(sysdate,'yyyymmddhh24miss') or validto is null)
and aae100 ='1'
order by ifergency desc, id desc, duetime desc
CREATE OR REPLACE VIEW V_FW_BLANK_BULLETIN as select * from (select id, bae001, operunitid, operunittype, unitsubtype, ifergency, title, content, digest, duetime, validto, aae100, bae006, bae002, bae003, id as colid, substr(digest,1,20) as digest2 from fw_bulletin where duetime <= to_char(sysdate,'yyyymmddhh24miss') and (to_char(validto) >= to_char(sysdate,'yyyymmddhh24miss') or validto is null) and aae100 ='1' order by ifergency desc, id desc, duetime desc)
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有