From 24fc3f18bbeddda342ddf3a3d7f2dd4ef9feab3f Mon Sep 17 00:00:00 2001
From: 张晓波 <bingbo1993@126.com>
Date: 星期一, 11 十二月 2023 18:19:47 +0800
Subject: [PATCH] 未成环的可能有很多

---
 hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml b/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml
index 84c1f09..b394089 100644
--- a/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml
+++ b/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml
@@ -269,6 +269,7 @@
             where ssr.stock_type = 2 and YEAR(SYSDATE()) = YEAR(ssr.create_time) and MONTH(SYSDATE()) = MONTH(ssr.create_time)
             group by ssr.steel_id
             ) c on steel.steel_id = c.steel_id
+            ORDER BY c.monthStock desc
     </select>
 
     <!--获取静养区-->

--
Gitblit v1.9.3