From 67647a9bdb5ca2c0acf5c5f635ec28d2e4d6c9db Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 08 十月 2026 13:58:51 +0800
Subject: [PATCH] fix:countTodayByCreateTime方法加上null值判断

---
 src/main/resources/mapper/approve/ApproveProcessMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/approve/ApproveProcessMapper.xml b/src/main/resources/mapper/approve/ApproveProcessMapper.xml
index 057cefb..4d18a34 100644
--- a/src/main/resources/mapper/approve/ApproveProcessMapper.xml
+++ b/src/main/resources/mapper/approve/ApproveProcessMapper.xml
@@ -41,7 +41,7 @@
         <if test="req.approveType != null ">
             and approve_type = #{req.approveType}
         </if>
-        order by approve_time desc
+        order by approve_time desc,approve_id desc
     </select>
 
 </mapper>

--
Gitblit v1.9.3