From 535d65725dc18469fca3f27b963933201f6b37bc Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Thu, 19 Mar 2026 09:05:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E4=BF=A1=E6=81=AF-=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=8C=87=E4=BB=A4-=E5=B7=B2=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3sql=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/servicetag/mapper/xml/ServiceTagMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nursing-unit-services/nu-services-biz/src/main/java/com/nu/modules/config/servicetag/mapper/xml/ServiceTagMapper.xml b/nursing-unit-services/nu-services-biz/src/main/java/com/nu/modules/config/servicetag/mapper/xml/ServiceTagMapper.xml index ac02a383..7ce894f1 100644 --- a/nursing-unit-services/nu-services-biz/src/main/java/com/nu/modules/config/servicetag/mapper/xml/ServiceTagMapper.xml +++ b/nursing-unit-services/nu-services-biz/src/main/java/com/nu/modules/config/servicetag/mapper/xml/ServiceTagMapper.xml @@ -214,12 +214,12 @@ select a.id, a.type, a.create_time, - case a.type when 'bq' then bqzl.directive_name when 'zl' then zl.directive_name else null end AS tag_name, - case a.type when 'bq' then bqzl.service_content when 'zl' then zl.service_content else null end AS description, - case a.type when 'bq' then bqzl.id when 'zl' then zl.id else null end AS employeesTagsId + case a.type when 'bq' then bq.instruction_name when 'zl' then zl.directive_name else null end AS tag_name, + case a.type when 'bq' then bq.instruction_name when 'zl' then zl.service_content else null end AS description, + case a.type when 'bq' then bq.id when 'zl' then zl.id else null end AS employeesTagsId from nu_biz_employees_service_tags a LEFT JOIN nu_config_service_directive zl on a.tags_id = zl.id - LEFT JOIN nu_config_service_directive bqzl on a.tags_id = bqzl.instruction_tag_id + LEFT JOIN nu_config_service_instruction_tag bq on a.tags_id = bq.id where a.employees_id = #{employeesId}