|
|
@@ -627,6 +627,8 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
public static function getAppointmentNotice($userId)
|
|
|
{
|
|
|
return ServiceWork::where(['master_worker_id'=>$userId,'appoint_approval'=>1])
|
|
|
+ ->where('work_status','>',1)
|
|
|
+ ->where('work_status','<',7)
|
|
|
->field(['id', 'work_sn','real_name','mobile', 'address', 'title', 'appointment_time','work_status'])
|
|
|
->order(['appointment_time' => 'asc'])//上门时间排序
|
|
|
->select()->each(function (&$item){
|