Selaa lähdekoodia

修改根据账号名称查询账号信息接口

xingguoqiang 3 vuotta sitten
vanhempi
commit
a8772bcca5

+ 1 - 1
saas-account/src/main/java/com/persagy/person/controller/SaasRoleController.java

@@ -144,7 +144,7 @@ public class SaasRoleController {
         SaasRole saasRole = new SaasRole();
         BeanUtils.copyProperties(queryVO,saasRole);
         LambdaQueryWrapper<SaasRole> queryWrapper = new SaasRole.Builder().createQueryWrapper().groupCodeEq(saasRole.getGroupCode())
-        		.roleNameEq(queryVO.getRoleName()).roleTypeEq(queryVO.getRoleType()).builderQueryWrapper();
+        		.roleNameEq(saasRole.getRoleName()).roleTypeEq(saasRole.getRoleType()).builderQueryWrapper();
         List<SaasRole> list = this.saasRoleService.list(queryWrapper);
         if (CollectionUtil.isEmpty(list)) {
             return ResponseResultUtil.successResult(Lists.newArrayList(), 0L);

+ 1 - 1
saas-account/src/main/java/com/persagy/person/pojo/vo/role/SaasRoleQueryByNameVO.java

@@ -25,7 +25,7 @@ import com.persagy.common.model.BaseGroupModel;
 public class SaasRoleQueryByNameVO extends BaseGroupModel {
 
     @NotBlank(message = "角色名称,不可为空")
-	@ApiModelProperty(value = "角色名称,支持模糊查询", example = "zhangsan")
+	@ApiModelProperty(value = "角色名称")
 	private String roleName; 	// 角色名称
     
 	@ApiModelProperty(value = "角色类型", example = "0")