|
|
@@ -255,8 +255,8 @@ class NoticeLogic extends BaseLogic
|
|
|
//$params['business_code']
|
|
|
switch ($params['business_code']){
|
|
|
case 'service_work':
|
|
|
- // 用户下单待派单
|
|
|
- $serviceWorkCount = ServiceWork::where('work_status', 0)->where('work_pay_status','>', 0)->count('id');
|
|
|
+ // 用户下单待派单 service_status
|
|
|
+ $serviceWorkCount = ServiceWork::where('work_status', 0)->where('service_status','<', 3)->where('work_pay_status','>', 0)->count('id');
|
|
|
if($serviceWorkCount){
|
|
|
$noticeInfo['confirm_code'] = 101;
|
|
|
$noticeInfo['count'] = $serviceWorkCount;
|