From 5209a6ab479a858a74b5f655bb596ba05afb5da3 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 월, 17 1월 2022 09:47:35 +0900
Subject: [PATCH] - 페이징 오류 수정

---
 src/main/resources/mybatis/query-template/customField-template.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mybatis/query-template/customField-template.xml b/src/main/resources/mybatis/query-template/customField-template.xml
index e3cd4cc..9359d01 100644
--- a/src/main/resources/mybatis/query-template/customField-template.xml
+++ b/src/main/resources/mybatis/query-template/customField-template.xml
@@ -25,6 +25,7 @@
             </when>
         </choose>
         AND ws.id = #{workspaceId}
+        ORDER BY cf.id DESC
         <if test="page != null and !page.equals('')">
             limit #{pageSize} offset #{page};
         </if>

--
Gitblit v1.8.0