ganzi-api/inventory-dao/src/main/java/com/rzyc/mapper/GovWarningMapper.java
2022-11-23 17:38:19 +08:00

30 lines
690 B
Java

package com.rzyc.mapper;
import com.github.pagehelper.Page;
import com.rzyc.bean.task.dto.WarnDto;
import com.rzyc.model.GovWarning;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 智能预警 Mapper 接口
* </p>
*
* @author
* @since 2022-11-23
*/
@Repository
public interface GovWarningMapper extends BaseMapper<GovWarning> {
List<GovWarning> selectAll(@Param("warnDto") WarnDto warnDto);
//只能预警分页
List<GovWarning> warnList(@Param("condition") String condition);
int countNum(@Param("type") Integer type);
}