From 9a12866758b1749953e1330c2e64d25d7a6a05b5 Mon Sep 17 00:00:00 2001
From: 李旭东 <woaiguo66@sina.com>
Date: 星期四, 09 十一月 2023 14:11:48 +0800
Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe

---
 hd/pipe/materialsManage/src/main/resources/mapping/TMaterialReleaseMapper.xml |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/hd/pipe/materialsManage/src/main/resources/mapping/TMaterialReleaseMapper.xml b/hd/pipe/materialsManage/src/main/resources/mapping/TMaterialReleaseMapper.xml
index 9ac50f0..a406e28 100644
--- a/hd/pipe/materialsManage/src/main/resources/mapping/TMaterialReleaseMapper.xml
+++ b/hd/pipe/materialsManage/src/main/resources/mapping/TMaterialReleaseMapper.xml
@@ -146,5 +146,21 @@
     is_use=2
     where material_release_id=#{materialReleaseId}
   </update>
-
+  <select id="pieceList" resultType="com.thhy.materials.modules.biz.concret.entity.dto.PieceDto">
+    select by_id as byId from  t_piece
+    where 1=1
+    <if test="byId!=null and byId!='' ">
+      and by_id=#{byId}
+    </if>
+    ORDER BY  by_id desc
+  </select>
+  <select id="materialRew" resultType="com.thhy.materials.modules.biz.concret.entity.TRawMaterial">
+    select Storage as storage,
+    Material as material,
+    RecAmnt as recamnt,
+    PlanAmnt as planamnt,
+    FactAmnt as factamnt
+     from  t_raw_material
+    where  Piece=#{byId}
+  </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3