From ceb6a4d82d4f67c95d8f4dd457ec7a1bfdba0c4c Mon Sep 17 00:00:00 2001 From: ludc <pUXmgxCf6A> Date: 星期四, 18 五月 2023 15:58:40 +0800 Subject: [PATCH] 以及发布webservice接口功能搭建,将通通用接口移植过来 --- Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml index 0533fb6..44b7b0c 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml +++ b/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> -- Gitblit v1.9.3