正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -51,6 +51,7 @@ class AdminOrderController extends AdminBaseController{ | @@ -51,6 +51,7 @@ class AdminOrderController extends AdminBaseController{ | ||
51 | ->join('users u','a.users_id=u.id') | 51 | ->join('users u','a.users_id=u.id') |
52 | // ->field('a.*,b.serial_number,b.hospital') | 52 | // ->field('a.*,b.serial_number,b.hospital') |
53 | // ->join('equipment b','a.eq_name=b.name') | 53 | // ->join('equipment b','a.eq_name=b.name') |
54 | + ->field('a.*') | ||
54 | ->where($where) | 55 | ->where($where) |
55 | ->order('a.end_time','desc') | 56 | ->order('a.end_time','desc') |
56 | ->paginate(10); | 57 | ->paginate(10); |
@@ -68,7 +69,6 @@ class AdminOrderController extends AdminBaseController{ | @@ -68,7 +69,6 @@ class AdminOrderController extends AdminBaseController{ | ||
68 | //更改订单状态 | 69 | //更改订单状态 |
69 | public function endOrder(){ | 70 | public function endOrder(){ |
70 | $param=$this->request->param(); | 71 | $param=$this->request->param(); |
71 | - var_dump($param); | ||
72 | Db::name('order') | 72 | Db::name('order') |
73 | ->where('id',$param['id']) | 73 | ->where('id',$param['id']) |
74 | ->update(['state'=>3]); | 74 | ->update(['state'=>3]); |
-
请 注册 或 登录 后发表评论