cqp 2 tháng trước cách đây
mục cha
commit
eaef692911

+ 2 - 2
app/Service/QuantizationService.php

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