Browse Source

产品工艺修改优化

unknown 4 months ago
parent
commit
c2c34cb9e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Product.php

+ 2 - 2
application/api/controller/Product.php

@@ -1383,8 +1383,8 @@ class Product extends Api
         // $updateResult = Db::name('产品_工艺资料')
         //     ->where('UniqID', $uniqId)
         //     ->update($updateData);
-
-        $sql = \db('产品_工艺资料')->where('UniqID',$UniqId)->fetchSql(true)->update($params);
+ 
+        $sql = \db('产品_工艺资料')->where('UniqID',$uniqId)->fetchSql(true)->update($params);
         $updateResult = Db::query($sql);
         
         // 10. 检查更新结果