package com.dk.mdm.mapper.mst;

import com.dk.mdm.model.pojo.mst.GoodsBrand;
import com.dk.common.mapper.BaseMapper;
import com.dk.mdm.model.pojo.mst.Role;
import com.dk.mdm.model.query.mst.GoodsBrandQuery;
import com.dk.mdm.model.response.mst.GoodsBrandResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*  商品品牌 Mapper
*/
@Repository
public interface GoodsBrandMapper extends BaseMapper<GoodsBrand>{

    /**
     * @desc   : 根据条件进行查询
     * @author : 于继渤
     * @date : 2024/2/26 10:36
     */
    List<GoodsBrandResponse> selectByCond(GoodsBrandQuery goodsBrandQuery);

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

    Integer saveSupplierBrand(String supId,String brandId);
}

