package com.bonus.canteen.core.allocation.advise.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bonus.canteen.core.allocation.advise.model.BasicsComplaint;
import com.bonus.canteen.core.allocation.advise.param.AppletPlaintParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BasicsPlaintMapper extends BaseMapper<BasicsComplaint> {
   List<AppletPlaintParam> queryPlaints(@Param("custId") Long custId, @Param("sourceType") Integer sourceType);

//   Page<BasicsComplaintPageVO> selectPlaintPage(Page<BasicsComplaint> page, @Param("dto") BasicsPlaintPageDTO dto);
}
