From 5cdf24cee02828717b5856c8036f1800cebc60be Mon Sep 17 00:00:00 2001 From: HAHA Date: Thu, 4 Aug 2022 17:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/poweraxis/PowerAxisLeaderDao.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisLeaderDao.xml b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisLeaderDao.xml index 7b2f449..473279a 100644 --- a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisLeaderDao.xml +++ b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisLeaderDao.xml @@ -54,12 +54,14 @@ LEFT JOIN pli_power_axis_tag AS ppat ON - poas.CATEGORY_CODE = ppat.CATEGORY_CODE and ppat.del_flag = '0' + poas.CATEGORY_CODE = ppat.CATEGORY_CODE and ppat.del_flag = '0' and poas.customer_id = #{customerId} WHERE ppal.id = #{leaderId} AND ppal.customer_id = #{customerId} and ppal.del_flag = '0' + group by + ppal.id