| | |
| | | BeanMap.create(queryObj).putAll(conditionMap); |
| | | List<BtmType> list = btmTypeService.list(Condition.getQueryWrapper(queryObj).lambda().eq(BtmType::getBizDomain, domainValue).orderByAsc(BtmType::getId)); |
| | | if (CollectionUtils.isEmpty(list)){ |
| | | return R.data(null); |
| | | return R.data(new ArrayList<>()); |
| | | } |
| | | return R.data(BtmTypeWrapper.build().listEntityVO(list)); |
| | | } |
| | |
| | | ).orElseGet(ArrayList::new) |
| | | ); |
| | | if (CollectionUtils.isEmpty(voList)){ |
| | | return R.data(null); |
| | | return R.data(new ArrayList<>(),"暂无数据承载!"); |
| | | } |
| | | return R.data(voList); |
| | | } |
| | |
| | | ) |
| | | ).orElseGet(ArrayList::new) |
| | | ); |
| | | if (CollectionUtils.isEmpty(voList)){ |
| | | return R.data(null); |
| | | } |
| | | return R.data(voList); |
| | | } |
| | | |