Commit 901dd20d authored by ZWT's avatar ZWT

feat(能源管理系统): 测试问题修复

1.修改运维管理-组织机构管理模块,查询组织和线路列表接口sql查询逻辑,解决出现重复组织问题;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 3ace493d
......@@ -423,6 +423,9 @@ public class SysOrganizationService {
/**
* 组织机构管理--动态查询列表
* GET /system/sys-organization/query-sys-organization-list
* 接口ID:106823391
* 接口地址:https://app.apifox.com/project/3196988/apis/api-106823391
*
* @param context 上下文
* @param input 输入
......
......@@ -539,6 +539,7 @@
sys_organization o
WHERE
r.ou_id = o.id
AND r.end_time >= NOW()
AND o.is_deleted = 1
<if test="parentOuId != null and parentOuId != ''">
AND r.parent_ou_id = #{parentOuId}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment