From 98c56a7932a2181f5d80aeb20091673290316a9f Mon Sep 17 00:00:00 2001 From: weiweian Date: Wed, 21 Aug 2024 02:35:14 +0000 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E4=B8=80=E8=A1=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=83=BD=E8=A6=81=E5=BE=AA=E7=8E=AF=E4=B8=80=E9=81=8D=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=EF=BC=8C=E6=AD=A4=E4=BF=AE=E6=94=B9=E6=AF=8F=E4=B8=AA?= =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E5=87=8F=E5=B0=91=E7=BA=A61=E6=AF=AB?= =?UTF-8?q?=E7=A7=92=EF=BC=8C=E5=BE=AA=E7=8E=AF5000=E6=AC=A1=E7=9A=84?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E5=8F=AF=E6=8F=90=E9=80=9F5=E7=A7=92?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: weiweian --- H5/jflow-core/src/main/java/bp/en/QueryObject.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/H5/jflow-core/src/main/java/bp/en/QueryObject.java b/H5/jflow-core/src/main/java/bp/en/QueryObject.java index 574eb7f3e5..df6512e8bf 100644 --- a/H5/jflow-core/src/main/java/bp/en/QueryObject.java +++ b/H5/jflow-core/src/main/java/bp/en/QueryObject.java @@ -1793,16 +1793,18 @@ public class QueryObject Attrs attrs = enMap.getAttrs(); try { Row row = null; + boolean boolCaseModel=caseModel == FieldCaseModel.UpperCase?true:false; + for (DataRow dr : dt.Rows) { Entity en = ens.getNewEntity(); row = new Row(); for (Attr attr : attrs) { - if (caseModel == FieldCaseModel.UpperCase){ + if (boolCaseModel){ if(attr.getMyFieldType() == FieldType.RefText && dt.Columns.containsMatchCase(attr.getKey())) en.SetValByKey(attr.getKey(), dr.getValue(attr.getKey())); else en.SetValByKey(attr.getKey(), dr.getValue(attr.getKey().toUpperCase())); - }else if(caseModel == FieldCaseModel.Lowercase) { + }else if(!boolCaseModel) { if(attr.getMyFieldType() == FieldType.RefText && dt.Columns.containsMatchCase(attr.getKey())) row.SetValByKey(attr.getKey(), dr.getValue(attr.getKey())); else -- Gitee