大客流一张图界面地图服务更换测试

This commit is contained in:
renhao 2025-06-20 22:14:13 +08:00
parent d3c9a7bd65
commit 0d8343008b
2 changed files with 155 additions and 0 deletions

View File

@ -0,0 +1,61 @@
package com.dkl.large.service;
import java.util.List;
import com.dkl.large.domain.DklWarningThreshold;
/**
* 容量阀值Service接口
*
* @author Dkl
* @date 2025-06-07
*/
public interface IDklWarningThresholdService
{
/**
* 查询容量阀值
*
* @param id 容量阀值主键
* @return 容量阀值
*/
public DklWarningThreshold selectDklWarningThresholdById(Integer id);
/**
* 查询容量阀值列表
*
* @param dklWarningThreshold 容量阀值
* @return 容量阀值集合
*/
public List<DklWarningThreshold> selectDklWarningThresholdList(DklWarningThreshold dklWarningThreshold);
/**
* 新增容量阀值
*
* @param dklWarningThreshold 容量阀值
* @return 结果
*/
public int insertDklWarningThreshold(DklWarningThreshold dklWarningThreshold);
/**
* 修改容量阀值
*
* @param dklWarningThreshold 容量阀值
* @return 结果
*/
public int updateDklWarningThreshold(DklWarningThreshold dklWarningThreshold);
/**
* 批量删除容量阀值
*
* @param ids 需要删除的容量阀值主键集合
* @return 结果
*/
public int deleteDklWarningThresholdByIds(int[] ids);
/**
* 删除容量阀值信息
*
* @param id 容量阀值主键
* @return 结果
*/
public int deleteDklWarningThresholdById(Integer id);
}

View File

@ -0,0 +1,94 @@
package com.dkl.large.service.impl;
import java.util.List;
import com.dkl.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dkl.large.mapper.DklWarningThresholdMapper;
import com.dkl.large.domain.DklWarningThreshold;
import com.dkl.large.service.IDklWarningThresholdService;
/**
* 容量阀值Service业务层处理
*
* @author Dkl
* @date 2025-06-07
*/
@Service
public class DklWarningThresholdServiceImpl implements IDklWarningThresholdService
{
@Autowired
private DklWarningThresholdMapper dklWarningThresholdMapper;
/**
* 查询容量阀值
*
* @param id 容量阀值主键
* @return 容量阀值
*/
@Override
public DklWarningThreshold selectDklWarningThresholdById(Integer id)
{
return dklWarningThresholdMapper.selectDklWarningThresholdById(id);
}
/**
* 查询容量阀值列表
*
* @param dklWarningThreshold 容量阀值
* @return 容量阀值
*/
@Override
public List<DklWarningThreshold> selectDklWarningThresholdList(DklWarningThreshold dklWarningThreshold)
{
return dklWarningThresholdMapper.selectDklWarningThresholdList(dklWarningThreshold);
}
/**
* 新增容量阀值
*
* @param dklWarningThreshold 容量阀值
* @return 结果
*/
@Override
public int insertDklWarningThreshold(DklWarningThreshold dklWarningThreshold)
{
return dklWarningThresholdMapper.insertDklWarningThreshold(dklWarningThreshold);
}
/**
* 修改容量阀值
*
* @param dklWarningThreshold 容量阀值
* @return 结果
*/
@Override
public int updateDklWarningThreshold(DklWarningThreshold dklWarningThreshold)
{
return dklWarningThresholdMapper.updateDklWarningThreshold(dklWarningThreshold);
}
/**
* 批量删除容量阀值
*
* @param ids 需要删除的容量阀值主键
* @return 结果
*/
@Override
public int deleteDklWarningThresholdByIds(int[] ids)
{
return dklWarningThresholdMapper.deleteDklWarningThresholdByIds(ids);
}
/**
* 删除容量阀值信息
*
* @param id 容量阀值主键
* @return 结果
*/
@Override
public int deleteDklWarningThresholdById(Integer id)
{
return dklWarningThresholdMapper.deleteDklWarningThresholdById(id);
}
}