PinganResponseService.java 1.3 KB

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