侧防code查询
This commit is contained in:
parent
3a52cbc4e4
commit
32b2bb7516
@ -42,6 +42,9 @@ public class DraftMapFlankProtectionServiceImpl implements DraftMapFlankProtecti
|
|||||||
if (StringUtils.hasText(queryVO.getName())) {
|
if (StringUtils.hasText(queryVO.getName())) {
|
||||||
criteria.andNameLike(String.format("%%%s%%", queryVO.getName()));
|
criteria.andNameLike(String.format("%%%s%%", queryVO.getName()));
|
||||||
}
|
}
|
||||||
|
if (StringUtils.hasText(queryVO.getCode())) {
|
||||||
|
criteria.andCodeLike(String.format("%%%s%%", queryVO.getCode()));
|
||||||
|
}
|
||||||
Page<DraftMapRouteFlankProtection> fpPageList = (Page<DraftMapRouteFlankProtection>) this.draftMapRouteFlankProtectionDAO.selectByExample(example);
|
Page<DraftMapRouteFlankProtection> fpPageList = (Page<DraftMapRouteFlankProtection>) this.draftMapRouteFlankProtectionDAO.selectByExample(example);
|
||||||
return PageVO.convert(fpPageList, MapRouteFlankProtectionNewVO.convert2VOList(fpPageList.getResult()));
|
return PageVO.convert(fpPageList, MapRouteFlankProtectionNewVO.convert2VOList(fpPageList.getResult()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user