|  | @@ -346,16 +346,17 @@ class VerifyApi {
 | 
	
		
			
				|  |  |                  break;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          $enterprise_tag_kvs = DictApi::selectByParentCode("enterprise_tag");
 | 
	
		
			
				|  |  | -        $count = Talent::alias("ti")->leftJoin("un_enterprise e", "e.id=ti.enterprise_id")->where($where)->count();
 | 
	
		
			
				|  |  | +        //$count = Talent::alias("ti")->leftJoin("un_enterprise e", "e.id=ti.enterprise_id")->where($where)->count();
 | 
	
		
			
				|  |  |          $list = Talent::alias("ti")->leftJoin("un_enterprise e", "e.id=ti.enterprise_id")
 | 
	
		
			
				|  |  |                          ->where($where)
 | 
	
		
			
				|  |  |                          ->limit($offset, $limit)
 | 
	
		
			
				|  |  | -                        ->order("ti.createTime " . $order)->field("ti.*,e.name as enterpriseName,e.type as enterprise_type,enterpriseTag")->select()->toArray();
 | 
	
		
			
				|  |  | +                        //->order("ti.createTime " . $order)
 | 
	
		
			
				|  |  | +                        ->field("ti.*,e.name as enterpriseName,e.type as enterprise_type,enterpriseTag")->select()->toArray();
 | 
	
		
			
				|  |  |          foreach ($list as &$item) {
 | 
	
		
			
				|  |  |              $item["talent_type"] = $item["enterprise_type"] == 1 ? "晋江市现代产业体系人才" : "集成电路优秀人才";
 | 
	
		
			
				|  |  |              $item["enterprise_tag"] = $enterprise_tag_kvs[$item["enterpriseTag"]];
 | 
	
		
			
				|  |  |          }unset($item);
 | 
	
		
			
				|  |  | -        return ["total" => $count, "rows" => $list];
 | 
	
		
			
				|  |  | +        return $list;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public static function getListByIds($ids) {
 | 
	
	
		
			
				|  | @@ -1077,11 +1078,11 @@ class VerifyApi {
 | 
	
		
			
				|  |  |                          if ($log["active"] == 1) {
 | 
	
		
			
				|  |  |                              if ($log["new_state"] == 9) {
 | 
	
		
			
				|  |  |                                  $verifyDepts[$k] .= "(审核驳回)";
 | 
	
		
			
				|  |  | -                                $item["deptReject"]++;
 | 
	
		
			
				|  |  | +                                $item["deptReject"] ++;
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                              if ($log["new_state"] == 12) {
 | 
	
		
			
				|  |  |                                  $verifyDepts[$k] .= "(审核通过)";
 | 
	
		
			
				|  |  | -                                $item["deptPass"]++;
 | 
	
		
			
				|  |  | +                                $item["deptPass"] ++;
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                              $deptDescriptions[] = sprintf("%s:%s", $company["name"], $log["description"]);
 | 
	
		
			
				|  |  |                          } else {
 | 
	
	
		
			
				|  | @@ -1090,7 +1091,7 @@ class VerifyApi {
 | 
	
		
			
				|  |  |                                  continue;
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                              $verifyDepts[$k] .= "(待审核)";
 | 
	
		
			
				|  |  | -                            $item["deptWait"]++;
 | 
	
		
			
				|  |  | +                            $item["deptWait"] ++;
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      $item["verifyDepts"] = implode(chr(10), $verifyDepts);
 |