提交 d54ea284 authored 作者: zhoushaopan's avatar zhoushaopan

fix(装备模块): 修改模糊查询序列号

修改模糊查询序列号
上级 c2559c82
...@@ -1593,7 +1593,7 @@ public class DeviceLibraryServiceImpl implements DeviceLibraryService { ...@@ -1593,7 +1593,7 @@ public class DeviceLibraryServiceImpl implements DeviceLibraryService {
predicateBuilder.eq(deviceLibrarySelectVo.getStorageLocationId() != null,"storageLocationId",deviceLibrarySelectVo.getStorageLocationId()); predicateBuilder.eq(deviceLibrarySelectVo.getStorageLocationId() != null,"storageLocationId",deviceLibrarySelectVo.getStorageLocationId());
//新增装备的形态 //新增装备的形态
predicateBuilder.eq(deviceLibrarySelectVo.getType() != null,"type",deviceLibrarySelectVo.getType()); predicateBuilder.eq(deviceLibrarySelectVo.getType() != null,"type",deviceLibrarySelectVo.getType());
predicateBuilder.eq(deviceLibrarySelectVo.getSeqNumber() != null,"seqNumber",deviceLibrarySelectVo.getSeqNumber()); predicateBuilder.like(deviceLibrarySelectVo.getSeqNumber() != null,"seqNumber","%"+deviceLibrarySelectVo.getSeqNumber()+"%");
List<Integer> storageLocationIds = deviceLibrarySelectVo.getStorageLocationIds(); List<Integer> storageLocationIds = deviceLibrarySelectVo.getStorageLocationIds();
if (storageLocationIds != null && storageLocationIds.size()>0){ if (storageLocationIds != null && storageLocationIds.size()>0){
predicateBuilder.in("storageLocationId", predicateBuilder.in("storageLocationId",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论