正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -207,7 +207,7 @@ exit(); | @@ -207,7 +207,7 @@ exit(); | ||
207 | $data = Db::name('light') | 207 | $data = Db::name('light') |
208 | ->alias('l') | 208 | ->alias('l') |
209 | ->join('light_order lo', 'lo.light_id=l.id') | 209 | ->join('light_order lo', 'lo.light_id=l.id') |
210 | - ->where(['l.area_id' => $id,'lo.end_time'=>['!>',time()]])->field('l.row,l.column,l.id')->select()->toArray(); | 210 | + ->where(['l.area_id' => $id,'lo.status'=>['neq',3]])->field('l.row,l.column,l.id')->select()->toArray(); |
211 | return json_encode($data); | 211 | return json_encode($data); |
212 | } | 212 | } |
213 | } | 213 | } |
-
请 注册 或 登录 后发表评论