* finish task #36004.

This commit is contained in:
wangyidong
2021-02-22 15:31:20 +08:00
parent 3f91263010
commit 8f57e6b652
+1
View File
@@ -4320,6 +4320,7 @@ class upgradeModel extends model
$this->dao->insert(TABLE_PRODUCT)->data($product)->exec();
$productID = $this->dao->lastInsertID();
$this->loadModel('action')->create('product', $productID, 'openedbysystem');
$this->dao->update(TABLE_REPO)->set('product')->eq($productID)->where('id')->eq($repoID)->exec();
}