huliguo
2025-04-30 ea9b12465c90fc72c40f3bd87c90785dfc2984e2
src/main/java/com/cl/mapper/InstitutionMapper.java
New file
@@ -0,0 +1,17 @@
package com.cl.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cl.pojo.entity.Institution;
import com.cl.pojo.vo.InstitutionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface InstitutionMapper extends BaseMapper<Institution> {
    IPage<InstitutionVO> pageList(IPage<Institution> page, @Param("county") Integer county, @Param("name") String name);
    List<InstitutionVO> getAll(@Param("county") Integer county);
}