package com.kmall.admin.dao;

import com.kmall.admin.entity.GoodsSpecificationEntity;
import com.kmall.common.dao.BaseDao;

/**
 * 商品对应规格表值表Dao
 *
 * @author Scott
 * @email
 * @date 2017-08-31 11:15:55
 */
public interface GoodsSpecificationDao extends BaseDao<GoodsSpecificationEntity> {
    /**
     * 根据商品ID删除
     *
     * @param goodsId
     * @return
     */
    int deleteByGoodsId(Long goodsId);

    GoodsSpecificationEntity queryByGoodsId(Long goodsId);
}
