正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -533,7 +533,7 @@ class UsersController extends HomeBaseController{ | @@ -533,7 +533,7 @@ class UsersController extends HomeBaseController{ | ||
533 | ->alias('o') | 533 | ->alias('o') |
534 | ->join('equipment e','o.eq_name=e.name') | 534 | ->join('equipment e','o.eq_name=e.name') |
535 | ->field('o.order_no,o.users_id,o.start_time,e.serial_number,e.hospital') | 535 | ->field('o.order_no,o.users_id,o.start_time,e.serial_number,e.hospital') |
536 | - ->where(['o.users_id'=>$user_id,'o.state'=>1,'o.type'=>1,'e.is_delete'=>0]) | 536 | + ->where(['o.users_id'=>$user_id,'o.state'=>1,'o.type'=>['in',[1,2]],'e.is_delete'=>0]) |
537 | ->find(); | 537 | ->find(); |
538 | if ($order){ | 538 | if ($order){ |
539 | $this->apiResponse(302,'有未完成订单'); | 539 | $this->apiResponse(302,'有未完成订单'); |
-
请 注册 或 登录 后发表评论