You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1023 B
Java
44 lines
1023 B
Java
package com.ibeetl.jlw.service;
|
|
|
|
import com.ibeetl.jlw.dao.StudentDao;
|
|
import com.ibeetl.jlw.dao.SysLogDao;
|
|
import com.ibeetl.jlw.web.AnalysisController;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.beetl.sql.core.SQLManager;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import javax.annotation.Resource;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 功能描述: <br>
|
|
*
|
|
* @author: mlx
|
|
* @description:
|
|
* @date: 2023/3/18 16:26
|
|
* @version: 1.0
|
|
*/
|
|
@Slf4j
|
|
@Transactional
|
|
@Service
|
|
public class AnalysisService {
|
|
|
|
@Autowired
|
|
private StudentDao studentDao;
|
|
@Resource
|
|
private SQLManager sqlManager;
|
|
|
|
/**
|
|
* 系统日志分析
|
|
*
|
|
* @param dto
|
|
* @return
|
|
*/
|
|
public List<AnalysisController.SystemUseCountVO> systemUseLogsAnalysis(AnalysisController.SystemUseCountDTO dto) {
|
|
return sqlManager.getMapper(SysLogDao.class).systemUseLogsAnalysis(dto);
|
|
}
|
|
|
|
}
|