From bb7b2eaea4df4407e623f3438adbecb0f6188fd7 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期二, 21 四月 2026 10:17:45 +0800
Subject: [PATCH] fix(mapper): 修复多个查询的排序和字段映射问题
---
src/main/resources/mapper/production/ProductBomMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductBomMapper.xml b/src/main/resources/mapper/production/ProductBomMapper.xml
index ec06cd3..e563335 100644
--- a/src/main/resources/mapper/production/ProductBomMapper.xml
+++ b/src/main/resources/mapper/production/ProductBomMapper.xml
@@ -35,6 +35,7 @@
<if test="c.version != null">
and version = #{c.version}
</if>
+ order by id desc
</select>
<select id="getById" resultType="com.ruoyi.production.dto.ProductBomDto">
select pb.*,
--
Gitblit v1.9.3