package com.xcong.excoin.modules.platform.service.impl;
|
|
import java.util.List;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
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.PlatformPaymentMethodDao;
|
import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity;
|
import com.xcong.excoin.modules.platform.service.PlatformPaymentMethodService;
|
|
@Service
|
public class PlatformPaymentMethodServiceImpl extends ServiceImpl<PlatformPaymentMethodDao, PlatformPaymentMethodEntity> implements PlatformPaymentMethodService{
|
@Resource
|
PlatformPaymentMethodDao platformPaymentMethodDao;
|
|
@Override
|
public Result findAll() {
|
QueryWrapper<PlatformPaymentMethodEntity> queryWrapper = new QueryWrapper<>();
|
List<PlatformPaymentMethodEntity> paymentMethodList = platformPaymentMethodDao.selectList(queryWrapper);
|
return Result.ok(paymentMethodList);
|
}
|
|
}
|