From 3f4805441861005e8f05d2a4d6894b8ea0d6cf54 Mon Sep 17 00:00:00 2001
From: LSH <brook_w@163.com>
Date: 星期三, 17 八月 2022 16:05:21 +0800
Subject: [PATCH] Revert "#"
---
src/main/resources/mapper/LocDetlMapper.xml | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index dfff812..3d1dedc 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -100,6 +100,9 @@
<if test="startTime!=null and endTime!=null">
and a.modi_time between #{startTime} and #{endTime}
</if>
+ <if test="crnNo!=null and crnNo!='' ">
+ and b.crn_no=#{crnNo}
+ </if>
</sql>
<select id="getStockOutPage" resultMap="BaseResultMap">
@@ -211,7 +214,7 @@
and a.batch = #{batch}
</if>
<if test="orderNo != null and orderNo != ''">
- and a.orderNo = #{orderNo}
+ and a.order_no = #{orderNo}
</if>
<if test="locNos != null and locNos.size > 0">
@@ -310,5 +313,10 @@
batch LIKE '%[a-z]%'
</select>
+ <select id="selectLocDetlSumQty" resultType="double">
+ select SUM(anfme) anfme
+ from asr_loc_detl
+ where loc_no=#{locNo}
+ </select>
</mapper>
--
Gitblit v1.9.1