| | |
| | | @Override |
| | | public List<SolutionsBase> findList(SolutionsBase solutionsBase) { |
| | | QueryWrapper<SolutionsBase> wrapper = new QueryWrapper<>(); |
| | | wrapper.lambda().select(SolutionsBase::getId,SolutionsBase::getName); |
| | | wrapper.lambda().eq(SolutionsBase::getDataType,Constants.ZERO); |
| | | wrapper.lambda().eq(SolutionsBase::getIsdeleted,Constants.ZERO); |
| | | return solutionsBaseMapper.selectList(wrapper); |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |
| | | public PageData<SolutionsBase> findPage(PageWrap<SolutionsBase> pageWrap) { |
| | | IPage<SolutionsBase> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |