Commit ca07c0f8 authored by maoying's avatar maoying

修改数字换流站装备数据同步接口传参

parent 22007216
...@@ -136,7 +136,7 @@ public class EquipmentDetailController extends AbstractBaseController { ...@@ -136,7 +136,7 @@ public class EquipmentDetailController extends AbstractBaseController {
// 编辑同步redis装备iotcode数据 // 编辑同步redis装备iotcode数据
syncDataService.saveOrUpdateEquipIotCodeRedisData(null); syncDataService.saveOrUpdateEquipIotCodeRedisData(null);
if (syncSwitch) { if (syncSwitch) {
equipmentSpecificSerivce.equipSpecificDataSync(equipmentId); equipmentSpecificSerivce.equipSpecificDataSync(date.getEquipmentSpecific().getId());
} }
return date; return date;
} }
...@@ -243,7 +243,7 @@ public class EquipmentDetailController extends AbstractBaseController { ...@@ -243,7 +243,7 @@ public class EquipmentDetailController extends AbstractBaseController {
// 编辑同步redis装备iotcode数据 // 编辑同步redis装备iotcode数据
syncDataService.saveOrUpdateEquipIotCodeRedisData(null); syncDataService.saveOrUpdateEquipIotCodeRedisData(null);
if (syncSwitch) { if (syncSwitch) {
equipmentSpecificSerivce.equipSpecificDataSync(bean.getEquipmentId()); equipmentSpecificSerivce.equipSpecificDataSync(equipmentSpecific.getId());
} }
return equipmentDate; return equipmentDate;
} }
......
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