|
|
@@ -42,7 +42,7 @@ public class SysDictItemService {
|
|
|
*/
|
|
|
public PageRes<SysDictItemVo> list(Long dictId, BasePara basePara) {
|
|
|
PageHelper.startPage(basePara.getPage(), basePara.getPageSize());
|
|
|
- List<SysDictItem> sysDictItems = sysDictItemMapper.selectList(new LambdaQueryWrapper<SysDictItem>().eq(SysDictItem::getDictId, dictId).eq(SysDictItem::getDelFlag, Global.UN_DEL));
|
|
|
+ List<SysDictItem> sysDictItems = sysDictItemMapper.query(dictId, basePara);
|
|
|
if (CollectionUtils.isEmpty(sysDictItems)) {
|
|
|
return new PageRes<>(basePara.getPage(), basePara.getPageSize());
|
|
|
}
|