From 077a2cab498cf3359f4c7fd6ebe6d7b9544a3cae Mon Sep 17 00:00:00 2001
From: 张磊磊 <201175954@qq.com>
Date: 星期五, 24 十一月 2023 11:18:06 +0800
Subject: [PATCH] 称重记录(地磅)

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

diff --git a/hd/pipe/materialsManage/src/main/resources/mapping/WeighMapper.xml b/hd/pipe/materialsManage/src/main/resources/mapping/WeighMapper.xml
index 2523497..ddadc5f 100644
--- a/hd/pipe/materialsManage/src/main/resources/mapping/WeighMapper.xml
+++ b/hd/pipe/materialsManage/src/main/resources/mapping/WeighMapper.xml
@@ -579,5 +579,40 @@
         where by_id=#{byId}
     </update>
 
+    <select id="weighbridgeList" resultType="com.thhy.materials.modules.biz.weigh.entity.TWeighbridge">
+        select
+        weighbridge_id as weighbridgeId,
+        id,
+        code,
+        orgName,
+        supplyOrgName,
+        carNumber,
+        driverName,
+        matName,
+        matModel,
+        mPoundTime,
+        mPoundWeight,
+        mPoundName,
+        pPoundTime,
+        pPoundWeight,
+        pPoundName,
+        jPoundWeight,
+        buckleWeight,
+        mWeight,
+        pWeight,
+        jWeight,
+        wareName,
+        fileImage,
+        types
+         from  t_weighbridge where
+        1=1
+        <if test="carNumber!=null and carNumber!='' ">
+            and carNumber like concat('%',#{carNumber},'%')
+        </if>
+        <if test="matName!=null and matName!='' ">
+            and matName like concat('%',#{matName},'%')
+        </if>
+        order by weighbridge_id desc
+    </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3