|
@@ -475,6 +475,26 @@ class Authdoctor
|
|
|
$userinfo['finish_profile'] = 1;
|
|
|
}
|
|
|
|
|
|
+ //待接图文订单
|
|
|
+ $where = [
|
|
|
+ 'doctor_id'=>$this->id,
|
|
|
+ 'ordertype'=>1,
|
|
|
+ 'status'=>10,
|
|
|
+ ];
|
|
|
+ $userinfo['wenzhen_text_noaccept_num'] = Db::name('wenzhen_order')->where($where)->count();
|
|
|
+
|
|
|
+ //待接视频订单
|
|
|
+ $where = [
|
|
|
+ 'doctor_id'=>$this->id,
|
|
|
+ 'ordertype'=>2,
|
|
|
+ 'status'=>10,
|
|
|
+ ];
|
|
|
+ $userinfo['wenzhen_video_noaccept_num'] = Db::name('wenzhen_order')->where($where)->count();
|
|
|
+
|
|
|
+ //待接订单
|
|
|
+ $userinfo['wenzhen_noaccept_num'] = $userinfo['wenzhen_text_noaccept_num'] + $userinfo['wenzhen_video_noaccept_num'];
|
|
|
+
|
|
|
+
|
|
|
return $userinfo;
|
|
|
}
|
|
|
|