fix(charge):修复记录列表中没有列出转供电企业的名称的问题。
This commit is contained in:
parent
183092b670
commit
201af1cc25
|
@ -260,7 +260,7 @@ func (_ChargeService) ListPagedChargeRecord(keyword, beginDate, endDate string,
|
||||||
}
|
}
|
||||||
|
|
||||||
cache.CacheCount(relations, "charge_with_name", int64(total), condition...)
|
cache.CacheCount(relations, "charge_with_name", int64(total), condition...)
|
||||||
cache.CacheSearch(charges, relations, "charge_with_name", condition...)
|
cache.CacheSearch(chargesWithName, relations, "charge_with_name", condition...)
|
||||||
return chargesWithName, int64(total), err
|
return chargesWithName, int64(total), err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user