package com.sinata.appointment.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.sinata.appointment.entity.MpStaffGroupMember; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Mapper public interface MpStaffGroupMemberMapper extends BaseMapper { /** 物理删除成员行(绕过全局逻辑删除对 BaseMapper.delete 的改写)。 */ int deletePhysicalByGroupId(@Param("groupId") Long groupId); int deletePhysicalByGroupAndUser( @Param("groupId") Long groupId, @Param("mpUserId") Long mpUserId); }