GoodsSpecificationDao.java 601 B

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