show transaction template count in data management page

This commit is contained in:
MaysWind
2024-08-04 16:24:19 +08:00
parent b23d630daa
commit 24724bb19f
4 changed files with 50 additions and 58 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ func (a *DataManagementsApi) DataStatisticsHandler(c *core.Context) (any, *errs.
return nil, errs.ErrOperationFailed
}
totalTransactionTemplateCount, err := a.templates.GetTotalTemplateCountByUid(c, uid)
totalTransactionTemplateCount, err := a.templates.GetTotalNormalTemplateCountByUid(c, uid)
if err != nil {
log.ErrorfWithRequestId(c, "[data_managements.DataStatisticsHandler] failed to get total transaction template count for user \"uid:%d\", because %s", uid, err.Error())