From 336eb77c1a07ca3e3ead4482b51f848fa16ab3b7 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期日, 12 十一月 2023 20:15:38 +0800 Subject: [PATCH] 自定义流水相关开发 --- Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/SystemClassifyRoleMapper.xml | 12 +++++++++++- 1 files changed, 11 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 d21813b..51bbd28 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 @@ -79,4 +79,14 @@ and '${systemId}' = pc.SYSTEMID(+) </select> + <select id="getListClassifyRole" resultType="com.vci.ubcs.code.entity.CodeClassify"> + select * + from PL_CODE_CLASSIFY + where oid in( select classifyoid + from PL_CODE_SYSTEM_CLASSIFY_ROLE + start with classifyid = #{library} + and SYSTEMID=#{systemId} + connect by prior classifyoid = classparentoid) + </select> + </mapper> -- Gitblit v1.9.3