1
0

MerchantBaseMapper.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.emato.biz.mapper.merchant;
  2. import java.util.List;
  3. import com.emato.biz.domain.merchant.MerchantBase;
  4. /**
  5. * 商户基本信息Mapper接口
  6. *
  7. * @author yangbo
  8. * @date 2021-02-01
  9. */
  10. public interface MerchantBaseMapper
  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 merchSn 商户基本信息ID
  44. * @return 结果
  45. */
  46. public int deleteMerchantBaseById(String merchSn);
  47. /**
  48. * 批量删除商户基本信息
  49. *
  50. * @param merchSns 需要删除的数据ID
  51. * @return 结果
  52. */
  53. public int deleteMerchantBaseByIds(String[] merchSns);
  54. }