app注销删除相关联数据

This commit is contained in:
2025-11-19 17:17:34 +08:00
parent 88b54a49f4
commit a0ab5e9fe0
5 changed files with 46 additions and 0 deletions

View File

@ -3,6 +3,12 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fuyuanshen.app.mapper.AppDeviceShareMapper">
<delete id="deleteByDeviceIds">
delete from app_device_share where device_id in
<foreach item="item" collection="deviceIds" separator="," open="(" close=")">
#{item}
</foreach>
</delete>
<select id="otherDeviceShareList" resultType="com.fuyuanshen.app.domain.vo.AppDeviceShareVo">
select d.device_name,