IMerchantBaseService.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.emato.biz.service.merchant;
  2. import java.util.List;
  3. import com.emato.biz.domain.merchant.MerchantBase;
  4. /**
  5. * 商户基本信息Service接口
  6. *
  7. * @author scott
  8. * @date 2021-02-01
  9. */
  10. public interface IMerchantBaseService
  11. {
  12. /**
  13. * 查询商户基本信息
  14. *
  15. * @param merchSn 商户基本信息ID
  16. * @return 商户基本信息
  17. */
  18. public MerchantBase selectMerchantBaseById(String merchSn);
  19. /**
  20. * 查询商户基本信息列表
  21. *
  22. * @param merchantBase 商户基本信息
  23. * @return 商户基本信息集合
  24. */
  25. public List<MerchantBase> selectMerchantBaseList(MerchantBase merchantBase);
  26. /**
  27. * 新增商户基本信息
  28. *
  29. * @param merchantBase 商户基本信息
  30. * @return 结果
  31. */
  32. public int insertMerchantBase(MerchantBase merchantBase);
  33. /**
  34. * 修改商户基本信息
  35. *
  36. * @param merchantBase 商户基本信息
  37. * @return 结果
  38. */
  39. public int updateMerchantBase(MerchantBase merchantBase);
  40. /**
  41. * 批量删除商户基本信息
  42. *
  43. * @param merchSns 需要删除的商户基本信息ID
  44. * @return 结果
  45. */
  46. public int deleteMerchantBaseByIds(String[] merchSns);
  47. /**
  48. * 删除商户基本信息信息
  49. *
  50. * @param merchSn 商户基本信息ID
  51. * @return 结果
  52. */
  53. public int deleteMerchantBaseById(String merchSn);
  54. }