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.DlShebeixxCdMapper;
|
import com.ruoyi.dl.domain.DlShebeixxCd;
|
import com.ruoyi.dl.service.IDlShebeixxCdService;
|
|
/**
|
* 设备测点Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2023-09-13
|
*/
|
@Service
|
public class DlShebeixxCdServiceImpl implements IDlShebeixxCdService
|
{
|
@Autowired
|
private DlShebeixxCdMapper dlShebeixxCdMapper;
|
|
/**
|
* 查询设备测点
|
*
|
* @param id 设备测点主键
|
* @return 设备测点
|
*/
|
@Override
|
public DlShebeixxCd selectDlShebeixxCdById(Long id)
|
{
|
return dlShebeixxCdMapper.selectDlShebeixxCdById(id);
|
}
|
|
/**
|
* 查询设备测点列表
|
*
|
* @param dlShebeixxCd 设备测点
|
* @return 设备测点
|
*/
|
@Override
|
public List<DlShebeixxCd> selectDlShebeixxCdList(DlShebeixxCd dlShebeixxCd)
|
{
|
return dlShebeixxCdMapper.selectDlShebeixxCdList(dlShebeixxCd);
|
}
|
|
/**
|
* 查询设备测点列表
|
*
|
* @param dlShebeixxCd 设备测点
|
* @return 设备测点
|
*/
|
@Override
|
public List<DlShebeixxCd> selectListByGroupBy(DlShebeixxCd dlShebeixxCd)
|
{
|
return dlShebeixxCdMapper.selectListByGroupBy(dlShebeixxCd);
|
}
|
|
/**
|
* 新增设备测点
|
*
|
* @param dlShebeixxCd 设备测点
|
* @return 结果
|
*/
|
@Override
|
public int insertDlShebeixxCd(DlShebeixxCd dlShebeixxCd)
|
{
|
return dlShebeixxCdMapper.insertDlShebeixxCd(dlShebeixxCd);
|
}
|
|
/**
|
* 修改设备测点
|
*
|
* @param dlShebeixxCd 设备测点
|
* @return 结果
|
*/
|
@Override
|
public int updateDlShebeixxCd(DlShebeixxCd dlShebeixxCd)
|
{
|
return dlShebeixxCdMapper.updateDlShebeixxCd(dlShebeixxCd);
|
}
|
|
/**
|
* 批量删除设备测点
|
*
|
* @param ids 需要删除的设备测点主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteDlShebeixxCdByIds(Long[] ids)
|
{
|
return dlShebeixxCdMapper.deleteDlShebeixxCdByIds(ids);
|
}
|
|
/**
|
* 删除设备测点信息
|
*
|
* @param id 设备测点主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteDlShebeixxCdById(Long id)
|
{
|
return dlShebeixxCdMapper.deleteDlShebeixxCdById(id);
|
}
|
}
|