forked from free-lancers/electricity_bill_calc_service
		
	fix(meter):修正终端表计档案管理中无效的判断。
This commit is contained in:
		| @@ -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 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user