|
|
@@ -800,7 +800,7 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
ServiceWorkAppointmentLog::create([
|
|
|
'work_id'=>$serviceWork->id,
|
|
|
'worker_id'=>$params['user_id'],
|
|
|
- 'last_appointment_time'=>$serviceWork->appointment_time,
|
|
|
+ 'last_appointment_time'=>strtotime($serviceWork->appointment_time),
|
|
|
'this_appointment_time'=>strtotime($params['appointment_time']),
|
|
|
]);
|
|
|
|