feat : chef name
This commit is contained in:
@@ -114,7 +114,7 @@ class CheckService extends CateringBaseService
|
|||||||
{
|
{
|
||||||
$siteInfo = $this->siteModel->find($this->logInfo->site_id);
|
$siteInfo = $this->siteModel->find($this->logInfo->site_id);
|
||||||
if (empty($siteInfo)) throw new ErrException('数据错误-地点无数据,site:'.$this->logInfo->site_id);
|
if (empty($siteInfo)) throw new ErrException('数据错误-地点无数据,site:'.$this->logInfo->site_id);
|
||||||
$driverInfo = $this->driverSequenceModel->find($siteInfo->delivered_id);
|
$driverInfo = $this->driverSequenceModel->where('driver_id',$siteInfo->delivered_id)->first();
|
||||||
if (empty($driverInfo)) throw new ErrException('数据错误-司机无数据,driver:'.$siteInfo->delivered_id);
|
if (empty($driverInfo)) throw new ErrException('数据错误-司机无数据,driver:'.$siteInfo->delivered_id);
|
||||||
|
|
||||||
throw new ErrException($driverInfo->driver_num.'-'.$siteInfo->sequence.'还未配餐完成,请刷新页面并完成配餐再执行');
|
throw new ErrException($driverInfo->driver_num.'-'.$siteInfo->sequence.'还未配餐完成,请刷新页面并完成配餐再执行');
|
||||||
|
|||||||
Reference in New Issue
Block a user