update doc_send t
set t.menuflag = '6',t.tache = '已归档'
where exists
(select s.id from doc_send s where s.tache like '%已导出至磁盘%' and s.id = t.id)
update doc_receive t
set t.menuflag = '6',t.fettle = '已归档'
where exists
(select s.id from doc_receive s where s.fettle like '%已导出至磁盘%' and s.id = t.id)
本文介绍了一种通过SQL更新语句来批量更改已导出至磁盘的文档的状态为已归档的方法。
2081

被折叠的 条评论
为什么被折叠?



