|
@ -78,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
t1.create_time,t1.update_time,t1.facilities_type,t1.device_ip,t1.stake_mark_range,t1.network_segment,t1.device_img,t1.child_type, |
|
|
t1.create_time,t1.update_time,t1.facilities_type,t1.device_ip,t1.stake_mark_range,t1.network_segment,t1.device_img,t1.child_type, |
|
|
t1.facilities_type,t2.longitude,t2.latitude,t3.manufacturer |
|
|
t1.facilities_type,t2.longitude,t2.latitude,t3.manufacturer |
|
|
from dc_device t1 |
|
|
from dc_device t1 |
|
|
left join dc_stake_mark t2 on t1.stake_mark = t2.stake_mark |
|
|
left join dc_stake_mark t2 on t1.stake_mark = t2.stake_mark and t1.direction = t2.direction |
|
|
left join dc_product t3 on t3.id = t1.product_id |
|
|
left join dc_product t3 on t3.id = t1.product_id |
|
|
<where> |
|
|
<where> |
|
|
<if test="id != null and id != ''">and t1.id = #{id}</if> |
|
|
<if test="id != null and id != ''">and t1.id = #{id}</if> |
|
|