列表总数获取失败

This commit is contained in:
xiangheng
2024-05-14 11:32:52 +08:00
parent 68f72278bf
commit c7cadf17ad
14 changed files with 14 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ func (Service flowApplyService) List(page request.PageReq, listReq FlowApplyList
// 总数
var count int64
err := dbModel.Count(&count).Error
if e = response.CheckErr(err, "List Count err"); e != nil {
if e = response.CheckErr(err, "列表总数获取失败"); e != nil {
return
}
// 数据

View File

@@ -83,7 +83,7 @@ func (Service flowHistoryService) List(page request.PageReq, listReq FlowHistory
// 总数
var count int64
err := dbModel.Count(&count).Error
if e = response.CheckErr(err, "List Count err"); e != nil {
if e = response.CheckErr(err, "列表总数获取失败"); e != nil {
return
}
// 数据

View File

@@ -56,7 +56,7 @@ func (Service flowTemplateService) List(page request.PageReq, listReq FlowTempla
// 总数
var count int64
err := dbModel.Count(&count).Error
if e = response.CheckErr(err, "List Count err"); e != nil {
if e = response.CheckErr(err, "列表总数获取失败"); e != nil {
return
}
// 数据