设备管理

This commit is contained in:
mashuai 2024-10-18 09:31:11 +08:00
parent 4f04b702ea
commit f8bea11e1c
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class BmUnitController extends BaseController
.collect(Collectors.toMap(SysDictData::getDictValue, SysDictData::getDictLabel)); .collect(Collectors.toMap(SysDictData::getDictValue, SysDictData::getDictLabel));
// 更新 BmUnit 列表 // 更新 BmUnit 列表
list.forEach(unit -> { list.forEach(unit -> {
String typeName = dictMap.get(unit.getTypeId()); String typeName = dictMap.get(unit.getTypeId().toString());
if (typeName != null) { if (typeName != null) {
unit.setTypeName(typeName); unit.setTypeName(typeName);
} }