Class Y9logUserLoginInfoCustomRepositoryImpl
- java.lang.Object
-
- net.risesoft.y9public.repository.custom.impl.Y9logUserLoginInfoCustomRepositoryImpl
-
- All Implemented Interfaces:
Y9logUserLoginInfoCustomRepository
@Component public class Y9logUserLoginInfoCustomRepositoryImpl extends Object implements Y9logUserLoginInfoCustomRepository
- Author:
- guoweijun, shidaobang, mengjuhua
-
-
Constructor Summary
Constructors Constructor Description Y9logUserLoginInfoCustomRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcountByLoginTimeBetweenAndSuccess(Date startTime, Date endTime, String success)longcountBySuccessAndUserHostIpAndUserId(String success, String userHostIp, String userId)longcountByUserHostIpAndSuccess(String userHostIp, String success)longcountByUserHostIpLikeAndLoginTimeBetweenAndSuccess(String userHostIp, Date startTime, Date endTime, String success)List<Object[]>listDistinctUserHostIpByUserIdAndLoginTime(String userId, Date startTime, Date endTime)List<Map<String,Object>>listUserHostIpByCip(String cip)net.risesoft.pojo.Y9Page<Y9logUserLoginInfo>page(String tenantId, String userHostIp, String userId, String success, String startTime, String endTime, net.risesoft.pojo.Y9PageQuery pageQuery)net.risesoft.pojo.Y9Page<Y9logUserLoginInfo>pageByLoginTimeBetweenAndSuccess(Date startTime, Date endTime, String success, int page, int rows)net.risesoft.pojo.Y9Page<Map<String,Object>>pageByUserHostIpAndSuccess(String userHostIp, String success, int page, int size)net.risesoft.pojo.Y9Page<Map<String,Object>>pageByUserHostIpAndSuccessAndUserNameLike(String userHostIp, String success, String userName, int page, int size)net.risesoft.pojo.Y9Page<Y9logUserLoginInfo>pageByUserHostIpLikeAndLoginTimeBetweenAndSuccess(String userHostIp, Date startTime, Date endTime, String success, int page, int rows)voidsave(Y9logUserLoginInfo y9logUserLoginInfo)net.risesoft.pojo.Y9Page<Y9logUserLoginInfo>searchQuery(String tenantId, String managerLevel, net.risesoft.model.log.LogInfoModel loginInfoModel, int page, int rows)
-
-
-
Method Detail
-
countByLoginTimeBetweenAndSuccess
public long countByLoginTimeBetweenAndSuccess(Date startTime, Date endTime, String success)
- Specified by:
countByLoginTimeBetweenAndSuccessin interfaceY9logUserLoginInfoCustomRepository
-
countBySuccessAndUserHostIpAndUserId
public long countBySuccessAndUserHostIpAndUserId(String success, String userHostIp, String userId)
- Specified by:
countBySuccessAndUserHostIpAndUserIdin interfaceY9logUserLoginInfoCustomRepository
-
countByUserHostIpAndSuccess
public long countByUserHostIpAndSuccess(String userHostIp, String success)
- Specified by:
countByUserHostIpAndSuccessin interfaceY9logUserLoginInfoCustomRepository
-
countByUserHostIpLikeAndLoginTimeBetweenAndSuccess
public long countByUserHostIpLikeAndLoginTimeBetweenAndSuccess(String userHostIp, Date startTime, Date endTime, String success)
- Specified by:
countByUserHostIpLikeAndLoginTimeBetweenAndSuccessin interfaceY9logUserLoginInfoCustomRepository
-
listDistinctUserHostIpByUserIdAndLoginTime
public List<Object[]> listDistinctUserHostIpByUserIdAndLoginTime(String userId, Date startTime, Date endTime)
- Specified by:
listDistinctUserHostIpByUserIdAndLoginTimein interfaceY9logUserLoginInfoCustomRepository
-
listUserHostIpByCip
public List<Map<String,Object>> listUserHostIpByCip(String cip)
- Specified by:
listUserHostIpByCipin interfaceY9logUserLoginInfoCustomRepository
-
page
public net.risesoft.pojo.Y9Page<Y9logUserLoginInfo> page(String tenantId, String userHostIp, String userId, String success, String startTime, String endTime, net.risesoft.pojo.Y9PageQuery pageQuery)
- Specified by:
pagein interfaceY9logUserLoginInfoCustomRepository
-
pageByLoginTimeBetweenAndSuccess
public net.risesoft.pojo.Y9Page<Y9logUserLoginInfo> pageByLoginTimeBetweenAndSuccess(Date startTime, Date endTime, String success, int page, int rows)
- Specified by:
pageByLoginTimeBetweenAndSuccessin interfaceY9logUserLoginInfoCustomRepository
-
pageByUserHostIpAndSuccess
public net.risesoft.pojo.Y9Page<Map<String,Object>> pageByUserHostIpAndSuccess(String userHostIp, String success, int page, int size)
- Specified by:
pageByUserHostIpAndSuccessin interfaceY9logUserLoginInfoCustomRepository
-
pageByUserHostIpAndSuccessAndUserNameLike
public net.risesoft.pojo.Y9Page<Map<String,Object>> pageByUserHostIpAndSuccessAndUserNameLike(String userHostIp, String success, String userName, int page, int size)
- Specified by:
pageByUserHostIpAndSuccessAndUserNameLikein interfaceY9logUserLoginInfoCustomRepository
-
pageByUserHostIpLikeAndLoginTimeBetweenAndSuccess
public net.risesoft.pojo.Y9Page<Y9logUserLoginInfo> pageByUserHostIpLikeAndLoginTimeBetweenAndSuccess(String userHostIp, Date startTime, Date endTime, String success, int page, int rows)
- Specified by:
pageByUserHostIpLikeAndLoginTimeBetweenAndSuccessin interfaceY9logUserLoginInfoCustomRepository
-
save
public void save(Y9logUserLoginInfo y9logUserLoginInfo)
-
searchQuery
public net.risesoft.pojo.Y9Page<Y9logUserLoginInfo> searchQuery(String tenantId, String managerLevel, net.risesoft.model.log.LogInfoModel loginInfoModel, int page, int rows)
- Specified by:
searchQueryin interfaceY9logUserLoginInfoCustomRepository
-
-