Jelajahi Sumber

空格缺失问题修复

zoro 9 bulan lalu
induk
melakukan
410f15208e

+ 1 - 1
src/main/java/com/example/sqlrun/fixSql/MakeTableSpace.java

@@ -105,7 +105,7 @@ public class MakeTableSpace {
     // 根据季度建表空间,3个月为一个季度
     for (Integer i = 0; i < wanted; i++) {
       Integer quarter= WhateQuarter(lastAddTablespaceTime.getMonth() + 1);
-      String targetSql = startSql + DateUtils.getYear(lastAddTablespaceTime) + quarter + "\"" + datafile + "'" + datafilePath + DateUtils.getYear(lastAddTablespaceTime) + quarter + ".DBF" + "'" + " size " + initSize + "M" + " autoextend on next" + nextSize + "M" + " maxsize " + maxSize + "M";
+      String targetSql = startSql + DateUtils.getYear(lastAddTablespaceTime) + quarter + "\"" + datafile + "'" + datafilePath + DateUtils.getYear(lastAddTablespaceTime) + quarter + ".DBF" + "'" + " size " + initSize + "M" + " autoextend on next " + nextSize + "M" + " maxsize " + maxSize + "M";
       HashMap<String, Object> hashMap = new HashMap<>();
       hashMap.put(SpaceEnum.TABLESPACE_SQL.getName(),targetSql);
       hashMap.put(SpaceEnum.DATE.getName(), lastAddTablespaceTime);