Browse Source

优化删除用户接口

test
smallchill 4 years ago
parent
commit
bcd9ddf1e0
  1. 2
      blade-service/blade-user/src/main/java/org/springblade/system/user/feign/UserClient.java

2
blade-service/blade-user/src/main/java/org/springblade/system/user/feign/UserClient.java

@ -82,7 +82,7 @@ public class UserClient implements IUserClient {
@Override
@PostMapping(REMOVE_USER)
public R<Boolean> removeUser(String tenantIds) {
return R.data(service.remove(Wrappers.<User>query().lambda().in(User::getTenantId, Func.toLongList(tenantIds))));
return R.data(service.remove(Wrappers.<User>query().lambda().in(User::getTenantId, Func.toStrList(tenantIds))));
}
}

Loading…
Cancel
Save