Browse Source

2.0 异常修改

pms 1 year ago
parent
commit
5387d743fc

+ 2 - 2
mainFactory/src/main/java/org/bfkj/application/AuthApplicationImpl.java

@@ -403,7 +403,7 @@ public class AuthApplicationImpl {
             tempColumnSet.put(currentMap.get("columnName").toString(), currentMap);
         }
         List<Map<String, Object>> insertList = new ArrayList<>();
-        for (Map<String, Object> columnMap : columnList) {
+        for (Map<String, Object> columnMap : columnList) {    // 全量
             String columnName = columnMap.get("columnName").toString();
             if (OLDColumnList.contains(columnName)) {
                 OLDColumnList.remove(columnName);
@@ -433,7 +433,7 @@ public class AuthApplicationImpl {
             if (Objects.nonNull(tableName)) {
                 sql = " insert into  querytemplatecolumnset(serviceOutPutId,columnName,columnLabel,columnDescribe) values(?,?,?,?)";
             } else {
-                sql = " insert into  querytemplatecolumnset(serviceOutPutId,columnName,columnLabel) values(?,?)";
+                sql = " insert into  querytemplatecolumnset(serviceOutPutId,columnName,columnLabel) values(?,?,?)";
             }
 
             List<Object[]> insertParams = new ArrayList<>();

+ 1 - 1
mainFactory/src/main/resources/application-prod.yml

@@ -34,7 +34,7 @@ mydb:
   title: ${MYDB_USER:root}
   cipher: ${MYDB_PASSWD:QtrmuqDw^bJu$}
   type: ${MYDB_DRIVER:com.mysql.cj.jdbc.Driver}
-  serviceURL: ${MY_SERVICE_URL:127.99.99:00}
+  serviceURL: ${MY_SERVICE_URL:127.0.0.1:8080}
 
 #isEs:
 #  open: true