app注销删除相关联数据2

This commit is contained in:
2025-11-27 11:16:07 +08:00
parent 63a9d2f8f9
commit 20ddbf6e05
10 changed files with 41 additions and 7 deletions

View File

@ -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>