package com.smartearth.poiexcel.mapper; import com.smartearth.poiexcel.entity.EntEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * 企业Mapper * @author WWW */ @Mapper @Repository public interface QiYeMapper { /** * 查询行数 * * @return */ public Integer selectCount(); /** * 分页查询 * * @param limit * @param offset * @return */ public List selectByPage(@Param("limit") Integer limit, @Param("offset") Integer offset); /** * 更新一条 * * @param entity * @return */ public Integer update(EntEntity entity); /** * 更新多条 * * @param list * @return */ public Integer updates(List list); }