Browse Source

#路由配置修改

zhongwei
yang_shj 1 year ago
parent
commit
97ade655a4
  1. 3
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/MainWorkBenchServiceImpl.java

3
hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/MainWorkBenchServiceImpl.java

@ -64,6 +64,9 @@ public class MainWorkBenchServiceImpl extends BaseServiceImpl<MainWorkBenchMappe
if (StringUtils.isNotEmpty(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);
IPage<MainWorkBenchEntity> pages = super.page(Condition.getPage(query), lambdaQueryWrapper);
IPage<MainWorkBenchVO> vos = MainWorkBenchWrapper.builder().pageVO(pages);

Loading…
Cancel
Save