package com.ruoyi.interchange.service.impl;
|
|
import com.ruoyi.interchange.domain.TbCoalMineSystem;
|
import com.ruoyi.interchange.mapper.TbCoalMineSystemMapper;
|
import com.ruoyi.interchange.service.ITbCoalMineSystemService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* 煤矿系统管理Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2023-04-26
|
*/
|
@Service
|
public class TbCoalMineSystemServiceImpl implements ITbCoalMineSystemService
|
{
|
@Autowired
|
private TbCoalMineSystemMapper tbCoalMineSystemMapper;
|
|
/**
|
* 查询煤矿系统管理
|
*
|
* @param id 煤矿系统管理主键
|
* @return 煤矿系统管理
|
*/
|
@Override
|
public TbCoalMineSystem selectTbCoalMineSystemById(Long id)
|
{
|
return tbCoalMineSystemMapper.selectTbCoalMineSystemById(id);
|
}
|
|
/**
|
* 查询煤矿系统管理列表
|
*
|
* @param tbCoalMineSystem 煤矿系统管理
|
* @return 煤矿系统管理
|
*/
|
@Override
|
public List<TbCoalMineSystem> selectTbCoalMineSystemList(TbCoalMineSystem tbCoalMineSystem)
|
{
|
return tbCoalMineSystemMapper.selectTbCoalMineSystemList(tbCoalMineSystem);
|
}
|
|
/**
|
* 新增煤矿系统管理
|
*
|
* @param tbCoalMineSystem 煤矿系统管理
|
* @return 结果
|
*/
|
@Override
|
public int insertTbCoalMineSystem(TbCoalMineSystem tbCoalMineSystem)
|
{
|
return tbCoalMineSystemMapper.insertTbCoalMineSystem(tbCoalMineSystem);
|
}
|
|
/**
|
* 修改煤矿系统管理
|
*
|
* @param tbCoalMineSystem 煤矿系统管理
|
* @return 结果
|
*/
|
@Override
|
public int updateTbCoalMineSystem(TbCoalMineSystem tbCoalMineSystem)
|
{
|
return tbCoalMineSystemMapper.updateTbCoalMineSystem(tbCoalMineSystem);
|
}
|
|
/**
|
* 批量删除煤矿系统管理
|
*
|
* @param ids 需要删除的煤矿系统管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteTbCoalMineSystemByIds(Long[] ids)
|
{
|
return tbCoalMineSystemMapper.deleteTbCoalMineSystemByIds(ids);
|
}
|
|
/**
|
* 删除煤矿系统管理信息
|
*
|
* @param id 煤矿系统管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteTbCoalMineSystemById(Long id)
|
{
|
return tbCoalMineSystemMapper.deleteTbCoalMineSystemById(id);
|
}
|
}
|