Przeglądaj źródła

字段名称修改

Swdz-WangHaiJun 4 lat temu
rodzic
commit
3e0ec3c46d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Community/Controllers/ApiController.php

+ 1 - 1
app/Community/Controllers/ApiController.php

xqd
@@ -889,7 +889,7 @@ class ApiController extends Controller
             $mesure->delete();
             foreach ($timePeriods as $idt) {
                 if (!empty($mesureIds)) {
-                    $scheduleId = Schedule::where(['docter_id' => $docterId, 'schedule_type' => $sType,'organzation_id'=>$orgId])->where('schedule_date', $date)->value('id');
+                    $scheduleId = Schedule::where(['docter_id' => $docterId, 'schedule_type' => $sType,'organization_id'=>$orgId])->where('schedule_date', $date)->value('id');
                     if ($scheduleId == 0) {
                         $numDate = date('Ymd', $todayTimer);
                         $scheduleData['docter_id'] = $docterId;