package com.ruoyi.dl.service.impl;
|
|
import java.util.List;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import com.ruoyi.dl.mapper.DlShebeixxMapper;
|
import com.ruoyi.dl.domain.DlShebeixx;
|
import com.ruoyi.dl.service.IDlShebeixxService;
|
|
/**
|
* 设备信息Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2023-09-13
|
*/
|
@Service
|
public class DlShebeixxServiceImpl implements IDlShebeixxService
|
{
|
@Autowired
|
private DlShebeixxMapper dlShebeixxMapper;
|
|
/**
|
* 查询设备信息
|
*
|
* @param id 设备信息主键
|
* @return 设备信息
|
*/
|
@Override
|
public DlShebeixx selectDlShebeixxById(Long id)
|
{
|
return dlShebeixxMapper.selectDlShebeixxById(id);
|
}
|
|
/**
|
* 查询设备信息列表
|
*
|
* @param dlShebeixx 设备信息
|
* @return 设备信息
|
*/
|
@Override
|
public List<DlShebeixx> selectDlShebeixxList(DlShebeixx dlShebeixx)
|
{
|
return dlShebeixxMapper.selectDlShebeixxList(dlShebeixx);
|
}
|
|
/**
|
* 查询设备信息列表
|
*
|
* @param dlShebeixx 设备信息
|
* @return 设备信息
|
*/
|
@Override
|
public List<DlShebeixx> selectListByGroupBy(DlShebeixx dlShebeixx)
|
{
|
return dlShebeixxMapper.selectListByGroupBy(dlShebeixx);
|
}
|
|
/**
|
* 新增设备信息
|
*
|
* @param dlShebeixx 设备信息
|
* @return 结果
|
*/
|
@Override
|
public int insertDlShebeixx(DlShebeixx dlShebeixx)
|
{
|
return dlShebeixxMapper.insertDlShebeixx(dlShebeixx);
|
}
|
|
/**
|
* 修改设备信息
|
*
|
* @param dlShebeixx 设备信息
|
* @return 结果
|
*/
|
@Override
|
public int updateDlShebeixx(DlShebeixx dlShebeixx)
|
{
|
return dlShebeixxMapper.updateDlShebeixx(dlShebeixx);
|
}
|
|
/**
|
* 批量删除设备信息
|
*
|
* @param ids 需要删除的设备信息主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteDlShebeixxByIds(Long[] ids)
|
{
|
return dlShebeixxMapper.deleteDlShebeixxByIds(ids);
|
}
|
|
/**
|
* 删除设备信息信息
|
*
|
* @param id 设备信息主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteDlShebeixxById(Long id)
|
{
|
return dlShebeixxMapper.deleteDlShebeixxById(id);
|
}
|
}
|