1
0

GoodsHistoryPriceService.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package com.kmall.admin.service;
  2. import com.kmall.admin.entity.GoodsHistoryPriceEntity;
  3. import com.kmall.admin.entity.OrderGoodsEntity;
  4. import java.util.List;
  5. import java.util.Map;
  6. /**
  7. * 商品历史价格表Service接口
  8. *
  9. * @author emato
  10. * @email admin@qhdswl.com
  11. * @date 2020-06-13 12:29:09
  12. */
  13. public interface GoodsHistoryPriceService {
  14. /**
  15. * 根据主键查询实体
  16. *
  17. * @param id 主键
  18. * @return 实体
  19. */
  20. GoodsHistoryPriceEntity queryObject(Integer id);
  21. /**
  22. * 分页查询
  23. *
  24. * @param map 参数
  25. * @return list
  26. */
  27. List<OrderGoodsEntity> queryList(Map<String, Object> map);
  28. /**
  29. * 分页统计总数
  30. *
  31. * @param map 参数
  32. * @return 总数
  33. */
  34. int queryTotal(Map<String, Object> map);
  35. /**
  36. * 保存实体
  37. *
  38. * @param goodsHistoryPrice 实体
  39. * @return 保存条数
  40. */
  41. int save(GoodsHistoryPriceEntity goodsHistoryPrice);
  42. /**
  43. * 根据主键更新实体
  44. *
  45. * @param goodsHistoryPrice 实体
  46. * @return 更新条数
  47. */
  48. int update(GoodsHistoryPriceEntity goodsHistoryPrice);
  49. /**
  50. * 根据主键删除
  51. *
  52. * @param id
  53. * @return 删除条数
  54. */
  55. int delete(Integer id);
  56. /**
  57. * 根据主键批量删除
  58. *
  59. * @param ids
  60. * @return 删除条数
  61. */
  62. int deleteBatch(Integer[] ids);
  63. }