소스 검색

chName enName

lenovodn 2 년 전
부모
커밋
04bf691a55

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/controller/FactorEnchanceController.java

@@ -341,7 +341,7 @@ public class FactorEnchanceController extends JeecgController<FactorEnchance, IF
             EventAttr byId = eventAttrService.getById(factorEnchance.getEventAttrId());
             List<String> name = new ArrayList<>();
             if(byId!=null){
-                name.add(byId.getChName()+"("+byId.getChName()+")");
+                name.add(byId.getChName()+"("+byId.getEnName()+")");
             }
             factorEnchance.setOutParamNameList(name);
         }
@@ -420,7 +420,7 @@ public class FactorEnchanceController extends JeecgController<FactorEnchance, IF
                             } else {
 //                                type = "引用属性标识:";
                                 EventAttr two = eventAttrService.lambdaQuery().eq(EventAttr::getId, it.getRefEventAttrId()).one();
-                                text = two.getChName();
+                                text = two.getChName()+ "(" + two.getEnName() + ")";
                             }
                         }
                         String concat = string.concat(one.getChName() + "(" + one.getEnName() + ")")