lvhao 6 months ago
parent
commit
236e016af4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/CoreApp/controllers/Transfer.php

+ 3 - 3
core/CoreApp/controllers/Transfer.php

@@ -895,8 +895,8 @@ class Transfer extends Start_Controller {
 		$this->data['vip'] = $user['vip'];
 		$transfer_ids = array_column($transfer,'id');
 		$transfer_str = implode(",",$transfer_ids);
-		$this->data['cz_1_num'] = $this->systemtransfer_cr->find_count("orver_flag = 1 and is_over = 0 and time > ".(time()-3600*24*21)  ." and lx in (".$transfer_str.")");
-		$this->data['cz_2_num'] = $this->systemtransfer_cr->find_count("orver_flag = 2 and is_over = 0 and time > ".(time()-3600*24*21)  ." and lx in (".$transfer_str.")");
+		$this->data['cz_1_num'] = $this->systemtransfer_cr->find_count("orver_flag = 1 and is_over = 0 and time > ".(time()-3600*24*14)  ." and lx in (".$transfer_str.")");
+		$this->data['cz_2_num'] = $this->systemtransfer_cr->find_count("orver_flag = 2 and is_over = 0 and time > ".(time()-3600*24*14)  ." and lx in (".$transfer_str.")");
 		//$jiaji_num = 0;
 	    
 	    // $jiaji_num = $this->systemtransfer->find_count(" is_jiaji = 2 and time > ".(time()-3600*24*7)." and rk not like '%|11|%'" );
@@ -909,7 +909,7 @@ class Transfer extends Start_Controller {
 		    $this->data['jiaji_num'] = -1;
 		}else{
 		    $transfer_str = implode(",",$transfer_ids);
-    		$sql_r = $this->db->query("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c   on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*21)  ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
+    		$sql_r = $this->db->query("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c   on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*14)  ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
     	    // print_r("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c   on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*7)  ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
     		
     		$tmp_list= $sql_r->result_array();