Procházet zdrojové kódy

字段名称修改

Swdz-WangHaiJun před 4 roky
rodič
revize
3e0ec3c46d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;