This commit is contained in:
邹宗楠
2025-08-22 10:09:24 +08:00
parent 5e12103f24
commit 57f057cf42
3 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
package dao
import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"time"
)
@@ -369,6 +370,8 @@ func QueryApplyContractList(orderNo string, storeID, pageSize, offset int) (page
ORDER BY r.id desc
LIMIT ? OFFSET ?
`
pageSize = jxutils.FormalizePageSize(pageSize)
offset = jxutils.FormalizePageOffset(offset)
param = append(param, pageSize, offset)
if err = GetRowsTx(txDB, &recipient, sql, param...); err == nil {