智能出入库秤
This commit is contained in:
parent
7a6de485a3
commit
ea1649d981
|
|
@ -263,7 +263,7 @@ public class KitchenDeviceInfoServiceImpl extends ServiceImpl<KitchenDeviceInfoM
|
|||
@Override
|
||||
public Map<Integer, String> deviceType() {
|
||||
Map<Integer, String> deviceMap = DeviceTypeEnum.toMap();
|
||||
String [] stringArray = new String[]{"摄像头","门禁","留样秤","留样柜","温湿度传感器","烟雾检测传感器","水表","电表","智能称重货架","智能厨余秤"};
|
||||
String [] stringArray = new String[]{"摄像头","门禁","留样秤","留样柜","温湿度传感器","烟雾检测传感器","水表","电表","智能出入库秤"};
|
||||
// 将 stringArray 转为 Set 便于快速查找
|
||||
Set<String> validValues = new HashSet<>(Arrays.asList(stringArray));
|
||||
// 使用 Stream 过滤,只保留 value 存在于 validValues 中的条目
|
||||
|
|
|
|||
Loading…
Reference in New Issue