package com.dk.mdm.mapper.mst;

import com.dk.mdm.model.pojo.mst.GoodsSku;
import com.dk.common.mapper.BaseMapper;
import com.dk.mdm.model.query.mst.GoodsSkuQuery;
import com.dk.mdm.model.query.mst.RoleQuery;
import com.dk.mdm.model.response.mst.GoodsSkuResponse;
import com.dk.mdm.model.response.mst.RoleResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*  商品档案 Mapper
*/
@Repository
public interface GoodsSkuMapper extends BaseMapper<GoodsSku>{
    /**
     * @desc   : 根据条件进行查询
     * @author : 于继渤
     * @date : 2024/2/26 10:36
     */
    List<GoodsSkuResponse> selectByCond(GoodsSkuQuery goodsSkuQuery);

    /**
     * @desc   : 根据条件进行查询（数量）
     * @author : 于继渤
     * @date : 2024/2/26 10:36
     */
    Long countByCond(GoodsSkuQuery goodsSkuQuery);
}

