From 2917cb5d06bcdf78327ce84ba5b9b36076adb4af Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期二, 01 四月 2025 15:06:44 +0800
Subject: [PATCH] Merge branch 'radio_frequency' of http://114.132.189.42:9002/r/lims-ruoyi-after into radio_frequency
---
cnas-device/src/main/resources/mapper/DeviceMapper.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/cnas-device/src/main/resources/mapper/DeviceMapper.xml b/cnas-device/src/main/resources/mapper/DeviceMapper.xml
index 33fd802..a254044 100644
--- a/cnas-device/src/main/resources/mapper/DeviceMapper.xml
+++ b/cnas-device/src/main/resources/mapper/DeviceMapper.xml
@@ -181,4 +181,20 @@
u1.name,
u2.name
</select>
+
+ <select id="selectByKeys" resultType="com.ruoyi.device.pojo.Device">
+ SELECT
+ id, device_name, specification_model, management_number,
+ manufacturer, factory_no, technical_indicators, acquisition_date,
+ activation_date, equipment_manager, storage_point, subordinate_departments_id,
+ calibration_services, last_calibration_date, next_calibration_date, large_category,
+ unit_price, device_status, calibration_date, image_upload, image_name
+ FROM device
+ WHERE
+ <foreach collection="keys" item="key" separator=" OR " open="(" close=")">
+ (device_name = #{key.deviceName}
+ AND specification_model = #{key.specModel}
+ AND management_number = #{key.manageNumber})
+ </foreach>
+ </select>
</mapper>
--
Gitblit v1.9.3