From 5042c38b8414e72a2afded843dbc83ed33517659 Mon Sep 17 00:00:00 2001 From: YUJT Date: Tue, 26 Apr 2022 18:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/poweraxis/PowerServiceStationDao.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerServiceStationDao.xml b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerServiceStationDao.xml index d846f0c..5bd39eb 100644 --- a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerServiceStationDao.xml +++ b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerServiceStationDao.xml @@ -29,7 +29,8 @@ FROM pli_power_service_station WHERE - STRUCT_REFERENCE_ID = #{axisStructId} + STRUCT_REFERENCE_ID in + (select DISTINCT s.id from pli_power_axis_struct s where (s.ID = 'axisStructId' or s.PIDS like '%axisStructId%') and s.del_flag = '0') and CUSTOMER_ID = #{customerId} limit #{limit}