fix(charge):修复记录列表中没有列出转供电企业的名称的问题。

This commit is contained in:
徐涛 2022-09-29 09:44:35 +08:00
parent 183092b670
commit 201af1cc25

View File

@ -260,7 +260,7 @@ func (_ChargeService) ListPagedChargeRecord(keyword, beginDate, endDate string,
}
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
}