liugc 1 год назад
Родитель
Сommit
baf89cc1a9
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/adminapi/logic/notice/NoticeLogic.php

+ 2 - 2
app/adminapi/logic/notice/NoticeLogic.php

@@ -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;