feat : add_staple_food
This commit is contained in:
@@ -104,6 +104,20 @@ trait PrintTrait
|
||||
$this->redis->hSet($this->stopOrderKey, $this->logInfo->site_id, CateringCode::REDIS_FINISH_VALUE);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $siteId
|
||||
* @param int $cycleId
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
protected function checkIsStopOrder(int $siteId,int $cycleId): bool
|
||||
{
|
||||
$this->stopOrderKey = AdminRedisKey::optionCateringStopOrder($cycleId);
|
||||
|
||||
return CateringCode::REDIS_FINISH_VALUE == $this->redis->hGet($this->stopOrderKey, $siteId);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
|
||||
Reference in New Issue
Block a user