package com.kmall.admin.dao;

import com.kmall.admin.entity.ProductStoreRelaEntity;
import org.apache.ibatis.annotations.Param;
import com.kmall.common.dao.BaseDao;

/**
 * Dao
 *
 * @author Scott
 * @email
 * @date 2017-12-27 19:12:46
 */
public interface ProductStoreRelaDao extends BaseDao<ProductStoreRelaEntity> {

    int deleteByGoodsId(Integer goodsId);

    ProductStoreRelaEntity queryByStoreIdProductId(@Param("storeId") Long storeId, @Param("productId") Long productId);
}
