fix(meter):修正终端表计档案管理中无效的判断。
This commit is contained in:
parent
01953132ca
commit
3742a445b7
|
@ -84,9 +84,6 @@ func (_Meter04kVService) Get04kVMeterDetail(park, code string) (*model.Meter04KV
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if meter == nil {
|
||||
return nil, nil
|
||||
}
|
||||
cache.CacheEntity(meter, []string{fmt.Sprintf("meter_04kv:%s:%s", park, code), "park"}, "meter_04kv", fmt.Sprintf("%s_%s", park, code))
|
||||
return meter, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user