关联平台件-法规清单模糊查询,英文提示语
This commit is contained in:
+5
-1
@@ -11619,8 +11619,12 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
||||
dutyTerritoryStr = dutyTerritorys.stream().map(SysDictItem::getItemValue).distinct().collect(Collectors.joining(","));
|
||||
}
|
||||
}
|
||||
|
||||
String serialNumber = projectLawsInventoryEO.getSerialNumber();
|
||||
projectLawsInventoryEO.setSerialNumber(null);
|
||||
QueryWrapper<ProjectLawsInventoryEO> queryWrapper = QueryGenerator.initQueryWrapper(projectLawsInventoryEO, req.getParameterMap());
|
||||
if(StringUtils.isNotBlank(serialNumber)){
|
||||
queryWrapper.lambda().like(ProjectLawsInventoryEO::getSerialNumber,serialNumber);
|
||||
}
|
||||
queryWrapper.orderByDesc("create_time","serial_number");
|
||||
|
||||
if (StringUtils.isNotEmpty(dutyTerritoryStr)) {
|
||||
|
||||
+14
-2
@@ -1367,10 +1367,16 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
||||
if(ObjectUtils.isEmpty(projectLawsInventoryEOS)){
|
||||
emptyList.add(projectLawsInventoryEO);
|
||||
}
|
||||
String msg = "";
|
||||
if(CutEnum.CN.getValue().equals(cut)){
|
||||
msg = "在平台件项目中包含多条匹配内容,请选择关联";
|
||||
}else{
|
||||
msg = " multiple matching contents are included in the platform component project, please select association";
|
||||
}
|
||||
|
||||
if(!projectLawsInventoryEOS.isEmpty() && projectLawsInventoryEOS.size() > 1){
|
||||
map.put("lawsInventoryId",projectLawsInventoryEO.getId());
|
||||
map.put("title",serialNumber+" "+dutyTerritoryNew+" "+subtitle+"在平台件项目中包含多条匹配内容,请选择关联");
|
||||
map.put("title",serialNumber+" "+dutyTerritoryNew+" "+subtitle+msg);
|
||||
map.put("result",projectLawsInventoryEOS);
|
||||
mapList.add(map);
|
||||
}else if(!projectLawsInventoryEOS.isEmpty() && projectLawsInventoryEOS.size() == 1){
|
||||
@@ -1526,10 +1532,16 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
||||
emptyList.add(projectLawsInventoryEO);
|
||||
}
|
||||
|
||||
String msg = "";
|
||||
if(CutEnum.CN.getValue().equals(cut)){
|
||||
msg = "在平台件项目中包含多条匹配内容,请选择关联";
|
||||
}else{
|
||||
msg = " multiple matching contents are included in the platform component project, please select association";
|
||||
}
|
||||
|
||||
if(!projectLawsInventoryEOS.isEmpty() && projectLawsInventoryEOS.size() > 1){
|
||||
map.put("lawsInventoryId",projectLawsInventoryEO.getId());
|
||||
map.put("title",serialNumber+" "+dutyTerritoryNew+" "+subtitle+"在平台件项目中包含多条匹配内容,请选择关联");
|
||||
map.put("title",serialNumber+" "+dutyTerritoryNew+" "+subtitle+msg);
|
||||
map.put("result",projectLawsInventoryEOS);
|
||||
mapList.add(map);
|
||||
}else if(!projectLawsInventoryEOS.isEmpty() && projectLawsInventoryEOS.size() == 1){
|
||||
|
||||
Reference in New Issue
Block a user