Mk2GoodsTopicPriceService.java 1.5 KB

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