24 lines
534 B
Java
24 lines
534 B
Java
package com.rzyc.mapper;
|
|
|
|
import com.rzyc.model.SysWarning;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
/**
|
|
* <p>
|
|
* 智能预警 Mapper 接口
|
|
* </p>
|
|
*
|
|
* @author
|
|
* @since 2023-01-09
|
|
*/
|
|
@Repository
|
|
public interface SysWarningMapper extends BaseMapper<SysWarning> {
|
|
|
|
/*查询预警数量*/
|
|
Integer countByTargetId(@Param("targetId") String targetId,
|
|
@Param("typeId") String typeId);
|
|
|
|
}
|