feat : check

This commit is contained in:
2025-04-01 14:59:53 +08:00
parent 6bf2dc8a17
commit 33cbf5baa2

View File

@@ -65,7 +65,7 @@ class CheckService extends CateringBaseService
->where('cycle_id', $this->cycleId)
->where('type',OrderCode::ORDER_TYPE_MEAL)
->where('status',OrderCode::PAYED)
->pluck('order_id')
->pluck('id')
->toArray();
if (empty($orderIds)) throw new ErrException('数据错误');