From 51a44136f56640a3d58f761b417e3542834348ae Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 20 六月 2026 20:21:59 +0800
Subject: [PATCH] fix: 修复删除发货记录判断该出库记录是否有开票申请报错问题。
---
src/main/resources/mapper/basic/CustomerMapper.xml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/basic/CustomerMapper.xml b/src/main/resources/mapper/basic/CustomerMapper.xml
index c9be760..e9683da 100644
--- a/src/main/resources/mapper/basic/CustomerMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerMapper.xml
@@ -52,6 +52,7 @@
)
</if>-->
</where>
+ order by maintenance_time desc
</select>
<select id="list" resultType="com.ruoyi.basic.vo.CustomerVo">
@@ -159,5 +160,6 @@
group by sl.id
)T2 on T2.id = sl.id
where sl.customer_id = #{customerId}
+ order by sl.execution_date
</select>
</mapper>
--
Gitblit v1.9.3