From e21f11c7bb0cf13870159affd2909f61d325c0ad Mon Sep 17 00:00:00 2001 From: LSH Date: 星期六, 21 十月 2023 14:17:44 +0800 Subject: [PATCH] # --- src/main/resources/mapper/MatMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml index 09a8d0a..b7157a6 100644 --- a/src/main/resources/mapper/MatMapper.xml +++ b/src/main/resources/mapper/MatMapper.xml @@ -111,6 +111,13 @@ </if> </select> + <select id="selectNewUpdateTime" resultMap="BaseResultMap"> + select top 1 * from man_mat + where 1=1 + ORDER BY create_time ASC +-- ORDER BY update_time DESC + </select> + <select id="getMatTurnPage" resultMap="BaseResultMap"> select * from ( -- Gitblit v1.9.1