package com.kmall.admin.dao;

import com.kmall.admin.entity.GoodsAttributeEntity;
import com.kmall.manager.dao.BaseDao;

/**
 * @author Scott
 * @email
 * @date 2017-08-13 10:41:08
 */
public interface GoodsAttributeDao extends BaseDao<GoodsAttributeEntity> {

    int updateByGoodsIdAttributeId(GoodsAttributeEntity goodsAttributeEntity);

    /**
     * 根据商品ID删除
     *
     * @param goodsId
     * @return
     */
    int deleteByGoodsId(Long goodsId);
}
