shish 2 年 前
コミット
ca486abe01
1 ファイル変更1 行追加1 行削除
  1. 1 1
      biz-ghs/order/classes/OrderItemClass.php

+ 1 - 1
biz-ghs/order/classes/OrderItemClass.php

@@ -425,7 +425,7 @@ class OrderItemClass extends BaseClass
             $id = $info['id'];
             $belongCost = $info['belongCost'];
             noticeUtil::push('变更花材的成本和收入' . $id . ' ' . $belongCost, '15280215347');
-            self::updateByCondition(['productId' => $id, 'belongCost' => $belongCost]);
+            self::updateByCondition(['productId' => $id], ['belongCost' => $belongCost]);
         }
     }