完成在小程序端的功能

This commit is contained in:
zhonghua1
2026-01-05 21:42:48 +08:00
parent 8f35c605d1
commit 34cd6275b7
4 changed files with 44 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
package com.rj.service.impl;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rj.entity.AudioManagementSegments;
import com.rj.mapper.AudioManagementSegmentsMapper;
@@ -17,6 +19,12 @@ import org.springframework.stereotype.Service;
public class AudioManagementSegmentsServiceImpl
extends ServiceImpl<AudioManagementSegmentsMapper, AudioManagementSegments>
implements IAudioManagementSegmentsService {
@Override
@InterceptorIgnore(tenantLine = "true") // 禁用多租户拦截
public boolean updateNoTenant(AudioManagementSegments entity,
LambdaUpdateWrapper<AudioManagementSegments> updateWrapper) {
return super.update(entity, updateWrapper);
}
}