From 68b68d7962a506b3b173517a088fab70b4d2f687 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期三, 19 三月 2025 09:03:52 +0800
Subject: [PATCH] 报告添加EL表达式

---
 performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml
index 9229c98..c9df972 100644
--- a/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml
+++ b/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml
@@ -45,7 +45,8 @@
         aowh.sample,
         aowh.price,
         aowh.man_hour_group,
-        ip.cable_tag
+        ip.cable_tag,
+        aowh.create_time
         FROM auxiliary_output_working_hours aowh
         left join ins_product ip on ip.id = aowh.ins_product_id
         left join user on user.id=aowh.`check`
@@ -60,6 +61,7 @@
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>
+        order by create_time desc
     </sql>
     <select id="selectAuxiliaryOutputWorkingHours" resultType="com.ruoyi.performance.dto.AuxiliaryOutputWorkingHoursDto">
         <include refid="selectAuxiliaryOutputWorking"/>

--
Gitblit v1.9.3