From f56be78fe779bb62df7e1b639747663f8865b1ef Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 25 九月 2023 14:52:45 +0800
Subject: [PATCH] 单点加密-Decrypt

---
 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