|
|
@ -105,7 +105,7 @@ public class MbpsService implements IMbpsService { |
|
|
|
if (ObjectUtil.isNotNull(fireAlarm)){ |
|
|
|
if (1 == fireAlarm){ |
|
|
|
fireOrFlood.setIsFire(true); |
|
|
|
fireOrFlood.setIsFlood(floodAlarm == 1); |
|
|
|
fireOrFlood.setIsFlood(1 == floodAlarm); |
|
|
|
fireOrFlood.setWarehouseName(warehouse.getName()); |
|
|
|
return fireOrFlood; |
|
|
|
} |
|
|
@ -113,7 +113,7 @@ public class MbpsService implements IMbpsService { |
|
|
|
if (ObjectUtil.isNotNull(floodAlarm)){ |
|
|
|
if (1 == floodAlarm){ |
|
|
|
fireOrFlood.setIsFlood(true); |
|
|
|
fireOrFlood.setIsFire(fireAlarm == 1); |
|
|
|
fireOrFlood.setIsFire(1 == fireAlarm); |
|
|
|
fireOrFlood.setWarehouseName(warehouse.getName()); |
|
|
|
return fireOrFlood; |
|
|
|
} |
|
|
|