Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / PlanNewMapper.java
package com.newfiber.api.pc.dao;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.newfiber.api.pc.model.entity.PlanNew;
import com.newfiber.api.pc.model.entity.PlanTypeNew;
import com.newfiber.api.pc.model.request.planNew.PlanNewQueryRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 防汛应急指挥-应急预案Mapper接口
 * 
 * @author newfiber
 * @date 2024-07-23
 */
public interface PlanNewMapper extends BaseMapper<PlanNew> {

    /**
     * 条件查询防汛应急指挥-应急预案列表
     * 
     * @param request 查询条件
     * @return 防汛应急指挥-应急预案集合
     */
    List<PlanNew> selectByCondition(@Param("request") PlanNewQueryRequest request);

	/**
	 * 条件查询防汛应急指挥-应急预案列表
	 *
	 * @param id 查询条件
	 * @return 防汛应急指挥-应急预案集合
	 */
	PlanNew selectOneById(@Param("id") Long id);

	/**
	 * 查询应急预案类型
	 * @return
	 */
	List<PlanTypeNew> selectPlanType();

}