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 |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml b/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
index 8c9400d..6c4477f 100644
--- a/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
+++ b/platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
@@ -39,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