...
|
...
|
@@ -140,6 +140,10 @@ class OrderController extends HomeBaseController{ |
|
|
if ($endTime < $stateTime){
|
|
|
//设备使用时间段是否跨天(不跨天)
|
|
|
if ($hours_end_time > $hours_start_time){
|
|
|
dump($new_start_time);
|
|
|
dump($new_end_time);
|
|
|
dump($stateTime);
|
|
|
dump($endTime);
|
|
|
//在预设时间段左边并不与之重合
|
|
|
if (($new_start_time > strtotime('00:00:00') && $new_start_time < $endTime) && ($new_end_time > $new_start_time && $new_end_time < $endTime)){
|
|
|
dump('1');
|
...
|
...
|
|