|
|
@ -97,7 +97,7 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn |
|
|
|
throw new ServiceException("创建/修改站点信息失败!"); |
|
|
|
throw new ServiceException("创建/修改站点信息失败!"); |
|
|
|
}); |
|
|
|
}); |
|
|
|
// 如果设备数据来源未选定其他 则进行站点初始化操作
|
|
|
|
// 如果设备数据来源未选定其他 则进行站点初始化操作
|
|
|
|
if (!StationConstants.HZ3000_OTHER.equals(req.getDataSource())) { |
|
|
|
if (!(StationConstants.FILL.equals(req.getDataOrigin()) || StationConstants.HZ3000_OTHER.equals(req.getDataSource()))) { |
|
|
|
new Thread(() -> questionClient.submitStationInfo(req.getCode(), ""), "智能诊断站点推送").start(); |
|
|
|
new Thread(() -> questionClient.submitStationInfo(req.getCode(), ""), "智能诊断站点推送").start(); |
|
|
|
new Thread(() -> this.instanceProject(req), "新建项目").start(); |
|
|
|
new Thread(() -> this.instanceProject(req), "新建项目").start(); |
|
|
|
} |
|
|
|
} |
|
|
|