mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 10:57:10 +08:00 
			
		
		
		
	refactor: 优化通用查询注解多字段模糊查询
This commit is contained in:
		@@ -40,7 +40,7 @@ public class RoleQuery implements Serializable {
 | 
			
		||||
     * 角色名称
 | 
			
		||||
     */
 | 
			
		||||
    @Schema(description = "角色名称", example = "测试人员")
 | 
			
		||||
    @Query(blurry = "name,code")
 | 
			
		||||
    @Query(blurry = {"name", "code"})
 | 
			
		||||
    private String name;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ public class UserQuery implements Serializable {
 | 
			
		||||
     * 用户名
 | 
			
		||||
     */
 | 
			
		||||
    @Schema(description = "用户名", example = "zhangsan")
 | 
			
		||||
    @Query(blurry = "username,nickname,email,phone")
 | 
			
		||||
    @Query(blurry = {"username", "nickname", "email", "phone"})
 | 
			
		||||
    private String username;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user