From c7dc1e6cbc483d20e6312a70b3dd64b43b9138d3 Mon Sep 17 00:00:00 2001 From: HAHA Date: Thu, 28 Apr 2022 08:58:09 +0800 Subject: [PATCH] =?UTF-8?q?message:=20=E5=AE=8C=E5=96=84=E5=85=9A=E5=91=98?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=88=B7=E5=9D=90=E6=A0=87bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/poweraxis/PowerKernelHouseholdDao.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerKernelHouseholdDao.xml b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerKernelHouseholdDao.xml index 31b5ad3..cf8f403 100644 --- a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerKernelHouseholdDao.xml +++ b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerKernelHouseholdDao.xml @@ -119,14 +119,15 @@ h.address FROM pli_power_axis_struct AS s - LEFT JOIN pli_power_kernel_household h ON s.id = h.STRUCT_REFERENCE_ID + LEFT JOIN pli_power_kernel_household h ON s.id = h.STRUCT_REFERENCE_ID AND h.DEL_FLAG = '0' WHERE s.DEL_FLAG = '0' - AND h.DEL_FLAG = '0' AND h.CUSTOMER_ID = #{customerId} - and s.pids LIKE '%${axisStructId}%' - GROUP BY h.id - ORDER BY s.SORT - limit #{limit} + AND h.CUSTOMER_ID = #{customerId} + AND h.STRUCT_REFERENCE_ID LIKE '%${axisStructId}%' + GROUP BY + h.id + ORDER BY + s.SORT