Commit f0515a1c authored by chenzhao's avatar chenzhao

修改bug

parent 3f16f65c
......@@ -521,7 +521,7 @@ public class TopographyController extends AbstractBaseController {
wrapper.orderByDesc("create_date");
List<EquipmentSpecificAlarm> list = equipmentSpecificAlarmService.getBaseMapper().selectList(wrapper);
EquipmentSpecificAlarm alarm;
if (0 > list.size()) {
if (0 < list.size()) {
alarm = list.get(0);
equipmentSpecific.setStatus(alarm.getStatus());
} else {
......
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