修改办理或查阅工作流记录时显示当前工作流进度,将进度显示在单元格中。
- WITH C AS (
- SELECT ROW_NUMBER() OVER(ORDER BY SDATE DESC) NO,CASE WHEN NT = 1 THEN NN+'处理中' WHEN NT = 2 THEN NN+'已完成' ELSE NN+'未提交' END AS STATUS FROM SYS_FLOWDETAIL WHERE RRID = 报表ID )
- SELECT STATUS AS 本报表.[某某表_主表].[某某字段]x填充不锁定 FROM C WHERE NO = 1
复制代码
开启表间公式SQL后复制粘贴,并将本报表的字段替换为您自己的字段。
|
|
hessen