AddressInfoService.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package com.kmall.admin.service;
  2. import com.kmall.admin.entity.AddressInfoEntity;
  3. import com.kmall.admin.entity.ShopAndAddrVo;
  4. import com.kmall.admin.entity.shop.StoreAddrVo;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * 门店和快递关联表Service接口
  9. *
  10. * @author emato
  11. * @email admin@qhdswl.com
  12. * @date 2021-04-06 10:14:18
  13. */
  14. public interface AddressInfoService {
  15. /**
  16. * 根据主键查询实体
  17. *
  18. * @param id 主键
  19. * @return 实体
  20. */
  21. AddressInfoEntity queryObject(Integer id);
  22. AddressInfoEntity queryIds(ShopAndAddrVo shopAndAddrVo);
  23. /**
  24. * 分页查询
  25. *
  26. * @param map 参数
  27. * @return list
  28. */
  29. List<AddressInfoEntity> queryList(Map<String, Object> map);
  30. /**
  31. * 分页统计总数
  32. *
  33. * @param map 参数
  34. * @return 总数
  35. */
  36. int queryTotal(Map<String, Object> map);
  37. /**
  38. * 保存实体
  39. *
  40. * @param addressInfo 实体
  41. * @return 保存条数
  42. */
  43. int save(AddressInfoEntity addressInfo);
  44. int save(ShopAndAddrVo shopAndAddrVo);
  45. /**
  46. * 根据主键更新实体
  47. *
  48. * @param addressInfo 实体
  49. * @return 更新条数
  50. */
  51. int update(AddressInfoEntity addressInfo);
  52. int updateStatus(StoreAddrVo storeAddrVo);
  53. /**
  54. * 根据主键删除
  55. *
  56. * @param id
  57. * @return 删除条数
  58. */
  59. int delete(Integer id);
  60. /**
  61. * 根据主键批量删除
  62. *
  63. * @param ids
  64. * @return 删除条数
  65. */
  66. int deleteBatch(Integer[]ids);
  67. }