From ea9ab51324547ce3264e73931018a3e477c7a7b6 Mon Sep 17 00:00:00 2001 From: shicf <shi_chongfu@163.com> Date: 星期三, 25 九月 2024 11:24:52 +0800 Subject: [PATCH] 表单获取 --- src/main/java/com/product/mobile/core/controller/FaceMobileController.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/product/mobile/core/controller/FaceMobileController.java b/src/main/java/com/product/mobile/core/controller/FaceMobileController.java index 749054a..2a4ea8a 100644 --- a/src/main/java/com/product/mobile/core/controller/FaceMobileController.java +++ b/src/main/java/com/product/mobile/core/controller/FaceMobileController.java @@ -1,5 +1,6 @@ package com.product.mobile.core.controller; +import com.product.common.lang.StringUtils; import com.product.core.entity.FieldSetEntity; import com.product.core.exception.BaseException; import com.product.mobile.core.config.MobileCoreCode; @@ -57,7 +58,16 @@ try { //涓嶉獙璇佷紶鍏ョ殑琛ㄥ悕 鍙兘浼氭槸 product_sys_flow_task/product_sys_flow_detail FieldSetEntity fse = BaseUtil.getFieldSetEntity(request); - return BaseUtil.success(faceMobileService.getFlowFaceField(fse)); +// //閫氳繃瀹℃壒浠诲姟鐨剈uid鏉ユ煡琛ㄥ崟淇℃伅 +// if (StringUtils.isEmpty(fse.getString("table_uuid")) && StringUtils.isEmpty(fse.getString("table_name"))) { +// return BaseUtil.success(faceMobileService.getFlowFaceField(fse)); +// }else { +// //閫氳繃涓氬姟琛ㄤ俊鎭煡琛ㄥ崟淇℃伅 +// return BaseUtil.success(faceMobileService.getFaceFieldByTable(fse)); +// } + + return BaseUtil.success(faceMobileService.getFaceConfig(fse)); + } catch (BaseException e) { e.printStackTrace(); return error(e); -- Gitblit v1.9.2