Browse Source

列表树添加客户id

dev_zufangUpdate
Jackwang 4 years ago
parent
commit
4859ea4de0
  1. 6
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisStructDao.xml

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

@ -47,9 +47,9 @@
l.MOBILE as LEADER_MOBILE, l.MOBILE as LEADER_MOBILE,
t.STRUCT_LEVEL t.STRUCT_LEVEL
from pli_power_axis_struct s from pli_power_axis_struct s
left join pli_power_axis_struct_leader sl on s.ID = sl.STRUCT_REFERENCE_ID and sl.del_flag = '0' left join pli_power_axis_struct_leader sl on s.ID = sl.STRUCT_REFERENCE_ID and sl.del_flag = '0' and sl.CUSTOMER_ID = #{customerId}
left join pli_power_axis_leader l on l.ID = sl.LEADER_ID and l.del_flag = '0' left join pli_power_axis_leader l on l.ID = sl.LEADER_ID and l.del_flag = '0' and l.CUSTOMER_ID = #{customerId}
left join pli_power_axis_tag t on s.CATEGORY_CODE = t.CATEGORY_CODE and t.DEL_FLAG = '0' left join pli_power_axis_tag t on s.CATEGORY_CODE = t.CATEGORY_CODE and t.DEL_FLAG = '0' and t.CUSTOMER_ID = #{customerId}
where s.DEL_FLAG = '0' where s.DEL_FLAG = '0'
and s.CUSTOMER_ID = #{customerId} and s.CUSTOMER_ID = #{customerId}
<if test="agencyId != null and agencyId != ''"> <if test="agencyId != null and agencyId != ''">

Loading…
Cancel
Save