From 58abac89e17fb6c83580c7218e9e31bd967701c2 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Thu, 25 Jul 2024 15:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/bonus/aqgqj/system/vo/dto/SelectDto.java | 2 ++ src/main/resources/mappers/system/SelectMapper.xml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/com/bonus/aqgqj/system/vo/dto/SelectDto.java b/src/main/java/com/bonus/aqgqj/system/vo/dto/SelectDto.java index 8ab42bc..4e3f1c8 100644 --- a/src/main/java/com/bonus/aqgqj/system/vo/dto/SelectDto.java +++ b/src/main/java/com/bonus/aqgqj/system/vo/dto/SelectDto.java @@ -15,4 +15,6 @@ public class SelectDto { /** 字段编码*/ private String code; + private Long id; + } diff --git a/src/main/resources/mappers/system/SelectMapper.xml b/src/main/resources/mappers/system/SelectMapper.xml index 3af4a5e..e3d9bde 100644 --- a/src/main/resources/mappers/system/SelectMapper.xml +++ b/src/main/resources/mappers/system/SelectMapper.xml @@ -74,5 +74,9 @@ contract_date AS contractDate FROM tb_exper_device WHERE del_flag = 0 + + AND dev_id = #{id} + + \ No newline at end of file