From 454c4109aa2a8b5bd7340ac0e1cf5baa26fa96e5 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期二, 12 九月 2023 14:54:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeBasicSecServiceImpl.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeBasicSecServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeBasicSecServiceImpl.java
index 1123541..41bd42a 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeBasicSecServiceImpl.java
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeBasicSecServiceImpl.java
@@ -283,7 +283,7 @@
 			}
 			// 鍒ゆ柇鏄惁涓哄紩鐢ㄧ爜娈碉紝濡傛灉鏄簲鐢ㄧ爜娈电殑璇濓紝涓轰簡閫傞厤鍓嶇缁勪欢锛岃繖閲岃瀵硅〃杩涜澶勭悊涓�涓嬶紝鎸夌収浠ュ墠鐨勫弬鐓ф牸寮忚繘琛岃浆鎹�
 			codeBasicSecDO.setReferValueInfo(referConfigToUIUiTable(codeReferConfigVO));
-			if(codeReferConfigVO.getIsPersistence()=="true"){
+			if(Func.toBoolean(codeReferConfigVO.getIsPersistence())){
 				codeReferConfigService.insert(codeReferConfigVO);
 			}
 		}
@@ -324,8 +324,11 @@
 				BeanUtil.copy(showField,tableColVO);
 				tableColVO.setSortField(showField.getAttrSortField());
 				uiTableFieldVOs.add(tableColVO);
-				if(showField.getIsQuery().equals("true")){
-					queryColumns.add(tableColVO);
+				if(Func.toBoolean(showField.getIsQuery())){
+					TableColVO tableQueryColumns = new TableColVO();
+					BeanUtil.copy(showField,tableQueryColumns);
+					tableColVO.setSortField(showField.getAttrSortField());
+					queryColumns.add(tableQueryColumns);
 				}
 			});
 		}

--
Gitblit v1.9.3