Browse Source

测试环境修改

Signed-off-by: anderx <312518615@qq.com>
anderx 5 years ago
parent
commit
6608068268

+ 3 - 2
src/main/java/com/goafanti/demandCollection/service/impl/DemandCollectionServiceImpl.java

@@ -262,8 +262,8 @@ public class DemandCollectionServiceImpl extends BaseMybatisDao<DemandCollection
 			 out.flush();
 			 out.close();
 		} catch (Exception e) {
-			
-			throw new BusinessException(new Error("表格生成错误。"));
+			e.printStackTrace();
+			throw new BusinessException(new Error("表格生成错误。"),e);
 		}finally {
 			out.flush(); 
 			 out.close(); 
@@ -304,6 +304,7 @@ public class DemandCollectionServiceImpl extends BaseMybatisDao<DemandCollection
 				return 1;
 			}
 		}
+		
 		return 0;
 	}
 }

+ 3 - 4
src/main/resources/props/config_local.properties

@@ -3,7 +3,7 @@ jdbc.driverClassName=com.mysql.jdbc.Driver
 #jdbc.url=jdbc:mysql://localhost:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
 #jdbc.username=dev
 #jdbc.password=123456
-jdbc.url=jdbc:mysql://101.37.32.31:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+jdbc.url=jdbc:mysql://101.37.32.31:3306/aft20200901?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
 jdbc.username=root
 jdbc.password=aftdev
 jdbc.validationQuery=SELECT 'x'
@@ -40,9 +40,8 @@ template.cacheable=false
 
 static.host=//ss.jishutao.com/client/1.2.5
 portal.host=//ss.jishutao.com/portal/1.2.5
-skjt.host=//statics.jishutao.com/skjt
-skjt.userName=admin
-skjt.password=asd123..
+skjt.host=//statics.jishutao.com/skjt/1.3
+
 #本地
 #static.host=//sclient.jishutao.com:8088/client/1.0.2
 #portal.host=//sportal.jishutao.com:80/portal/1.0.2

+ 1 - 1
src/main/resources/props/config_test.properties

@@ -1,7 +1,7 @@
 #Driver
 jdbc.driverClassName=com.mysql.jdbc.Driver
 #\u6570\u636e\u5e93\u94fe\u63a5\uff0c
-jdbc.url=jdbc:mysql://127.0.0.1:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+jdbc.url=jdbc:mysql://127.0.0.1:3306/aft20200901?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
 #\u5e10\u53f7
 jdbc.username=root
 #\u5bc6\u7801