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

测试问题修改

@@ -123,9 +123,6 @@ class MemberController extends CommentController @@ -123,9 +123,6 @@ class MemberController extends CommentController
123 ->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 ') 123 ->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 ')
124 ->order('o.create_time desc') 124 ->order('o.create_time desc')
125 ->select()->toArray(); 125 ->select()->toArray();
126 - echo "<pre/>";  
127 - print_r($coo_list);  
128 - die;  
129 if($coo_list){ 126 if($coo_list){
130 // 查询分配表 127 // 查询分配表
131 $log = Db::name('CompareLog')->alias('l') 128 $log = Db::name('CompareLog')->alias('l')
@@ -170,7 +167,11 @@ class MemberController extends CommentController @@ -170,7 +167,11 @@ class MemberController extends CommentController
170 } 167 }
171 168
172 }else{ 169 }else{
173 - $a = $coo_list; 170 + if($data['type'] == 6|| $data['type'] == 7 || $data['type'] == 8 ){
  171 + $a = array();
  172 + }else{
  173 + $a = $coo_list;
  174 + }
174 } 175 }
175 } 176 }
176 } 177 }