Merge branch 'feature/purchase_record' into dev

This commit is contained in:
luofei 2023-07-08 16:07:54 +08:00
commit edb4918d1a

View File

@ -12,7 +12,7 @@ class StoreOrderInterestRepository extends BaseRepository
{ {
$data['status'] = StoreOrderInterest::STATUS_UNSETTLED; $data['status'] = StoreOrderInterest::STATUS_UNSETTLED;
$model = new StoreOrderInterest(); $model = new StoreOrderInterest();
return $model->insert($data); return $model->save($data);
} }
public function getByGroupOrder($groupOrderId) public function getByGroupOrder($groupOrderId)