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