作者 郭鑫
1 个管道 的构建 通过 耗费 0 秒

测试问题修改

@@ -102,8 +102,12 @@ class MemberController extends CommentController @@ -102,8 +102,12 @@ class MemberController extends CommentController
102 $where_compare['l.status'] = $data['type']; 102 $where_compare['l.status'] = $data['type'];
103 $where_order['o.status'] = 6; 103 $where_order['o.status'] = 6;
104 }else{ 104 }else{
  105 + if($data['type'] == 6){
  106 + $where_order['o.status'] = array('in','6,10');
  107 + }else{
105 $where_order['o.status'] = $data['type']; 108 $where_order['o.status'] = $data['type'];
106 } 109 }
  110 + }
107 111
108 }else{ 112 }else{
109 $where_order['o.status'] = array('neq',9); 113 $where_order['o.status'] = array('neq',9);
@@ -118,9 +122,6 @@ class MemberController extends CommentController @@ -118,9 +122,6 @@ class MemberController extends CommentController
118 ->field('h.id as hire_id,h.* , o.id as order_id,o.order_sn,o.status as orderStatus,o.create_time as cre,o.update_time as up , s.name as select_name ,m.name as member_name ') 122 ->field('h.id as hire_id,h.* , o.id as order_id,o.order_sn,o.status as orderStatus,o.create_time as cre,o.update_time as up , s.name as select_name ,m.name as member_name ')
119 ->order('o.create_time desc') 123 ->order('o.create_time desc')
120 ->select()->toArray(); 124 ->select()->toArray();
121 - echo "<pre/>";  
122 - print_r($where_order);  
123 - die;  
124 if($coo_list){ 125 if($coo_list){
125 // 查询分配表 126 // 查询分配表
126 $log = Db::name('CompareLog')->alias('l') 127 $log = Db::name('CompareLog')->alias('l')