ElectronicMembershipCardService.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package com.platform.yijia.service;
  2. import com.platform.yijia.pojo.CustomerCardSetting;
  3. import com.platform.yijia.pojo.CustomerCardUseRecord;
  4. import com.platform.yijia.pojo.CustomerElectronicCard;
  5. import java.util.List;
  6. public interface ElectronicMembershipCardService {
  7. //获取用户储蓄卡列表
  8. List<CustomerElectronicCard> getElectronicCardListBycardOilsTypeArray(CustomerElectronicCard customerElectronicCard);
  9. //获取用户储蓄卡列表
  10. List<CustomerElectronicCard> getElectronicCardList(CustomerElectronicCard customerElectronicCard);
  11. //获取用要充值电子会员卡的信息
  12. CustomerElectronicCard getElectronicCardInfo(CustomerElectronicCard customerElectronicCard);
  13. //更新电子会员卡信息
  14. void updateElectronicCardInfo(CustomerElectronicCard customerElectronicCard);
  15. //新增电子会员卡充值使用记录
  16. void insetCardUseRecordRecharge(CustomerCardUseRecord customerCardUseRecord);
  17. //新增电子会员卡消费使用记录
  18. void insetCardUseRecordConsumption(CustomerCardUseRecord customerCardUseRecord);
  19. //获取用户储蓄卡的使用记录
  20. List<CustomerCardUseRecord> getCardUseRecordList(CustomerCardUseRecord customerCardUseRecord);
  21. //根据订单号查询电子会员卡的充值记录信息
  22. CustomerCardUseRecord getCardRecordByOrderNo(CustomerCardUseRecord customerCardUseRecord);
  23. //根据unionId和油站更新客户余额
  24. void updateElectronicCardInfoByUnionId(CustomerElectronicCard customerElectronicCard);
  25. //根据订单号更新用户充值记录的状态
  26. void updateCardRecordStatusByOrderNo(CustomerCardUseRecord customerCardUseRecord);
  27. //查询油站电子会员卡(储蓄卡)充值设置规则
  28. List<CustomerCardSetting> getCardRechargeSettingList(CustomerCardSetting customerCardSetting);
  29. //查询油站的会员卡启用标识 (1、启动 2,停用)
  30. String getStationCardEnabledFlag(Integer stationId);
  31. //根据unionId和油站ID获取用户用要充值电子会员卡(储蓄卡)信息
  32. CustomerElectronicCard getElectronicCardInfoByUnionId(CustomerElectronicCard customerElectronicCard);
  33. //插入电子会员卡
  34. void insetElectronicCard(CustomerElectronicCard customerElectronicCard);
  35. //根据小程序用户openId查询客户电子会员卡信息-
  36. CustomerElectronicCard getElectronicCardInfoByMinaOpenId(CustomerElectronicCard customerElectronicCard);
  37. }