lvhao 17 시간 전
부모
커밋
9c5b21be2f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/CoreApp/controllers/Workshopshow.php

+ 2 - 0
core/CoreApp/controllers/Workshopshow.php

@@ -638,6 +638,7 @@ class Workshopshow extends Start_Controller
             $this->db->where("ycrk_type",0);
             $this->db->where_in('extra_status',[2,3]);
             $this->db->order_by('id','desc');
+            $this->db->group_by('fid');
             $this->db->limit($perpage,$start);
             $info_list = $this->db->get('systemtransfer_cr');
             $list = $info_list->result_array();
@@ -694,6 +695,7 @@ class Workshopshow extends Start_Controller
             $this->db->where("time < ",strtotime($timetjj));
             $this->db->where("ycrk_type",0);
             $this->db->where_in('extra_status',[2,3]);
+            $this->db->group_by('fid');
             $total = $this->db->count_all_results('systemtransfer_cr');
 
 		    $pagenum = ceil($total/$perpage);