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}