¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import java.util.List; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.ruoyi.system.domain.SysOperLog; |
| | | import com.ruoyi.system.mapper.SysOperLogMapper; |
| | | import com.ruoyi.system.service.ISysOperLogService; |
| | | |
| | | /** |
| | | * æä½æ¥å¿ æå¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | @Service |
| | | public class SysOperLogServiceImpl implements ISysOperLogService |
| | | { |
| | | @Autowired |
| | | private SysOperLogMapper operLogMapper; |
| | | |
| | | /** |
| | | * æ°å¢æä½æ¥å¿ |
| | | * |
| | | * @param operLog æä½æ¥å¿å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public void insertOperlog(SysOperLog operLog) |
| | | { |
| | | operLogMapper.insertOperlog(operLog); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ç³»ç»æä½æ¥å¿éå |
| | | * |
| | | * @param operLog æä½æ¥å¿å¯¹è±¡ |
| | | * @return æä½æ¥å¿éå |
| | | */ |
| | | @Override |
| | | public List<SysOperLog> selectOperLogList(SysOperLog operLog) |
| | | { |
| | | return operLogMapper.selectOperLogList(operLog); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ç³»ç»æä½æ¥å¿ |
| | | * |
| | | * @param operIds éè¦å é¤çæä½æ¥å¿ID |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteOperLogByIds(Long[] operIds) |
| | | { |
| | | return operLogMapper.deleteOperLogByIds(operIds); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æä½æ¥å¿è¯¦ç» |
| | | * |
| | | * @param operId æä½ID |
| | | * @return æä½æ¥å¿å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public SysOperLog selectOperLogById(Long operId) |
| | | { |
| | | return operLogMapper.selectOperLogById(operId); |
| | | } |
| | | |
| | | /** |
| | | * æ¸
空æä½æ¥å¿ |
| | | */ |
| | | @Override |
| | | public void cleanOperLog() |
| | | { |
| | | operLogMapper.cleanOperLog(); |
| | | } |
| | | } |