From 06ccd882e48b982cf29dfd3ff17066d261403324 Mon Sep 17 00:00:00 2001 From: gao <gaoleox@163> Date: Thu, 28 May 2020 16:51:53 +0800 Subject: [PATCH] 移除重复的会员收款方式类 --- src/main/java/com/xcong/excoin/modules/home/service/impl/MemberQuickBuySaleServiceImpl.java | 4 +- src/main/java/com/xcong/excoin/modules/platform/dao/PlatformCnyUsdtExchangeDao.java | 3 - /dev/null | 60 ------------------------------ src/main/java/com/xcong/excoin/modules/member/dao/MemberPaymentMethodDao.java | 3 + 4 files changed, 5 insertions(+), 65 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/home/dao/MemberPaymentMethodDao.java b/src/main/java/com/xcong/excoin/modules/home/dao/MemberPaymentMethodDao.java deleted file mode 100644 index 7a45a09..0000000 --- a/src/main/java/com/xcong/excoin/modules/home/dao/MemberPaymentMethodDao.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.xcong.excoin.modules.home.dao; - -import java.util.List; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.xcong.excoin.modules.home.entity.MemberPaymentMethodEntity; - -public interface MemberPaymentMethodDao extends BaseMapper<MemberPaymentMethodEntity> { - - public List<MemberPaymentMethodEntity> selectByMemberId(Long memberId); -} diff --git a/src/main/java/com/xcong/excoin/modules/home/entity/MemberPaymentMethodEntity.java b/src/main/java/com/xcong/excoin/modules/home/entity/MemberPaymentMethodEntity.java deleted file mode 100644 index 29e3e3e..0000000 --- a/src/main/java/com/xcong/excoin/modules/home/entity/MemberPaymentMethodEntity.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.xcong.excoin.modules.home.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.xcong.excoin.common.system.base.BaseEntity; - -import lombok.Data; -import lombok.EqualsAndHashCode; - -@EqualsAndHashCode(callSuper = true) -@Data -@TableName("member_payment_method") -public class MemberPaymentMethodEntity extends BaseEntity{ - /** - * 付款方式:支付宝 - */ - public static String PAYMENT_TYPE_ALIPAY = "1"; - /** - * 付款方式:微信 - */ - public static String PAYMENT_TYPE_WEPAY = "2"; - /** - * 付款方式:银行卡 - */ - public static String PAYMENT_TYPE_BANK = "3"; - - private static final long serialVersionUID = 1L; - /** - * 用户Id - */ - private Long memberId; - /** - * 姓名 - */ - private String name; - /** - * 账号 - */ - private String account; - /** - * 收款二维码 - */ - private String paymentQrcode; - /** - * 银行 - */ - private String bank; - /** - * 支行 - */ - private String subBank; - /** - * 类型 1-支付宝2-微信3-银行卡 - */ - private String paymentType; - /** - * 默认收款方式 - */ - private int isDefualt; - -} diff --git a/src/main/java/com/xcong/excoin/modules/home/service/impl/MemberQuickBuySaleServiceImpl.java b/src/main/java/com/xcong/excoin/modules/home/service/impl/MemberQuickBuySaleServiceImpl.java index 7dbddec..401e7ac 100644 --- a/src/main/java/com/xcong/excoin/modules/home/service/impl/MemberQuickBuySaleServiceImpl.java +++ b/src/main/java/com/xcong/excoin/modules/home/service/impl/MemberQuickBuySaleServiceImpl.java @@ -15,19 +15,19 @@ import com.xcong.excoin.common.LoginUserUtils; import com.xcong.excoin.common.enumerates.CoinTypeEnum; import com.xcong.excoin.common.response.Result; -import com.xcong.excoin.modules.home.dao.MemberPaymentMethodDao; import com.xcong.excoin.modules.home.dao.MemberQuickBuySaleDao; import com.xcong.excoin.modules.home.dto.MemberQuickBuySaleCommitDto; import com.xcong.excoin.modules.home.dto.MemberQuickBuySaleDto; -import com.xcong.excoin.modules.home.entity.MemberPaymentMethodEntity; import com.xcong.excoin.modules.home.entity.MemberQuickBuySaleEntity; import com.xcong.excoin.modules.home.mapper.MemberQuickBuySaleEntityMapper; import com.xcong.excoin.modules.home.service.MemberQuickBuySaleService; import com.xcong.excoin.modules.home.vo.MemberQuickBuySaleDetailVo; import com.xcong.excoin.modules.home.vo.MemberQuickBuySaleVo; import com.xcong.excoin.modules.member.dao.MemberDao; +import com.xcong.excoin.modules.member.dao.MemberPaymentMethodDao; import com.xcong.excoin.modules.member.dao.MemberWalletCoinDao; import com.xcong.excoin.modules.member.entity.MemberEntity; +import com.xcong.excoin.modules.member.entity.MemberPaymentMethodEntity; import com.xcong.excoin.modules.member.entity.MemberWalletCoinEntity; import com.xcong.excoin.modules.platform.dao.PlatformPaymentMethodDao; import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity; diff --git a/src/main/java/com/xcong/excoin/modules/member/dao/MemberPaymentMethodDao.java b/src/main/java/com/xcong/excoin/modules/member/dao/MemberPaymentMethodDao.java index 449443d..1aaebf2 100644 --- a/src/main/java/com/xcong/excoin/modules/member/dao/MemberPaymentMethodDao.java +++ b/src/main/java/com/xcong/excoin/modules/member/dao/MemberPaymentMethodDao.java @@ -1,8 +1,11 @@ package com.xcong.excoin.modules.member.dao; +import java.util.List; + import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xcong.excoin.modules.member.entity.MemberPaymentMethodEntity; public interface MemberPaymentMethodDao extends BaseMapper<MemberPaymentMethodEntity> { + public List<MemberPaymentMethodEntity> selectByMemberId(Long memberId); } diff --git a/src/main/java/com/xcong/excoin/modules/platform/dao/PlatformCnyUsdtExchangeDao.java b/src/main/java/com/xcong/excoin/modules/platform/dao/PlatformCnyUsdtExchangeDao.java index 91aeda2..2bd4e0f 100644 --- a/src/main/java/com/xcong/excoin/modules/platform/dao/PlatformCnyUsdtExchangeDao.java +++ b/src/main/java/com/xcong/excoin/modules/platform/dao/PlatformCnyUsdtExchangeDao.java @@ -1,9 +1,6 @@ package com.xcong.excoin.modules.platform.dao; -import java.util.List; - import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.xcong.excoin.modules.home.entity.MemberPaymentMethodEntity; import com.xcong.excoin.modules.platform.entity.PlatformCnyUsdtExchangeEntity; public interface PlatformCnyUsdtExchangeDao extends BaseMapper<PlatformCnyUsdtExchangeEntity> { -- Gitblit v1.9.1