|
|
@@ -790,6 +790,10 @@ class ServiceOrderLogic extends BaseLogic
|
|
|
}
|
|
|
$work->appointment_time = strtotime($params['appointment_time']);
|
|
|
|
|
|
+ //更新工单未确认上门的状态
|
|
|
+ $work->work_status = 3;
|
|
|
+ $work->user_confirm_status = 0;
|
|
|
+
|
|
|
ServiceWorkAppointmentLog::create([
|
|
|
'work_id'=>$work->id,
|
|
|
'last_appointment_time'=>$work->appointment_time,
|