设备管理
This commit is contained in:
parent
4f04b702ea
commit
f8bea11e1c
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue