| | |
| | | @AllArgsConstructor |
| | | public class DeviceOperationLogService extends BaseServiceImpl<DeviceOperationLogMapper, DeviceOperationLog> { |
| | | |
| | | private final DeviceOperationLogMapper deviceOperationLogMapper; |
| | | |
| | | /** |
| | | * 获取操作日志列表 |
| | | * |
| | |
| | | if (operation != null && operation.trim().length() != 0) { |
| | | lambdaQueryWrapper.like(DeviceOperationLog::getOperation, operation); |
| | | } |
| | | lambdaQueryWrapper.orderByDesc(DeviceOperationLog::getId); |
| | | |
| | | if (baseConditionVO != null) { |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | |
| | | } |
| | | } |
| | | |
| | | public List<String> operationList(){ |
| | | List<String> operationList= deviceOperationLogMapper.operationList(); |
| | | return operationList; |
| | | } |
| | | |
| | | |
| | | } |