lvhao hai 13 horas
pai
achega
998faa4bb7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
     }