|
|
@@ -205,7 +205,9 @@ public class IsIsolationPointServiceImpl extends ServiceImpl<IsIsolationPointMap
|
|
|
if (!switchStatusList.isEmpty() && !isIsolationPointPage.getRecords().isEmpty()) {
|
|
|
for (PointPageVO pointPageVO : isIsolationPointPage.getRecords()) {
|
|
|
for (UpdateSwitchStatusDTO updateSwitchStatusDTO : switchStatusList) {
|
|
|
- if (pointPageVO.getPointNfc().equals(updateSwitchStatusDTO.getPointNfc())) {
|
|
|
+ if (StringUtils.isNotBlank(pointPageVO.getPointNfc())
|
|
|
+ && StringUtils.isNotBlank(updateSwitchStatusDTO.getPointNfc())
|
|
|
+ && pointPageVO.getPointNfc().equals(updateSwitchStatusDTO.getPointNfc())) {
|
|
|
pointPageVO.setSwitchStatus(updateSwitchStatusDTO.getSwitchStatus());
|
|
|
pointPageVO.setSwitchLastUpdateTime(updateSwitchStatusDTO.getSwitchLastUpdateTime());
|
|
|
}
|