lvhao 17 小時之前
父節點
當前提交
998faa4bb7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/CoreApp/controllers/Workshopshow.php

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

@@ -122,6 +122,7 @@ class Workshopshow extends Start_Controller
         $this->db->where("time >",strtotime($month_one));
         $this->db->where("ycrk_type",0);
         $this->db->where_in('extra_status',[2,3]);
+        $this->db->group_by('fid');
         $num = $this->db->count_all_results('systemtransfer_cr');
         return empty($num) ? 0 : $num;
     }