Browse Source

添加group by

dev_power_axis
YUJT 3 years ago
parent
commit
9bd22a5054
  1. 2
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerKernelHouseholdDao.xml

2
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerKernelHouseholdDao.xml

@ -78,7 +78,7 @@
k.DEL_FLAG = '0' k.DEL_FLAG = '0'
AND k.CUSTOMER_ID = #{customerId} AND k.CUSTOMER_ID = #{customerId}
AND (s.pids LIKE '%${axisStructId}%' OR s.id = #{axisStructId}) AND (s.pids LIKE '%${axisStructId}%' OR s.id = #{axisStructId})
GROUP BY k.HOUSE_ID GROUP BY k.HOUSE_ID,m.KERNEL_MEMBER_ID
ORDER BY k.CREATED_TIME,s.SORT ORDER BY k.CREATED_TIME,s.SORT
limit #{pageNo},#{pageSize} limit #{pageNo},#{pageSize}
</select> </select>

Loading…
Cancel
Save