package com.kmall.admin.dao;

import com.kmall.admin.entity.BrandEntity;
import com.kmall.manager.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Dao
 *
 * @author Scott
 * @email
 * @date 2017-08-19 17:59:15
 */
public interface BrandDao extends BaseDao<BrandEntity> {
    BrandEntity queryObjectByName(@Param("brandName")String brandName,@Param("merchSn")String merchSn);
    List<BrandEntity> queryObjectByStoreId(@Param("storeId") Long storeId);
    BrandEntity queryBrandByBrandNameAndStoreId(@Param("brandName")String brandName,@Param("storeId") Long storeId);
}
