소스 검색

格式化的bug

4.1.3.A
jueyue 9 년 전
부모
커밋
462bae0ecf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/template/ExcelExportOfTemplateUtil.java

+ 2
- 2
easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/template/ExcelExportOfTemplateUtil.java 파일 보기

@@ -314,7 +314,7 @@ public final class ExcelExportOfTemplateUtil extends ExcelExportBase {
boolean isNumber = false;
if (isNumber(oldString)) {
isNumber = true;
oldString = oldString.replace(NUMBER_SYMBOL, "");
oldString = oldString.replaceFirst(NUMBER_SYMBOL, "");
}
while (oldString.indexOf(START_STR) != -1) {
params = oldString.substring(oldString.indexOf(START_STR) + 2,
@@ -450,7 +450,7 @@ public final class ExcelExportOfTemplateUtil extends ExcelExportBase {
String tempStr = new String(params.getName());
if (isNumber(tempStr)) {
isNumber = true;
tempStr = tempStr.replace(NUMBER_SYMBOL, "");
tempStr = tempStr.replaceFirst(NUMBER_SYMBOL, "");
}
map.put(teplateParams.getTempParams(), t);
val = eval(tempStr, map).toString();


불러오는 중...
취소
저장