package com.jwipc.shopping.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.jwipc.shopping.entity.CostCenter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-04-11
 */
public interface CostCenterMapper extends BaseMapper<CostCenter> {

    Integer findCount(@Param("ew") LambdaQueryWrapper<CostCenter> queryWrapper);

    List<CostCenter> findListForPage(@Param("offset")Integer offset, @Param("rows")Integer rows, @Param("ew")LambdaQueryWrapper<CostCenter> queryWrapper);


}
