CouponGoodsServiceImpl.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. package com.kmall.admin.service.impl;
  3. import com.kmall.admin.dao.CouponGoodsDao;
  4. import com.kmall.admin.entity.CouponGoodsEntity;
  5. import com.kmall.admin.service.CouponGoodsService;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.stereotype.Service;
  8. import java.util.List;
  9. import java.util.Map;
  10. */
  11. /**
  12. * 优惠券关联商品Service实现类
  13. *
  14. * @author Scott
  15. * @email
  16. * @date 2017-08-29 21:50:17
  17. *//*
  18. @Service("couponGoodsService")
  19. public class CouponGoodsServiceImpl implements CouponGoodsService {
  20. @Autowired
  21. private CouponGoodsDao couponGoodsDao;
  22. @Override
  23. public CouponGoodsEntity queryObject(Integer id) {
  24. return couponGoodsDao.queryObject(id);
  25. }
  26. @Override
  27. public List<CouponGoodsEntity> queryList(Map<String, Object> map) {
  28. return couponGoodsDao.queryList(map);
  29. }
  30. @Override
  31. public int queryTotal(Map<String, Object> map) {
  32. return couponGoodsDao.queryTotal(map);
  33. }
  34. @Override
  35. public int save(CouponGoodsEntity couponGoods) {
  36. return couponGoodsDao.save(couponGoods);
  37. }
  38. @Override
  39. public int update(CouponGoodsEntity couponGoods) {
  40. return couponGoodsDao.update(couponGoods);
  41. }
  42. @Override
  43. public int delete(Integer id) {
  44. return couponGoodsDao.delete(id);
  45. }
  46. @Override
  47. public int deleteBatch(Integer[]ids) {
  48. return couponGoodsDao.deleteBatch(ids);
  49. }
  50. }
  51. */