package com.sckw.goods.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.goods.entity.KwBusinessInventory;
import com.sckw.goods.entity.req.InventoryPageListParam;
import com.sckw.goods.entity.res.InventoryFindListRes;
import com.sckw.goods.entity.res.InventoryPageListRes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
@DS("goods")
public interface InventoryMapper extends BaseMapper<KwBusinessInventory> {

    List<InventoryFindListRes> findList(String name);

    List<InventoryPageListRes> findPage(InventoryPageListParam inventoryPageListParam);

}
