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