Merge branch 'develop_3' into 'develop_master'
企标详情 属性字典查询为空时,使用其本身数值 See merge request LiuChao/foton-slrs-system-rest!359
This commit is contained in:
+7
-1
@@ -830,7 +830,13 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
value = entry.getValue().toString();
|
value = entry.getValue().toString();
|
||||||
List<String> valArr = Arrays.asList(value.split(","));
|
List<String> valArr = Arrays.asList(value.split(","));
|
||||||
value = dicTypeEODao.getDicNamesByCodes(valArr);
|
value = dicTypeEODao.getDicNamesByCodes(valArr);
|
||||||
entry.setValue(value);
|
|
||||||
|
Optional.ofNullable(value)
|
||||||
|
.ifPresent(val->{
|
||||||
|
entry.setValue(val);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user