| | |
| | | @Service
|
| | | public class PlatformBannerServiceImpl extends ServiceImpl<PlatformBannerDao, PlatformBannerEntity> implements PlatformBannerService{
|
| | | @Resource
|
| | | PlatformPaymentMethodDao platformPaymentMethodDao;
|
| | | PlatformBannerDao platformBannerDao;
|
| | |
|
| | | @Override
|
| | | public Result findAll() {
|
| | | QueryWrapper<PlatformPaymentMethodEntity> queryWrapper = new QueryWrapper<>();
|
| | | List<PlatformPaymentMethodEntity> paymentMethodList = platformPaymentMethodDao.selectList(queryWrapper);
|
| | | QueryWrapper<PlatformBannerEntity> queryWrapper = new QueryWrapper<>();
|
| | | List<PlatformBannerEntity> paymentMethodList = platformBannerDao.selectList(queryWrapper);
|
| | | return Result.ok(paymentMethodList);
|
| | | }
|
| | |
|