Commit daaeead9 authored by tianyiming's avatar tianyiming

Bug-9072

parent 864af93b
...@@ -132,7 +132,9 @@ public class EquipmentIndexController { ...@@ -132,7 +132,9 @@ public class EquipmentIndexController {
x.setEmergencyLevel("4"); x.setEmergencyLevel("4");
x.setEmergencyLevelDescribe("正常"); x.setEmergencyLevelDescribe("正常");
}); });
if(list.size() > 0){
carPropertyService.updateBatchById(list); carPropertyService.updateBatchById(list);
}
} else { } else {
LambdaUpdateWrapper<EquipmentSpecificIndex> equipWrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<EquipmentSpecificIndex> equipWrapper = new LambdaUpdateWrapper<>();
equipWrapper.eq(EquipmentSpecificIndex::getEquipmentIndexId, equipmentIndex.getId()); equipWrapper.eq(EquipmentSpecificIndex::getEquipmentIndexId, equipmentIndex.getId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment