GoodsSpecificationDao.java 498 B

1234567891011121314151617181920212223
  1. package com.kmall.admin.dao;
  2. import com.kmall.admin.entity.GoodsSpecificationEntity;
  3. import com.kmall.manager.dao.BaseDao;
  4. /**
  5. * 商品对应规格表值表Dao
  6. *
  7. * @author Scott
  8. * @email
  9. * @date 2017-08-31 11:15:55
  10. */
  11. public interface GoodsSpecificationDao extends BaseDao<GoodsSpecificationEntity> {
  12. /**
  13. * 根据商品ID删除
  14. *
  15. * @param goodsId
  16. * @return
  17. */
  18. int deleteByGoodsId(Long goodsId);
  19. GoodsSpecificationEntity queryByGoodsId(Long goodsId);
  20. }