From c6db287f6c987060d615fd7ef5126511e051d5c6 Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期日, 27 四月 2025 17:33:30 +0800
Subject: [PATCH] 盘点计划 盘点单

---
 platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml b/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
index e509be6..6c4477f 100644
--- a/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
+++ b/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
@@ -24,7 +24,8 @@
 			sd.name rentName,
 			di.device_number,
 			di.serial_no,
-			dll.delivery_date
+			dll.delivery_date,
+		    di.file_path
 		from
 			device_inventory di
 				join device_leasing_ledger_item dlli on
@@ -38,4 +39,20 @@
 		where
 			di.id =#{id}
 	</select>
+    <select id="selectListByClassId" resultType="com.by4cloud.platformx.device.entity.vo.DeviceClassVo">
+		select
+		    di.device_id ,
+			d.class_id ,
+			d.number ,
+			d.name,
+			d.specification,
+			di.serial_no
+		from
+			device_inventory di
+				join device d on
+				d.id = di.device_id
+		where
+			di.del_flag = '0'
+		  and d.class_id = #{classId}
+	</select>
 </mapper>

--
Gitblit v1.9.1