正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -99,9 +99,7 @@ class MemberController extends CommentController | @@ -99,9 +99,7 @@ class MemberController extends CommentController | ||
99 | $where_compare['l.status'] = array('neq',9); | 99 | $where_compare['l.status'] = array('neq',9); |
100 | if(!empty($data['type'])){ | 100 | if(!empty($data['type'])){ |
101 | if($data['type'] == 6|| $data['type'] == 7 || $data['type'] == 8 || $data['type'] == 10 ){ | 101 | if($data['type'] == 6|| $data['type'] == 7 || $data['type'] == 8 || $data['type'] == 10 ){ |
102 | - if($data['type'] != 10){ | ||
103 | - $where_compare['l.status'] = $data['type']; | ||
104 | - } | 102 | + $where_compare['l.status'] = $data['type']; |
105 | $where_order['o.status'] = 6; | 103 | $where_order['o.status'] = 6; |
106 | }else{ | 104 | }else{ |
107 | $where_order['o.status'] = $data['type']; | 105 | $where_order['o.status'] = $data['type']; |
@@ -120,9 +118,11 @@ class MemberController extends CommentController | @@ -120,9 +118,11 @@ class MemberController extends CommentController | ||
120 | ->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 ') | 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 ') |
121 | ->order('o.create_time desc') | 119 | ->order('o.create_time desc') |
122 | ->select()->toArray(); | 120 | ->select()->toArray(); |
121 | + echo "<pre/>"; | ||
122 | + print_r($coo_list); | ||
123 | + die; | ||
123 | if($coo_list){ | 124 | if($coo_list){ |
124 | // 查询分配表 | 125 | // 查询分配表 |
125 | - | ||
126 | $log = Db::name('CompareLog')->alias('l') | 126 | $log = Db::name('CompareLog')->alias('l') |
127 | ->where($where_compare) | 127 | ->where($where_compare) |
128 | ->join("Member m",'m.id = l.resume_user_id') | 128 | ->join("Member m",'m.id = l.resume_user_id') |
-
请 注册 或 登录 后发表评论