Merge branch 'dev'
This commit is contained in:
commit
c71afca0e0
|
|
@ -1281,14 +1281,13 @@ class Order extends Base
|
|||
if ($u_status !== '') {
|
||||
$where[] = ['u.status', '=', $u_status];
|
||||
}
|
||||
|
||||
if ($start_time && $end_time) {
|
||||
$where[] = ['o.addtime', 'between', [$start_time, $end_time]];
|
||||
} else if ($start_time) {
|
||||
if ($start_time) {
|
||||
$where[] = ['o.addtime', '>=', $start_time];
|
||||
} else if ($end_time) {
|
||||
}
|
||||
if ($end_time) {
|
||||
$where[] = ['o.addtime', '<=', $end_time];
|
||||
}
|
||||
|
||||
|
||||
$query = Db::table('order')
|
||||
->alias('o')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user