创建查询,链接ecology数据库,解决人员ID为6的抄送数据
--1。备份wf_curr0724bak自定义 select * into wf_curr0724bak from workflow_currentoperator
--2查询 替换userid select * from workflow_currentoperator a where isremark in (8,9) and isremark in (8,9) and isLastTimes=1 and userid=6
--3--更新 update a set a.isremark=2,viewtype=-2 from workflow_currentoperator a where isremark in (8,9) and isremark in (8,9) and isLastTimes=1 and userid=6
标签:isremark,workflow,--,userid,OA,抄送,currentoperator,待办,泛微 From: https://www.cnblogs.com/OoGKoO/p/17607567.html