CouponGoodsService.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. package com.kmall.admin.service;
  3. import com.kmall.admin.entity.CouponGoodsEntity;
  4. import java.util.List;
  5. import java.util.Map;
  6. */
  7. /**
  8. * 优惠券关联商品Service接口
  9. *
  10. * @author Scott
  11. * @email
  12. * @date 2017-08-29 21:50:17
  13. *//*
  14. public interface CouponGoodsService {
  15. */
  16. /**
  17. * 根据主键查询实体
  18. *
  19. * @param id 主键
  20. * @return 实体
  21. *//*
  22. CouponGoodsEntity queryObject(Integer id);
  23. */
  24. /**
  25. * 分页查询
  26. *
  27. * @param map 参数
  28. * @return list
  29. *//*
  30. List<CouponGoodsEntity> queryList(Map<String, Object> map);
  31. */
  32. /**
  33. * 分页统计总数
  34. *
  35. * @param map 参数
  36. * @return 总数
  37. *//*
  38. int queryTotal(Map<String, Object> map);
  39. */
  40. /**
  41. * 保存实体
  42. *
  43. * @param couponGoods 实体
  44. * @return 保存条数
  45. *//*
  46. int save(CouponGoodsEntity couponGoods);
  47. */
  48. /**
  49. * 根据主键更新实体
  50. *
  51. * @param couponGoods 实体
  52. * @return 更新条数
  53. *//*
  54. int update(CouponGoodsEntity couponGoods);
  55. */
  56. /**
  57. * 根据主键删除
  58. *
  59. * @param id
  60. * @return 删除条数
  61. *//*
  62. int delete(Integer id);
  63. */
  64. /**
  65. * 根据主键批量删除
  66. *
  67. * @param ids
  68. * @return 删除条数
  69. *//*
  70. int deleteBatch(Integer[] ids);
  71. }
  72. */