From 9101ba64d5aa4722fc6384674682cd508d1315c9 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期四, 11 十二月 2025 10:51:44 +0800
Subject: [PATCH] 报警弹窗新增提示信息
---
hangzhoumesParent/common/servicebase/src/main/resources/mapper/OptimizeProjectMapper.xml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hangzhoumesParent/common/servicebase/src/main/resources/mapper/OptimizeProjectMapper.xml b/hangzhoumesParent/common/servicebase/src/main/resources/mapper/OptimizeProjectMapper.xml
index 44c5106..6cc8288 100644
--- a/hangzhoumesParent/common/servicebase/src/main/resources/mapper/OptimizeProjectMapper.xml
+++ b/hangzhoumesParent/common/servicebase/src/main/resources/mapper/OptimizeProjectMapper.xml
@@ -72,14 +72,16 @@
p.glass_thickness,
p.glass_type,
p.glass_total,
- p.glass_total_area
+ p.glass_total_area,
+ IFNULL(e.state,0) as state
from north_glass_mes.engineer_scheduling es
left join pp.optimize_project p on es.project_no=p.project_no
+ left join north_glass_mes.engineering e on es.project_no=e.engineer_id
where es.state = 100
<if test="type != null and type != ''">
and es.type = #{type}
</if>
- order by es.id
+ order by case when IFNULL(e.state, 0) = 1 then 0 else 1 end, es.id
</select>
<!-- 鏍规嵁绫诲瀷鍒犻櫎engineer_scheduling琛ㄤ腑鐨勬暟鎹� -->
--
Gitblit v1.8.0