|
@@ -68,7 +68,7 @@ class ClockinActive extends Model
|
|
|
//$list = $force ? [] : cache('admin:clockin:active:list');
|
|
|
$where[] = ['status','=',0];
|
|
|
$where[] = ['end_time','>=',time()];
|
|
|
-+ $where[] = ['start_time','<=',time()];
|
|
|
+ $where[] = ['start_time','<=',time()];
|
|
|
// 不存在数据
|
|
|
//if ( !$list ) {
|
|
|
// 从数据库获取数据
|