|
|
@ -64,6 +64,9 @@ public class MainWorkBenchServiceImpl extends BaseServiceImpl<MainWorkBenchMappe |
|
|
|
if (StringUtils.isNotEmpty(req.getRefTerminal())) { |
|
|
|
if (StringUtils.isNotEmpty(req.getRefTerminal())) { |
|
|
|
eq(MainWorkBenchEntity::getRefTerminal, req.getRefTerminal()); |
|
|
|
eq(MainWorkBenchEntity::getRefTerminal, req.getRefTerminal()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(req.getRefDept())) { |
|
|
|
|
|
|
|
like(MainWorkBenchEntity::getRefDept, "%".concat(req.getRefDept()).concat("%")); |
|
|
|
|
|
|
|
} |
|
|
|
}}.orderByAsc(MainWorkBenchEntity::getType).orderByAsc(MainWorkBenchEntity::getOrd); |
|
|
|
}}.orderByAsc(MainWorkBenchEntity::getType).orderByAsc(MainWorkBenchEntity::getOrd); |
|
|
|
IPage<MainWorkBenchEntity> pages = super.page(Condition.getPage(query), lambdaQueryWrapper); |
|
|
|
IPage<MainWorkBenchEntity> pages = super.page(Condition.getPage(query), lambdaQueryWrapper); |
|
|
|
IPage<MainWorkBenchVO> vos = MainWorkBenchWrapper.builder().pageVO(pages); |
|
|
|
IPage<MainWorkBenchVO> vos = MainWorkBenchWrapper.builder().pageVO(pages); |
|
|
|