shish 2 years ago
parent
commit
5df0409a90
1 changed files with 1 additions and 1 deletions
  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(['belongCost' => $id, 'belongCost' => $belongCost]);
+            self::updateByCondition(['productId' => $id, 'belongCost' => $belongCost]);
         }
     }