Commit 939eef5b by 杨林龙

1.23.0 开发车辆管理/车辆列表/“编辑”页面中支持继续新增设备的需求

1 parent 98173b31
......@@ -1437,7 +1437,7 @@ public class VehicleService extends AbstractCommonService {
List<SimpleDeviceItem> devices = Lists.newArrayList();
vehicleInfoVo.getDeviceInfoDtos().forEach(device -> {
// 只有工单正常激活的才校验设备组合类型
if (device.getActiveFlag().equals(ActiveFlagEnum.WORKORDER_ACTIVE.getCode())) {
if (ActiveFlagEnum.WORKORDER_ACTIVE.getCode().equals(device.getActiveFlag())) {
SimpleDeviceItem item = new SimpleDeviceItem();
item.setSn(device.getSn());
item.setModel(device.getDeviceClassifyName());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!