use think\db\Where;
$where = new Where;
w
h
e
r
e
[
′
a
d
d
t
i
m
e
′
]
=
[
′
>
′
,
where['addtime'] = ['>',
where[′addtime′]=[′>′,start_time] ;
o
r
d
e
r
l
i
s
t
=
D
b
:
:
n
a
m
e
(
′
o
r
d
e
r
′
)
−
>
w
h
e
r
e
(
orderlist = Db::name('order')->where(
orderlist=Db::name(′order′)−>where(where)->select();