change order for getAutoStartChatRecord, getMarkAsNotSuitRecord

This commit is contained in:
geekgeekrun
2025-04-19 12:28:28 +08:00
parent 703b229bf4
commit f7fb551582

View File

@@ -47,7 +47,10 @@ const payloadHandler = {
const [data, totalItemCount] = await measureExecutionTime(
userRepository.findAndCount({
skip: (pageNo - 1) * pageSize,
take: pageSize
take: pageSize,
order: {
date: 'DESC'
}
})
)
return {
@@ -69,7 +72,10 @@ const payloadHandler = {
const [data, totalItemCount] = await measureExecutionTime(
recordRepository.findAndCount({
skip: (pageNo - 1) * pageSize,
take: pageSize
take: pageSize,
order: {
date: 'DESC'
}
})
)
return {