Silent 6 年之前
父节点
当前提交
d99f1a65d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Models/Student.php

+ 1 - 1
app/Models/Student.php

xqd
@@ -141,6 +141,6 @@ class Student extends Model
             $duration = strtotime($item->end_date_time) - strtotime($item->begin_date_time);
             $total += $duration;
         }
-        return $total / 60;
+        return floor($total / 60);
     }
 }