From d2a2d096426c30d90be13b162403d66c8e72cc9a Mon Sep 17 00:00:00 2001 From: emma19910916 <1096721729@qq.com> Date: Sun, 23 Apr 2023 09:53:40 +0800 Subject: [PATCH] fix issue I6W2L9 --- .../main/java/cn/vertxup/erp/service/EmployeeService.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ae5b8ba40..3fc1d8fde 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()); -- Gitee