mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	update 更新数据权限Service的使用说明
This commit is contained in:
		@@ -14,6 +14,14 @@ import org.springframework.stereotype.Service;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import java.util.stream.Collectors;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 数据权限 实现
 | 
			
		||||
 * <p>
 | 
			
		||||
 * 注意: 此Service内不允许调用标注`数据权限`注解的方法
 | 
			
		||||
 * 例如: deptMapper.selectList 此 selectList 方法标注了`数据权限`注解 会出现循环解析的问题
 | 
			
		||||
 *
 | 
			
		||||
 * @author Lion Li
 | 
			
		||||
 */
 | 
			
		||||
@RequiredArgsConstructor
 | 
			
		||||
@Service("sdss")
 | 
			
		||||
public class SysDataScopeServiceImpl implements ISysDataScopeService {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user