From c84991603548ca07bdcb589bf61ab230a6fb9f3e Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 07 九月 2023 13:57:52 +0800 Subject: [PATCH] getCodeRuleByClassifyOid接口修改 --- Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml | 7 ++----- 1 files changed, 2 insertions(+), 5 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 83d12c5..8f12082 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 @@ -45,9 +45,9 @@ </sql> <select id="selectPlCodeClassifyPage" resultMap="plCodeClassifyResultMap"> - select * from PL_CODE_CLASSIFY where is_deleted = 0 + select * from PL_CODE_CLASSIFY where <if test="tenantId != null and tenantId != ''"> - and tenant_id = #{tenantId} + tenant_id = #{tenantId} </if> </select> @@ -241,7 +241,6 @@ SYS_CONNECT_BY_PATH(id, '#') as paths </otherwise> </choose> - from pl_code_classify plcodeclassify START WITH parentCodeClassifyOid is null CONNECT BY PRIOR OID = parentCodeClassifyOid) codeclassify0 @@ -363,7 +362,6 @@ <if test="parentOid == null or parentOid == ''"> and codeclassify0.parentcodeclassifyoid is null </if> - <if test="tenantId != null and tenantId != ''"> and codeclassify0.tenant_id = #{tenantId} </if> @@ -450,7 +448,6 @@ <if test="desc != null"> and codeclassify0.DESCRIPTION = #{desc} </if> - <if test="tenantId != null and tenantId != ''"> and codeclassify0.tenant_id = #{tenantId} </if> -- Gitblit v1.9.3