You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
web/src/main/java/com/chenxuan/mapper/BusiCenterThresholdConfMapp...

86 lines
2.3 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.chenxuan.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chenxuan.entity.dto.BusiCenterThresholdConfDto;
import com.chenxuan.entity.model.BusiCenterThresholdConf;
import com.chenxuan.entity.vo.BusiCenterThresholdConfVo;
import com.chenxuan.entity.vo.BusiEnvironmentThresholdConfVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @ClassNameBusiCenterThresholdConfMapper
* @Description 中心点电流阈值配置Mapper接口.
* @Author Jordan_Li
* @CreatTime6/8/2020 15:12 PM
* @Version V1.0
*/
@Mapper
public interface BusiCenterThresholdConfMapper extends BaseMapper<BusiCenterThresholdConf> {
/**
* @Description: 分页
*
* @Param page
* @Param params
* @Return: 中心点电流阈值配置集合信息
**/
List<BusiCenterThresholdConfVo> selectPages(Page<BusiCenterThresholdConfVo> page, @Param("params") BusiCenterThresholdConfDto dto);
/**
* 保存中心点电流阈值配置信息
*
* @param busicenterthresholdconf
* @return
*/
int saveThresholdConf(BusiCenterThresholdConf busicenterthresholdconf);
/**
* 更新中心点电流阈值配置信息
*
* @param busicenterthresholdconf
* @return
*/
int updateThresholdConf(BusiCenterThresholdConf busicenterthresholdconf);
/**
* 通过主变ID查询中心点电流阈值配置信息
*
* @param mainId 主变ID
* @return 中心点电流阈值配置信息
*/
BusiCenterThresholdConfVo findThresholdConfByMainId(String mainId);
/**
* 通过主变ID删除对应的中心点电流阈值配置信息
*
* @param mainId 主变ID
* @return 结果
*/
int deleteThresholdConfByMainId(String mainId);
/**
* 通过主变ID删除对应的中心点电流阈值配置关系
*
* @param mainId
* @return
*/
int deleteThresholdConfRelation(String mainId);
/**
* 通过id删除中心点电流阈值配置信息
*
* @param id 中心点电流阈值配置ID
* @return 结果
*/
int delete(String id);
BusiEnvironmentThresholdConfVo findEnvironmentThresholdConfByMainId(String mainId);
}