From 225c258af33f702867be63904b91e2e51008b6c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Mon, 15 Apr 2024 10:48:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/SQL集合.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sql/SQL集合.txt b/sql/SQL集合.txt index d63d742d..38eb56ff 100644 --- a/sql/SQL集合.txt +++ b/sql/SQL集合.txt @@ -22,8 +22,6 @@ CREATE VIEW vw_smz_ssp_problemmodify_audit AS ( LEFT OUTER JOIN sys_user u ON a.createUser = u.phonenumber ); -## - ##全部,根据finishTime判断代办,已办 DROP view vw_flow_all; CREATE VIEW vw_flow_all AS ( @@ -53,6 +51,8 @@ CREATE VIEW vw_flow_all AS ( sp.id AS businessKey, sp.deptId as businessDeptId, sp.projectName AS businessKeyName, + sp.projectType AS businessType, + sp.progressVisible AS businessVisible, ru.user_id AS startUserId, ru.nick_name AS startUserName, rd.dept_name AS startDeptName, @@ -90,6 +90,7 @@ LEFT JOIN ( ) ht ON ht.PROC_INST_ID_ = RES.PROC_INST_ID_ ) + ##待办 DROP view vw_flow_await; CREATE VIEW vw_flow_await AS (SELECT @@ -110,6 +111,8 @@ CREATE VIEW vw_flow_await AS (SELECT sp.id AS businessKey, sp.deptId AS businessDeptId, sp.projectName AS businessKeyName, + sp.projectType AS businessType, + sp.progressVisible AS businessVisible, ru.user_id AS startUserId, ru.nick_name AS startUserName, rd.dept_name AS startDeptName, @@ -224,6 +227,8 @@ DEF.END_TIME_ as finishTime, sp.id AS businessKey, sp.deptId AS businessDeptId, sp.projectName AS businessKeyName, + sp.projectType AS businessType, + sp.progressVisible AS businessVisible, ru.user_id AS startUserId, ru.nick_name AS startUserName, rd.dept_name AS startDeptName,