ludc
2023-05-18 ceb6a4d82d4f67c95d8f4dd457ec7a1bfdba0c4c
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml
@@ -167,11 +167,11 @@
               codeclassify0.paths                 as paths
        from (select plcodeclassify.*,
                <choose>
                     <when test="fieldName=='name'.tostring()">
                        SYS_CONNECT_BY_PATH(name, '##') as paths
                     <when test='fieldName=="name"'>
                         SUBSTR(SYS_CONNECT_BY_PATH(name, '##'),3)   as paths
                     </when>
                    <otherwise>
                        SYS_CONNECT_BY_PATH(id, '##') as paths
                        SUBSTR(SYS_CONNECT_BY_PATH(id, '##'),3)   as paths
                    </otherwise>
                </choose>