mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-10 18:40:17 +08:00
列表总数获取失败
This commit is contained in:
@@ -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
|
||||
}
|
||||
// 数据
|
||||
|
@@ -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
|
||||
}
|
||||
// 数据
|
||||
|
@@ -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
|
||||
}
|
||||
// 数据
|
||||
|
Reference in New Issue
Block a user