From 766e3d9f03b6ff9c52a37d14d19304f9822d7c3d Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 09 六月 2026 13:37:10 +0800
Subject: [PATCH] feat:销售台账-审核操作。新增的订单状态是未审核,审核人不能审核本人录入的订单。未审核的订单不能进行任何操作,只能修改、删除和审核
---
src/main/resources/mapper/sales/InvoiceRegistrationProductMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/sales/InvoiceRegistrationProductMapper.xml b/src/main/resources/mapper/sales/InvoiceRegistrationProductMapper.xml
index fcaba49..ba790b1 100644
--- a/src/main/resources/mapper/sales/InvoiceRegistrationProductMapper.xml
+++ b/src/main/resources/mapper/sales/InvoiceRegistrationProductMapper.xml
@@ -56,7 +56,7 @@
AND T3.invoice_date = #{invoiceRegistrationProductDto.invoiceDate}
</if>
</where>
- ORDER BY T1.create_time DESC
+ ORDER BY T1.create_time DESC, T1.id DESC
</select>
<select id="invoiceRegistrationProductPage" resultType="com.ruoyi.sales.dto.InvoiceRegistrationProductDto">
@@ -127,6 +127,6 @@
%H:%i:%s')+interval 1 day
</if>
</where>
- ORDER BY T1.create_time DESC
+ ORDER BY T1.create_time DESC, T1.id DESC
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3