package com.willalp.canteen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.willalp.canteen.domain.HsCanteenDiningPlace;

import java.util.List;

/**
 * 就餐地Mapper接口
 *
 * @author songyu
 * @date 2022-01-07
 */
public interface HsCanteenDiningPlaceMapper extends BaseMapper<HsCanteenDiningPlace>
{
    /**
     * 查询就餐地列表
     *
     * @param hsCanteenDiningPlace 就餐地
     * @return 就餐地集合
     */
    public List<HsCanteenDiningPlace> selectHsCanteenDiningPlaceList(HsCanteenDiningPlace hsCanteenDiningPlace);

    /**
     * 修改就餐地
     *
     * @param hsCanteenDiningPlace 就餐地
     * @return 结果
     */
    public int updateHsCanteenDiningPlace(HsCanteenDiningPlace hsCanteenDiningPlace);

    /**
     * 删除就餐地
     *
     * @param placeId 就餐地主键
     * @return 结果
     */
    public int deleteHsCanteenDiningPlaceByPlaceId(Long placeId);

    public HsCanteenDiningPlace selectById(Long placeId);
}
