cqp 2 miesięcy temu
rodzic
commit
eaef692911
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/Service/QuantizationService.php

+ 2 - 2
app/Service/QuantizationService.php

@@ -549,8 +549,8 @@ class QuantizationService extends Service
                     ->where('type', QuantizationCreate::type_two) // 建议限定 type,防止误匹配
                     ->where('del_time', 0)
                     ->where(function($query) use ($startTime, $endTime) {
-                        $query->where('start', '<=', $endTime)
-                            ->where('end', '>=', $startTime);
+                        $query->where('start_time', '<=', $endTime)
+                            ->where('end_time', '>=', $startTime);
                     })
                     ->exists();