| | |
| | | if(StringUtils.isBlank(solutionsBase.getName())|| |
| | | StringUtils.isBlank(solutionsBase.getCompanyName()) |
| | | || Objects.isNull(solutionsBase.getValidType()) |
| | | || Objects.isNull(solutionsBase.getCanAdd()) |
| | | || Objects.isNull(solutionsBase.getCanReduce()) |
| | | || Objects.isNull(solutionsBase.getCanChangeUnit()) |
| | | || Objects.isNull(solutionsBase.getDelOnlyReplace()) |
| | | // || Objects.isNull(solutionsBase.getCanAdd()) |
| | | // || Objects.isNull(solutionsBase.getCanReduce()) |
| | | // || Objects.isNull(solutionsBase.getCanChangeUnit()) |
| | | // || Objects.isNull(solutionsBase.getDelOnlyReplace()) |
| | | || Objects.isNull(solutionsBase.getAddValidDays()) |
| | | || Objects.isNull(solutionsBase.getDelValidDays()) |
| | | || Objects.isNull(solutionsBase.getInsuranceId()) |
| | |
| | | @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()); |