From 3d7b2392f398d36116a44bd68d7bb4242d8e8154 Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: 星期三, 04 八月 2021 15:42:33 +0800
Subject: [PATCH] 修改姑苏配置
---
generator/sql.xml | 12 ++++++------
src/main/webapp/WEB-INF/gslab/gslab.properties | 6 +++---
src/main/webapp/WEB-INF/test/test.properties | 10 +++++-----
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/generator/sql.xml b/generator/sql.xml
index 9c69306..a501905 100644
--- a/generator/sql.xml
+++ b/generator/sql.xml
@@ -2,7 +2,7 @@
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<!-- 数据库驱动包位置 -->
- <classPathEntry location="D:\workspace\smartlab\generator\mysql-connector-java-5.1.26-bin.jar" />
+ <classPathEntry location="E:\GK_CODE\smartlab\generator\mysql-connector-java-5.1.26-bin.jar" />
<!--<classPathEntry location="C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar" />-->
<context id="DB2Tables" targetRuntime="MyBatis3">
<property name="javaFileEncoding" value="UTF-8"/>
@@ -10,26 +10,26 @@
<property name="suppressAllComments" value="false" />
</commentGenerator>
<!-- 数据库链接URL、用户名、密码 -->
- <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/smartlabdb" userId="root" password="123456">
+ <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://139.196.181.203:3306/smartlabdb_test" userId="root" password="GKHY@root20201!">
<!--<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@localhost:1521:orcl" userId="msa" password="msa">-->
</jdbcConnection>
<javaTypeResolver>
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<!-- 生成模型的包名和位置 -->
- <javaModelGenerator targetPackage="com.nanometer.smartlab.entity" targetProject="D:\workspace\smartlab\src\main\java\">
+ <javaModelGenerator targetPackage="com.nanometer.smartlab.entity" targetProject="E:\GK_CODE\smartlab\src\main\java\">
<property name="enableSubPackages" value="true" />
<property name="trimStrings" value="true" />
</javaModelGenerator>
<!-- 生成的xml映射文件包名和位置 -->
- <sqlMapGenerator targetPackage="com.nanometer.smartlab.dao" targetProject="D:\workspace\smartlab\src\main\java\">
+ <sqlMapGenerator targetPackage="com.nanometer.smartlab.dao" targetProject="E:\GK_CODE\smartlab\src\main\java\">
<property name="enableSubPackages" value="true" />
</sqlMapGenerator>
<!-- 生成DAO的包名和位置 -->
- <javaClientGenerator type="XMLMAPPER" targetPackage="com.nanometer.smartlab.dao" targetProject="D:\workspace\smartlab\src\main\java\">
+ <javaClientGenerator type="XMLMAPPER" targetPackage="com.nanometer.smartlab.dao" targetProject="E:\GK_CODE\smartlab\src\main\java\">
<property name="enableSubPackages" value="true" />
</javaClientGenerator>
<!-- 要生成那些表(更改tableName和domainObjectName就可以) -->
- <table tableName="sys_dangerous_encode" domainObjectName="DangerousEncode" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false" />
+ <table tableName="sys_hazardous_waste" domainObjectName="HazardousWaste" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false" />
</context>
</generatorConfiguration>
diff --git a/src/main/webapp/WEB-INF/gslab/gslab.properties b/src/main/webapp/WEB-INF/gslab/gslab.properties
index 36cf63e..a2cbf01 100644
--- a/src/main/webapp/WEB-INF/gslab/gslab.properties
+++ b/src/main/webapp/WEB-INF/gslab/gslab.properties
@@ -1,10 +1,10 @@
-jdbc.url=jdbc:mysql://139.196.181.203:3306/gslab_smartlabdb?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
+jdbc.url=jdbc:mysql://192.168.0.228:3306/smartlabdb?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
jdbc.username=root
-jdbc.password=GKHY@root20201!
+jdbc.password=Gslab@uss2021!
institute.id = 38
institute.name = \u6750\u6599\u79D1\u5B66\u59D1\u82CF\u5B9E\u9A8C\u5BA4
-institute.url = http://gslab.sinanoaq.cn:8003
+institute.url = http://222.92.16.2:18082
institute.app.id =
institute.app.secret =
alarm.url =
diff --git a/src/main/webapp/WEB-INF/test/test.properties b/src/main/webapp/WEB-INF/test/test.properties
index 15a5f91..1c0da8d 100644
--- a/src/main/webapp/WEB-INF/test/test.properties
+++ b/src/main/webapp/WEB-INF/test/test.properties
@@ -1,10 +1,10 @@
-jdbc.url=jdbc:mysql://139.196.181.203:3306/smartlabdb_test?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
+jdbc.url=jdbc:mysql://139.196.181.203:3306/gslab_smartlabdb_test?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
jdbc.username=root
jdbc.password=GKHY@root20201!
institute.id = 2
-institute.name = \u4E2D\u56FD\u79D1\u5B66\u9662\u82CF\u5DDE\u7EB3\u7C73\u6280\u672F\u4E0E\u7EB3\u7C73\u4EFF\u751F\u7814\u7A76\u6240
+institute.name = \u6750\u6599\u79D1\u5B66\u59D1\u82CF\u5B9E\u9A8C\u5BA4
institute.url = https://sinanoaq.cn:8002
-institute.app.id = wx81a00e3350861b25
-institute.app.secret = c307d394875af2cbbe25e01b9e43dcb2
-alarm.url = http://sinanoaq.com/daping/sendWarnInfo.json
+institute.app.id =
+institute.app.secret =
+alarm.url =
--
Gitblit v1.9.2