app注销删除相关联数据2
This commit is contained in:
@ -305,7 +305,7 @@
|
||||
<select id="getLocationHistory" resultType="com.fuyuanshen.equipment.domain.vo.LocationHistoryVo">
|
||||
select a.id,a.device_name,a.device_type,b.type_name deviceTypeName,a.device_imei,a.device_mac from device a
|
||||
inner join device_type b on a.device_type = b.id
|
||||
|
||||
where b.communication_mode in (0, 2)
|
||||
<if test="bo.deviceType != null">
|
||||
AND b.id = #{bo.deviceType}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user