xiaoyong931011
2020-07-10 f8619e5273d33398a58b367b0ac600c7d2672538
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.PlatformNoticeDao;
import com.xcong.excoin.modules.platform.entity.PlatformNoticeEntity;
import com.xcong.excoin.modules.platform.service.PlatformNoticeService;
 
@Service
public class PlatformNoticeServiceImpl extends ServiceImpl<PlatformNoticeDao, PlatformNoticeEntity> implements PlatformNoticeService {
 
    @Resource
    PlatformNoticeDao platformNoticeDao;
    
    @Override
    public Result findPlatformNoticeList() {
        QueryWrapper<PlatformNoticeEntity> queryWrapper = new QueryWrapper<>();
        List<PlatformNoticeEntity> paymentMethodList = platformNoticeDao.selectList(queryWrapper);
        return Result.ok(paymentMethodList);
    }
 
}