|
|
@@ -391,10 +391,10 @@ class OrderMainService |
|
|
|
} |
|
|
|
//子订单查询条件 离店时间 |
|
|
|
if (!empty($param['startOutDate'])) { |
|
|
|
$where[] = " c.check_out_date >= '{$param['startOutDate']} 00:00:00' "; |
|
|
|
$where[] = " b.check_out_date >= '{$param['startOutDate']} 00:00:00' "; |
|
|
|
} |
|
|
|
if (!empty($param['endOutDate']) ) { |
|
|
|
$where[] = " c.check_out_date <= '{$param['endOutDate']} 23:59:59' "; |
|
|
|
$where[] = " b.check_out_date <= '{$param['endOutDate']} 23:59:59' "; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|