diff --git a/vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/service/EmployeeService.java b/vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/service/EmployeeService.java index ae5b8ba4071984fc16e80d9ad3c2a3d291dabab0..3fc1d8fde3b450b4268093fdcc8373c8dfe1a97d 100644 --- a/vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/service/EmployeeService.java +++ b/vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/service/EmployeeService.java @@ -194,7 +194,11 @@ public class EmployeeService implements EmployeeStub { final BiFunction> executor) { return Ux.channel(ExUser.class, JsonObject::new, user -> { if (Ut.isNil(input)) { - return Ux.future(new JsonObject()); + // fix issue: https://gitee.com/silentbalanceyh/vertx-zero-scaffold/issues/I6W2L9 + final JsonObject filters = new JsonObject(); + filters.put(KName.IDENTIFIER, BizInternal.TypeUser.employee.name()); + return executor.apply(user, filters); + //return Ux.future(new JsonObject()); } else { final JsonObject filters = new JsonObject(); filters.put(KName.IDENTIFIER, BizInternal.TypeUser.employee.name());