fix(enduser):修正终端用户表计抄表过程中的错误。

This commit is contained in:
徐涛
2022-08-30 11:42:15 +08:00
parent e150a22174
commit 7abf35ca97
4 changed files with 12 additions and 15 deletions

View File

@@ -61,7 +61,7 @@ func (_EndUserService) SearchEndUserRecord(reportId, keyword string, page int) (
Limit(config.ServiceSettings.ItemsPageSize, startItem).
Asc("seq").
Find(&endUsers)
cache.CacheSearch(endUsers, []string{"end_user", "report", "park"}, "end_user_detail", conditions...)
cache.CacheSearch(endUsers, []string{"end_user_detail", "report", "park"}, "end_user_detail", conditions...)
return endUsers, total, err
}