From dc9228656b202a8f1ec7720d78eb0421a94a28c9 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 23 十月 2025 16:20:14 +0800
Subject: [PATCH] 聚乳酸明细增加丙交酯含量,%指标
---
src/main/resources/mapper/PlaMapper.xml | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/PlaMapper.xml b/src/main/resources/mapper/PlaMapper.xml
index 7aa3286..561079f 100644
--- a/src/main/resources/mapper/PlaMapper.xml
+++ b/src/main/resources/mapper/PlaMapper.xml
@@ -25,10 +25,26 @@
<if test="etime != null">
and pakin_time <= #{etime}
</if>
+ <if test="status == null or status.trim() == ''">
+ and status in ('宸插叆搴�','閮ㄥ垎鍑哄簱','寰呭嚭搴�')
+ </if>
<if test="status != null and status != ''">
and status = #{status}
</if>
+ <if test="type != null and type != ''">
+ and type = #{type}
+ </if>
+ <if test="workshop != null and workshop != ''">
+ and workshop = #{workshop}
+ </if>
+ <if test="transfer != null and transfer != ''">
+ and transfer = #{transfer}
+ </if>
</where>
- GROUP BY brand,matnr,workshop ORDER BY matnr,workshop
+ GROUP BY brand,matnr,workshop HAVING SUM(weight_anfme) > 0 ORDER BY matnr,workshop
+ </select>
+ <select id="getDropdownValues" resultType="com.zy.asrs.entity.DropdownValuesDto">
+ SELECT type, value
+ FROM dropdown_values_view
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1