* [task#131420,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2024-10-30 14:26:18 +08:00
committed by 王怡栋
parent 33bcdf551e
commit ddb330f30d
+1
View File
@@ -6039,6 +6039,7 @@ class upgradeModel extends model
foreach($upgradeConfig[$module] as $code => $config) $this->config->workflowaction->upgrade->$code = $config;
$flow = $this->dao->select('*')->from(TABLE_WORKFLOW)->where('module')->eq($module)->fetch();
if(!$flow) continue;
$this->workflow->createActions($flow, 'upgrade');
$this->dao->update(TABLE_WORKFLOWACTION)->set('extensionType')->eq('none')->set('role')->eq('buildin')->where('module')->eq($module)->andWhere('action')->in(array_keys($labels))->exec();