gao
2020-05-28 8a05cccf8e02b4f32a30dd207dafce42d88132ed
会员
1 files deleted
4 files modified
27 ■■■■■ changed files
src/main/java/com/xcong/excoin/modules/platform/dao/PlatformBannerDao.java 4 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/platform/service/PlatformBannerService.java 4 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/platform/service/impl/PlatformBannerServiceImpl.java 6 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/home/MemberPaymentMethodDao.xml 9 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/member/MemberPaymentMethodDao.xml 4 ●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/platform/dao/PlatformBannerDao.java
@@ -1,9 +1,9 @@
package com.xcong.excoin.modules.platform.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity;
import com.xcong.excoin.modules.platform.entity.PlatformBannerEntity;
public interface PlatformBannerDao extends BaseMapper<PlatformPaymentMethodEntity> {
public interface PlatformBannerDao extends BaseMapper<PlatformBannerEntity> {
    
}
src/main/java/com/xcong/excoin/modules/platform/service/PlatformBannerService.java
@@ -2,9 +2,9 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.xcong.excoin.common.response.Result;
import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity;
import com.xcong.excoin.modules.platform.entity.PlatformBannerEntity;
public interface PlatformBannerService extends IService<PlatformPaymentMethodEntity> {
public interface PlatformBannerService extends IService<PlatformBannerEntity> {
    public Result findAll();
    
src/main/java/com/xcong/excoin/modules/platform/service/impl/PlatformBannerServiceImpl.java
@@ -9,12 +9,14 @@
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xcong.excoin.common.response.Result;
import com.xcong.excoin.modules.platform.dao.PlatformBannerDao;
import com.xcong.excoin.modules.platform.dao.PlatformPaymentMethodDao;
import com.xcong.excoin.modules.platform.entity.PlatformBannerEntity;
import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity;
import com.xcong.excoin.modules.platform.service.PlatformPaymentMethodService;
import com.xcong.excoin.modules.platform.service.PlatformBannerService;
@Service
public class PlatformBannerServiceImpl extends ServiceImpl<PlatformPaymentMethodDao, PlatformPaymentMethodEntity> implements PlatformPaymentMethodService{
public class PlatformBannerServiceImpl extends ServiceImpl<PlatformBannerDao, PlatformBannerEntity> implements PlatformBannerService{
    @Resource
    PlatformPaymentMethodDao platformPaymentMethodDao;
    
src/main/resources/mapper/home/MemberPaymentMethodDao.xml
File was deleted
src/main/resources/mapper/member/MemberPaymentMethodDao.xml
@@ -2,5 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.xcong.excoin.modules.member.dao.MemberPaymentMethodDao">
     
    <select id="selectByMemberId" resultType="com.xcong.excoin.modules.member.entity.MemberPaymentMethodEntity">
        SELECT a.* FROM member_payment_method a WHERE a.member_id = #{memberId}
    </select>
</mapper>