Browse Source

REPORT-58136 远程设计无法新建决策报表

final/10.0
Henry.Wang 3 years ago
parent
commit
a1ddd98940
  1. 3
      designer-base/src/main/java/com/fr/design/mainframe/JTemplateNameHelper.java

3
designer-base/src/main/java/com/fr/design/mainframe/JTemplateNameHelper.java

@ -53,6 +53,9 @@ public class JTemplateNameHelper {
* @Date 2021/4/9 11:13 * @Date 2021/4/9 11:13
**/ **/
private static Integer getFileNameIndex(String prefix, String fileName) { private static Integer getFileNameIndex(String prefix, String fileName) {
if (fileName.length() <= prefix.length()) {
return null;
}
char[] chars = new char[fileName.length()]; char[] chars = new char[fileName.length()];
int i = 0; int i = 0;
for (; i < fileName.length(); i++) { for (; i < fileName.length(); i++) {

Loading…
Cancel
Save