|
|
@ -37,7 +37,8 @@ func (the *InfoHandler) getStationInfo(p *common_models.ProcessData) *common_mod |
|
|
|
log.Printf("重获取设备[%s]的 DeviceStationObj", p.DeviceData.DeviceId) |
|
|
|
stationIds, err := the.configHelper.GetDeviceStationIds(p.DeviceData.DeviceId) |
|
|
|
if err != nil { |
|
|
|
log.Printf("GetDeviceStationIds err =>%s", err.Error()) |
|
|
|
log.Printf("err !!! GetDeviceStationIds =>%s", err.Error()) |
|
|
|
return p |
|
|
|
} |
|
|
|
p.Stations, err = the.configHelper.GetStations(stationIds...) |
|
|
|
the.getFormulaInfo(p) |
|
|
|