|
@ -95,6 +95,7 @@ |
|
|
pli_power_kernel_household |
|
|
pli_power_kernel_household |
|
|
<where> |
|
|
<where> |
|
|
del_flag = '0' |
|
|
del_flag = '0' |
|
|
|
|
|
AND customer_id = #{customerId} |
|
|
<if test="houseIdList != null and houseIdList.size() > 0"> |
|
|
<if test="houseIdList != null and houseIdList.size() > 0"> |
|
|
and house_id in |
|
|
and house_id in |
|
|
<foreach collection="houseIdList" item="houseId" open="(" close=")" separator=","> |
|
|
<foreach collection="houseIdList" item="houseId" open="(" close=")" separator=","> |
|
@ -103,8 +104,6 @@ |
|
|
</if> |
|
|
</if> |
|
|
AND |
|
|
AND |
|
|
STRUCT_REFERENCE_ID = #{axisStructId} |
|
|
STRUCT_REFERENCE_ID = #{axisStructId} |
|
|
AND |
|
|
|
|
|
customer_id = #{customerId} |
|
|
|
|
|
</where> |
|
|
</where> |
|
|
</select> |
|
|
</select> |
|
|
<select id="queryIds" resultType="java.lang.String"> |
|
|
<select id="queryIds" resultType="java.lang.String"> |
|
|