From cf55ebf52cb3fa96f1efced495c120dc0c4ecd7b Mon Sep 17 00:00:00 2001 From: shiyunteng <shiyunteng@example.com> Date: 星期三, 09 四月 2025 10:06:04 +0800 Subject: [PATCH] 优化项优化 设备分类新增问题 库存列表状态字段 中标单按钮限制 --- platformx-device-biz/src/main/resources/mapper/DeviceMapper.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/platformx-device-biz/src/main/resources/mapper/DeviceMapper.xml b/platformx-device-biz/src/main/resources/mapper/DeviceMapper.xml index 635bf6f..c3a261f 100644 --- a/platformx-device-biz/src/main/resources/mapper/DeviceMapper.xml +++ b/platformx-device-biz/src/main/resources/mapper/DeviceMapper.xml @@ -66,4 +66,21 @@ and ci.contract_id = #{contractId} and ci.device_id = d.id ) </select> + <select id="getDropdownnByWinningId" resultType="com.by4cloud.platformx.device.entity.Device"> + select + * + from + device d + where + d.del_flag = '0' + and exists ( + select + pwl.device_id + from + purchase_winning_letter pwl + where + pwl.del_flag = '0' + and pwl.id = #{id} + and pwl.device_id = d.id ) + </select> </mapper> -- Gitblit v1.9.1