Mall2PointsRulesDetilService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package com.kmall.admin.service.vip;
  2. import com.kmall.admin.dto.Mall2RulesDto;
  3. import com.kmall.admin.entity.vip.Mall2PointsRulesDetilEntity;
  4. import com.kmall.common.utils.R;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * 积分规则明细表Service接口
  9. *
  10. * @author emato
  11. * @email admin@qhdswl.com
  12. * @date 2022-04-12 15:05:12
  13. */
  14. public interface Mall2PointsRulesDetilService {
  15. /**
  16. * 根据主键查询实体
  17. *
  18. * @param id 主键
  19. * @return 实体
  20. */
  21. Mall2PointsRulesDetilEntity queryObject(Integer id);
  22. /**
  23. * 分页查询
  24. *
  25. * @param map 参数
  26. * @return list
  27. */
  28. List<Mall2PointsRulesDetilEntity> 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 Mall2RulesDto 实体
  40. * @return 保存条数
  41. */
  42. R save(Mall2RulesDto Mall2RulesDto);
  43. /**
  44. * 根据主键更新实体
  45. *
  46. * @param mall2RulesDto 实体
  47. * @return 更新条数
  48. */
  49. R update(Mall2RulesDto mall2RulesDto);
  50. /**
  51. * 根据主键删除
  52. *
  53. * @param id
  54. * @return 删除条数
  55. */
  56. int delete(Integer id);
  57. /**
  58. * 根据主键批量删除
  59. *
  60. * @param ids
  61. * @return 删除条数
  62. */
  63. int deleteBatch(Integer[]ids);
  64. Integer deleteByFatherId(Integer fatherId);
  65. }