|
|
@ -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 |
|
|
|
</select> |
|
|
|
<resultMap id="getPageList" type="com.epmet.plugin.power.dto.axis.PowerKernelHouseholdDTO"> |
|
|
|
<result property="ownerName" column="OWNER_NAME" /> |
|
|
|