|
|
@@ -1103,7 +1103,7 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
try {
|
|
|
$serviceWork = ServiceWork::where('work_pay_status',1)
|
|
|
->where('master_worker_id','>',0)
|
|
|
- ->whereIn('work_status',[4,5,6])
|
|
|
+ ->whereIn('work_status',[0,1,2,3,4,5,6])
|
|
|
->where('id',$params['id'])->findOrEmpty();
|
|
|
if($serviceWork->isEmpty()){
|
|
|
throw new \Exception('该工单状态不可执行结束服务');
|