From d9e2d188c139a727a1edc4842ea7bc254c32123d Mon Sep 17 00:00:00 2001 From: ziin Date: Mon, 27 Oct 2025 19:49:22 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E4=B8=BB=E6=92=AD=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E7=B1=BB=E5=9E=8B=E6=A8=A1=E7=B3=8A=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/newhosts/NewHostsMapper.xml | 5 ++++- yudao-server/src/main/resources/application.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tkdata-model-server/src/main/resources/mapper/newhosts/NewHostsMapper.xml b/tkdata-model-server/src/main/resources/mapper/newhosts/NewHostsMapper.xml index 0b9d204..4ed24d0 100644 --- a/tkdata-model-server/src/main/resources/mapper/newhosts/NewHostsMapper.xml +++ b/tkdata-model-server/src/main/resources/mapper/newhosts/NewHostsMapper.xml @@ -35,6 +35,10 @@ and ns.hosts_id like concat(#{req.hostsId,jdbcType=VARCHAR},'%') + + + and ns.hosts_kind like concat("%",#{req.hostsKind,jdbcType=VARCHAR},"%") + and ns.is_assigned =#{req.isAssigned,jdbcType=INTEGER} @@ -103,7 +107,6 @@ and ns.Invitation_type =#{req.invitationType,jdbcType=INTEGER} - group by ns.hosts_id diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index 861ac11..2a97a81 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -3,7 +3,7 @@ spring: name: yudao-server profiles: - active: dev + active: local main: allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。