Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / WarnConfigWaterLeverDao.java
@新烽开发者 新烽开发者 on 19 Jul 861 bytes init
package com.newfiber.api.pc.dao;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.newfiber.api.core.base.BaseDao;
import com.newfiber.api.pc.model.entity.WarnConfigWaterLever;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *@Description: 水质等级告警配置
 *@author chenqian
 *@date 2021/10/15 10:51
 */
@Repository
@DS("monitor")
public interface WarnConfigWaterLeverDao extends BaseDao<WarnConfigWaterLever> {


    int updateBySelective(WarnConfigWaterLever record);

//    Integer updateById(WarnConfigWaterLever record);


    List<WarnConfigWaterLever> queryWaterLeverWarnConfig(String stCode);

    /** 批量查询水质预警报警配置信息 */
    List<WarnConfigWaterLever> warnConfigWaterByStCodes(@Param("stCodeList")List<String> stCodeList);
}