From 8972e9adbad71c6a7d24f7e38dc321f42194e902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E4=B8=89=E7=82=AE?= <15856818120@163.com> Date: Tue, 3 Jun 2025 09:46:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E7=90=86=E5=8D=95=E4=BD=8D=EF=BC=8C?= =?UTF-8?q?=E4=B8=93=E8=B4=A3=E6=96=B0=E5=BB=BA=E5=AE=A1=E6=A0=B8=E6=B5=81?= =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/system/SupervisionUnitMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-project/src/main/resources/mapper/system/SupervisionUnitMapper.xml b/bonus-modules/bonus-project/src/main/resources/mapper/system/SupervisionUnitMapper.xml index c09e49a..59d1362 100644 --- a/bonus-modules/bonus-project/src/main/resources/mapper/system/SupervisionUnitMapper.xml +++ b/bonus-modules/bonus-project/src/main/resources/mapper/system/SupervisionUnitMapper.xml @@ -274,7 +274,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" on psp.sup_user_id = lsp.sup_persion_id left join sys_dict_data sdd on sdd.dict_value = psp.post and sdd.dict_type = 'sys_sup_post' and sdd.status = '0' - where psp.is_active = '1' + where psp.is_active = '1' and lsp.status = '0' and lsp.sup_uuid = (select uuid from pt_sup_info where sup_id = #{supId}) @@ -316,7 +316,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" on psp.sup_user_id = lsp.sup_persion_id left join sys_dict_data sdd on sdd.dict_value = psp.post and sdd.dict_type = 'sys_sup_post' and sdd.status = '0' - where psp.is_active = '1' + where psp.is_active = '1' and lsp.status = '0' and lsp.sup_uuid = (select uuid from pt_sup_info where sup_id = #{supId})