Browse Source

排班详情

lizhen_gitee 9 months ago
parent
commit
4b18e692a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/doctor/Index.php

+ 1 - 0
application/api/controller/doctor/Index.php

@@ -48,6 +48,7 @@ class Index extends Apic
 
         //某周,page=1是本周
         $this_week = $this->get_page_week($page);
+        $this_week[1] = $this_week[1] + 86399;
 
         //医生排班
         $paiban = Db::name('doctor_paiban')->where('doctor_id',$this->auth->id)->where('activetime','BETWEEN',$this_week)->order('activetime asc')->column('activetime,active');