package cn.stylefeng.team.project.modular.business.mapper;

import cn.stylefeng.team.project.api.entity.Business;
import cn.stylefeng.team.project.modular.business.pojo.request.BusinessRequest;
import cn.stylefeng.team.project.modular.business.pojo.response.BusinessVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessMapper extends BaseMapper<Business> {

    List<BusinessVo> customFindList(@Param("page") Page page, @Param("param") BusinessRequest request);

    void batchDeleteBusinessInfo(@Param("businessIds") List<Long> businessIds);

}
