2023-02-08 09:55:47 +08:00
|
|
|
package com.rzyc.mapper;
|
|
|
|
|
|
|
|
|
|
import com.rzyc.model.SysWarning;
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
2023-03-30 20:53:41 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
2023-02-08 15:53:50 +08:00
|
|
|
import org.springframework.stereotype.Repository;
|
2023-02-08 09:55:47 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <p>
|
|
|
|
|
* 智能预警 Mapper 接口
|
|
|
|
|
* </p>
|
|
|
|
|
*
|
2023-02-08 15:53:50 +08:00
|
|
|
* @author
|
2023-02-08 09:55:47 +08:00
|
|
|
* @since 2023-01-09
|
|
|
|
|
*/
|
2023-02-08 15:53:50 +08:00
|
|
|
@Repository
|
2023-02-08 09:55:47 +08:00
|
|
|
public interface SysWarningMapper extends BaseMapper<SysWarning> {
|
|
|
|
|
|
2023-03-30 20:53:41 +08:00
|
|
|
/*查询预警数量*/
|
2023-03-31 11:45:34 +08:00
|
|
|
Integer countByTargetId(@Param("targetId") String targetId,
|
|
|
|
|
@Param("typeId") String typeId);
|
2023-03-30 20:53:41 +08:00
|
|
|
|
2023-02-08 09:55:47 +08:00
|
|
|
}
|