From 001ead79e19e94ed4e693106431f122b3412529f Mon Sep 17 00:00:00 2001 From: 许鹏程 <1821349743@qq.com> Date: 星期三, 04 六月 2025 14:23:55 +0800 Subject: [PATCH] 更新 --- src/main/java/com/product/mobile/core/service/FaceMobileService.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/product/mobile/core/service/FaceMobileService.java b/src/main/java/com/product/mobile/core/service/FaceMobileService.java index 542e952..459eed4 100644 --- a/src/main/java/com/product/mobile/core/service/FaceMobileService.java +++ b/src/main/java/com/product/mobile/core/service/FaceMobileService.java @@ -199,10 +199,10 @@ } else { uuid.setMultiple("0"); } - + if ("userids".equals(f.getString("field_type")) || "userid".equals(f.getString("field_type"))) { uuid.setOrganizationType("5"); - } else if("orgUuids".equals(f.getString("field_type")) || "orgUuid".equals(f.getString("field_type"))) { + } else if ("orgUuids".equals(f.getString("field_type")) || "orgUuid".equals(f.getString("field_type"))) { uuid.setOrganizationType("2"); } @@ -241,7 +241,8 @@ if (StringUtils.isEmpty(tableUuid)) { throw new BaseException(MobileCoreCode.SYSTEM_FORM_COUNT); } - FieldSetEntity faceFse = getBaseDao().getFieldSetByFilter("product_sys_face", "table_uuid=? and face_type=2", new Object[]{tableUuid}, true); + String faceType = BaseUtil.ifNull(fse.getString("face_type"), "2"); + FieldSetEntity faceFse = getBaseDao().getFieldSetByFilter("product_sys_face", "table_uuid=? and face_type=?", new Object[]{tableUuid,faceType}, true); faceFse.setTableName(tableName); return getFaceField(faceFse); } -- Gitblit v1.9.2