Class Y9logAccessLogCustomRepositoryImpl
- java.lang.Object
-
- net.risesoft.y9public.repository.custom.impl.Y9logAccessLogCustomRepositoryImpl
-
- All Implemented Interfaces:
Y9logAccessLogCustomRepository
@Component @Transactional(value="rsPublicTransactionManager", readOnly=true) public class Y9logAccessLogCustomRepositoryImpl extends Object implements Y9logAccessLogCustomRepository- Author:
- guoweijun, shidaobang, mengjuhua
-
-
Constructor Summary
Constructors Constructor Description Y9logAccessLogCustomRepositoryImpl(Y9logMappingCustomRepository y9logMappingCustomRepository, Y9logAccessLogRepository y9logAccessLogRepository, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate4Public)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAppClickCount(String tenantId, String guidPath, String startDay, String endDay)Map<String,Object>getModuleNameCount(String tenantId, String guidPath, String startDay, String endDay)Map<String,Object>getOperateStatusCount(String selectedDate)longgetOperateTimeCount(Date startDay, Date endDay, boolean betweenAble, long elapsedTimeStart, Long elapsedTimeEnd)List<String>listAccessLog(String tenantId, String loginName, String startTime, String endTime)List<Long>listOperateTimeCount(String startDay, String endDay)org.springframework.data.domain.Page<Y9logAccessLog>page(int page, int rows, String sort)net.risesoft.pojo.Y9Page<net.risesoft.model.log.AccessLog>pageByCondition(net.risesoft.model.log.LogInfoModel searchDto, String startTime, String endTime, Integer page, Integer rows)net.risesoft.pojo.Y9Page<net.risesoft.model.log.AccessLog>pageByOperateType(String operateType, Integer page, Integer rows)net.risesoft.pojo.Y9Page<net.risesoft.model.log.AccessLog>pageByOrgType(String tenantId, List<String> personIds, String operateType, Integer page, Integer rows)org.springframework.data.domain.Page<Y9logAccessLog>pageByTenantIdAndManagerLevelAndUserId(String tenantId, String managerLevel, String userId, Integer page, Integer rows, String sort)org.springframework.data.domain.Page<Y9logAccessLog>pageElapsedTimeByCondition(net.risesoft.model.log.LogInfoModel searchDto, String startDay, String endDay, String sTime, String lTime, Integer page, Integer rows)org.springframework.data.domain.Page<Y9logAccessLog>pageOperateStatusByOperateStatus(net.risesoft.model.log.LogInfoModel searchDto, String operateStatus, String date, String hour, Integer page, Integer rows)org.springframework.data.domain.Page<Y9logAccessLog>pageSearchByCondition(net.risesoft.model.log.LogInfoModel loginInfoModel, String startTime, String endTime, Integer page, Integer rows)voidsave(Y9logAccessLog y9logAccessLog)org.springframework.data.domain.Page<Y9logAccessLog>searchQuery(String tenantId, String managerLevel, net.risesoft.model.log.LogInfoModel loginInfoModel, Integer page, Integer rows)
-
-
-
Constructor Detail
-
Y9logAccessLogCustomRepositoryImpl
public Y9logAccessLogCustomRepositoryImpl(Y9logMappingCustomRepository y9logMappingCustomRepository, Y9logAccessLogRepository y9logAccessLogRepository, @Qualifier("jdbcTemplate4Public") org.springframework.jdbc.core.JdbcTemplate jdbcTemplate4Public)
-
-
Method Detail
-
getAppClickCount
public Map<String,Object> getAppClickCount(String tenantId, String guidPath, String startDay, String endDay) throws UnknownHostException
- Specified by:
getAppClickCountin interfaceY9logAccessLogCustomRepository- Throws:
UnknownHostException
-
getModuleNameCount
public Map<String,Object> getModuleNameCount(String tenantId, String guidPath, String startDay, String endDay)
- Specified by:
getModuleNameCountin interfaceY9logAccessLogCustomRepository
-
getOperateStatusCount
public Map<String,Object> getOperateStatusCount(String selectedDate)
- Specified by:
getOperateStatusCountin interfaceY9logAccessLogCustomRepository
-
getOperateTimeCount
public long getOperateTimeCount(Date startDay, Date endDay, boolean betweenAble, long elapsedTimeStart, Long elapsedTimeEnd)
-
listAccessLog
public List<String> listAccessLog(String tenantId, String loginName, String startTime, String endTime)
- Specified by:
listAccessLogin interfaceY9logAccessLogCustomRepository
-
listOperateTimeCount
public List<Long> listOperateTimeCount(String startDay, String endDay)
- Specified by:
listOperateTimeCountin interfaceY9logAccessLogCustomRepository
-
page
public org.springframework.data.domain.Page<Y9logAccessLog> page(int page, int rows, String sort)
- Specified by:
pagein interfaceY9logAccessLogCustomRepository
-
pageByCondition
public net.risesoft.pojo.Y9Page<net.risesoft.model.log.AccessLog> pageByCondition(net.risesoft.model.log.LogInfoModel searchDto, String startTime, String endTime, Integer page, Integer rows)- Specified by:
pageByConditionin interfaceY9logAccessLogCustomRepository
-
pageByOperateType
public net.risesoft.pojo.Y9Page<net.risesoft.model.log.AccessLog> pageByOperateType(String operateType, Integer page, Integer rows)
- Specified by:
pageByOperateTypein interfaceY9logAccessLogCustomRepository
-
pageByOrgType
public net.risesoft.pojo.Y9Page<net.risesoft.model.log.AccessLog> pageByOrgType(String tenantId, List<String> personIds, String operateType, Integer page, Integer rows)
- Specified by:
pageByOrgTypein interfaceY9logAccessLogCustomRepository
-
pageByTenantIdAndManagerLevelAndUserId
public org.springframework.data.domain.Page<Y9logAccessLog> pageByTenantIdAndManagerLevelAndUserId(String tenantId, String managerLevel, String userId, Integer page, Integer rows, String sort)
- Specified by:
pageByTenantIdAndManagerLevelAndUserIdin interfaceY9logAccessLogCustomRepository
-
pageElapsedTimeByCondition
public org.springframework.data.domain.Page<Y9logAccessLog> pageElapsedTimeByCondition(net.risesoft.model.log.LogInfoModel searchDto, String startDay, String endDay, String sTime, String lTime, Integer page, Integer rows) throws ParseException
- Specified by:
pageElapsedTimeByConditionin interfaceY9logAccessLogCustomRepository- Throws:
ParseException
-
pageOperateStatusByOperateStatus
public org.springframework.data.domain.Page<Y9logAccessLog> pageOperateStatusByOperateStatus(net.risesoft.model.log.LogInfoModel searchDto, String operateStatus, String date, String hour, Integer page, Integer rows) throws ParseException
- Specified by:
pageOperateStatusByOperateStatusin interfaceY9logAccessLogCustomRepository- Throws:
ParseException
-
pageSearchByCondition
public org.springframework.data.domain.Page<Y9logAccessLog> pageSearchByCondition(net.risesoft.model.log.LogInfoModel loginInfoModel, String startTime, String endTime, Integer page, Integer rows)
- Specified by:
pageSearchByConditionin interfaceY9logAccessLogCustomRepository
-
save
@Transactional(readOnly=false) public void save(Y9logAccessLog y9logAccessLog)
- Specified by:
savein interfaceY9logAccessLogCustomRepository
-
searchQuery
public org.springframework.data.domain.Page<Y9logAccessLog> searchQuery(String tenantId, String managerLevel, net.risesoft.model.log.LogInfoModel loginInfoModel, Integer page, Integer rows)
- Specified by:
searchQueryin interfaceY9logAccessLogCustomRepository
-
-