public interface LogonLogDao
限定符和类型 | 方法和说明 |
---|---|
int |
clearData(long accountId,
Date clearDate) |
void |
deleteById(long id) |
List<LogonLog> |
getAllLogonLogs(Long[] users,
Date startTime,
Date endTime,
String ipAddress)
得到符合条件的所有日志记录
|
List<Object[]> |
getAllOnlineTime(long accountId,
Long[] users,
Date startTime,
Date endTime,
int desc) |
List<LogonLog> |
getDetail(long accountId,
Long[] users,
Date startTime,
Date endTime,
String ipAddress,
boolean needPage) |
List<LogonLog> |
getDetailList(long userId,
Date startDate,
Date endDate) |
LogonLog |
getFirstLogonLog(Long userId)
获取最早登录时间
|
LogonLog |
getLastLogonLog(long userId) |
List<Object[]> |
getMaxAccess(long accountId,
Date startTime,
Date endTime) |
Map |
getMaxLogonTime(Long[] users,
Date startTime,
Date endTime,
boolean flag) |
List<Object[]> |
getOnlineTime(long accountId,
Long[] users,
Date startTime,
Date endTime,
int desc) |
long |
getTotalAccess(long accountId,
Date startTime,
Date endTime)
查询 单位人员在一段时间内的登录次数。
|
List<Object[]> |
getUnlogon(long accountId,
Date startTime,
Date endTime,
boolean flag) |
void |
save(LogonLog log) |
void |
saveAll(List<LogonLog> logs) |
void |
updateLngLat(long logId,
String city,
Double x,
Double y) |
void |
updateOnlineTime(long logId,
Date logoutTime,
int onlineTime,
int logoutType) |
void deleteById(long id)
void save(LogonLog log)
void updateOnlineTime(long logId, Date logoutTime, int onlineTime, int logoutType)
long getTotalAccess(long accountId, Date startTime, Date endTime)
accountId
- startTime
- endTime
- List<Object[]> getOnlineTime(long accountId, Long[] users, Date startTime, Date endTime, int desc)
List<Object[]> getAllOnlineTime(long accountId, Long[] users, Date startTime, Date endTime, int desc)
List<LogonLog> getDetail(long accountId, Long[] users, Date startTime, Date endTime, String ipAddress, boolean needPage)
List<LogonLog> getAllLogonLogs(Long[] users, Date startTime, Date endTime, String ipAddress)
accountId
- users
- startTime
- endTime
- ipAddress
- LogonLog getLastLogonLog(long userId)
int clearData(long accountId, Date clearDate)
Copyright © 2016–2018. All rights reserved.