From 04a1b1839a2aa0ecb6d9673620a6c84ed7a3bea5 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 수, 22 12월 2021 14:28:20 +0900 Subject: [PATCH] Merge branch 'master' of http://192.168.0.25:9001/r/owl-kisa --- src/main/resources/mybatis/query-template/companyField-template.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/query-template/companyField-template.xml b/src/main/resources/mybatis/query-template/companyField-template.xml index e4b8e15..0ee3d09 100644 --- a/src/main/resources/mybatis/query-template/companyField-template.xml +++ b/src/main/resources/mybatis/query-template/companyField-template.xml @@ -23,6 +23,7 @@ <if test="id != '' and id != null"> AND cf.id like CONCAT('%',#{id},'%') </if> + ORDER BY cf.id DESC <if test="pageSize != '' and pageSize != null"> limit #{pageSize} offset #{page}; </if> -- Gitblit v1.8.0