From 62f0eb6e3296fa3ef589e48bca06198ed26f9893 Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期二, 25 三月 2025 17:32:40 +0800
Subject: [PATCH] 设备技术协议

---
 platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml b/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml
index 5cb7345..48f45ec 100644
--- a/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml
+++ b/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml
@@ -16,4 +16,21 @@
         <result property="updateTime" column="update_time"/>
         <result property="delFlag" column="del_flag"/>
   </resultMap>
+    <select id="pageNew" resultType="com.by4cloud.platformx.device.entity.vo.ReceivingNoteItemPageVo">
+		select
+			rni.id,
+			rni.num  ,
+			rni.`output` ,
+			ci.name contractItemName,
+			rn.release_code
+		from
+			receiving_note_item rni
+				join contract_item ci on rni.contract_item_id = ci.id
+				join receiving_note rn on rn.id = rni.note_id
+		where
+			rni.del_flag = '0'
+		<if test="queryDTO.contractItemName != null and queryDTO.contractItemName !=''">
+			and c.name like CONCAT('%', #{queryDTO.contractItemName}, '%')
+		</if>
+	</select>
 </mapper>

--
Gitblit v1.9.1