fix(autocode): 修正了变量名的拼写错误(Stirng -> String)

- 优化了代码注释,提高了代码可读性
main
熊朝柱 2 months ago
parent 02d5394b04
commit 928e9a0016

@ -658,7 +658,7 @@ public class NewCodeItemDialog extends Dialog {
if (this.cnpropList != null) { if (this.cnpropList != null) {
for (CNProperty cnProp : this.cnpropList) { for (CNProperty cnProp : this.cnpropList) {
//20250425新增 将最左侧选中的编码规则名称写入到最右侧的文档类别中 //20250425新增 将最左侧选中的编码规则名称写入到最右侧的文档类别中
Stirng currentPropName = cnProp.getDisplayName();//当前遍历的对象or分类属性名称 String currentPropName = cnProp.getDisplayName();//当前遍历的对象or分类属性名称
System.out.println("当前创建的UI组件Label名称="+currentPropName); System.out.println("当前创建的UI组件Label名称="+currentPropName);
if(currentPropName != null && currentPropName.equals("文档类别") && leftMostCodeRuleNameString != null && !leftMostCodeRuleNameString.equals("")){ if(currentPropName != null && currentPropName.equals("文档类别") && leftMostCodeRuleNameString != null && !leftMostCodeRuleNameString.equals("")){
System.out.println("“文档类别”匹配成功!属性值设置为最左侧选中编码名称="+leftMostCodeRuleNameString); System.out.println("“文档类别”匹配成功!属性值设置为最左侧选中编码名称="+leftMostCodeRuleNameString);

Loading…
Cancel
Save