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

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.newfiber.api.pc.model.entity.DutyTeam;
import com.newfiber.api.pc.model.request.dutyTeam.DutyTeamQueryRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 防汛应急指挥-应急队伍Mapper接口
 * 
 * @author newfiber
 * @date 2024-07-25
 */
public interface DutyTeamMapper extends BaseMapper<DutyTeam> {

    /**
     * 条件查询防汛应急指挥-应急队伍列表
     * 
     * @param request 查询条件
     * @return 防汛应急指挥-应急队伍集合
     */
    List<DutyTeam> selectByCondition(@Param("request") DutyTeamQueryRequest request);

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

}