diff --git a/app/common/repositories/store/order/StoreOrderInterestRepository.php b/app/common/repositories/store/order/StoreOrderInterestRepository.php index fdfecf52..19f1f27a 100644 --- a/app/common/repositories/store/order/StoreOrderInterestRepository.php +++ b/app/common/repositories/store/order/StoreOrderInterestRepository.php @@ -12,7 +12,7 @@ class StoreOrderInterestRepository extends BaseRepository { $data['status'] = StoreOrderInterest::STATUS_UNSETTLED; $model = new StoreOrderInterest(); - return $model->insert($data); + return $model->save($data); } public function getByGroupOrder($groupOrderId)