问题修改

This commit is contained in:
jiang 2025-09-22 18:57:42 +08:00
parent 04d000d0e2
commit 70f17ac59b
1 changed files with 5 additions and 3 deletions

View File

@ -83,9 +83,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<update id="updateDeviceStatus">
UPDATE ma_dev_info SET entry_status = 0 WHERE ma_id IN (
select ma_id from cs_device_real_dev where cs_id = #{id}
)
UPDATE ma_dev_info
SET entry_status = 0
WHERE ma_id IN (select dev_id
from cs_device_real_dev
where cs_id = #{id})
</update>
<delete id="delOrder">