From b21a75be9e6805d63b7f06e78b1b99c114b7b8c6 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期五, 22 九月 2023 08:49:21 +0800
Subject: [PATCH] 1、修改分类授权查询树的接口。

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/SystemClassifyRoleMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/SystemClassifyRoleMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/SystemClassifyRoleMapper.xml
index 8c7470e..7a9e2ce 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/SystemClassifyRoleMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/SystemClassifyRoleMapper.xml
@@ -70,7 +70,7 @@
                pc.SYSTEMID,
                p.oid CLASSIFYOID,
                p.id CLASSIFYID,
-               case when pc.selected is null then false else  pc.SELECTED end SELECTED,
+               case when pc.selected is null then false when pc.selected = 0 then false else  pc.SELECTED end SELECTED,
                p.PARENTCODECLASSIFYOID CLASSPARENTOID
         from PL_CODE_CLASSIFY p ,
              PL_CODE_SYSTEM_CLASSIFY_ROLE pc

--
Gitblit v1.9.3