mapper接口
public void batchDelete(@Param(value = "activityId") Integer activityId, @Param(value = "userIds") Integer[] userIds);
mapper.xml的配置
delete from T_ACT_USERS where ACTIVITY_ID = #{activityId} and USER_ID in #{item}
本文共 340 字,大约阅读时间需要 1 分钟。
mapper接口
public void batchDelete(@Param(value = "activityId") Integer activityId, @Param(value = "userIds") Integer[] userIds);
mapper.xml的配置
delete from T_ACT_USERS where ACTIVITY_ID = #{activityId} and USER_ID in #{item}
转载于:https://www.cnblogs.com/thiaoqueen/p/9389550.html