public class LastLoginedInfoDao extends PlatformDataAccessObject
限定符和类型 | 方法和说明 |
---|---|
LastLoginedInfo |
findByUserId(long userId)
根据用户id查找
|
static LastLoginedInfoDao |
getInstance() |
boolean |
saveOrUpdate(LastLoginedInfo lastLoginedInfo) |
closeSession, createSession, createSession, rollbackSession
public static LastLoginedInfoDao getInstance()
public boolean saveOrUpdate(LastLoginedInfo lastLoginedInfo) throws java.lang.Exception
java.lang.Exception
public LastLoginedInfo findByUserId(long userId) throws java.lang.Exception
userId
- 用户idjava.lang.Exception
- 异常