|
@@ -1,24 +1,29 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
-<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
|
|
|
-<generatorConfiguration >
|
|
|
- <properties resource="jdbc.properties" />
|
|
|
- <classPathEntry location="${classPath}"/>
|
|
|
- <context id="context1" targetRuntime="MyBatis3">
|
|
|
-
|
|
|
- <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://118.190.47.230:3306/cloud_model"
|
|
|
- userId="root" password="p011430seya1026" >
|
|
|
- </jdbcConnection>
|
|
|
- <javaModelGenerator targetPackage="com.js.kbt.model" targetProject="cloud-socket" />
|
|
|
- <sqlMapGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" />
|
|
|
- <javaClientGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" type="XMLMAPPER" />
|
|
|
- <table schema="cloud_model" tableName="time_calibration_record" >
|
|
|
- <generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/>
|
|
|
- </table>
|
|
|
-<!-- <table schema="cloud_model" tableName="tb_mould_equipment" > -->
|
|
|
-<!-- <generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/> -->
|
|
|
-<!-- </table> -->
|
|
|
-<!-- <table schema="cloud_model" tableName="tb_factory" > -->
|
|
|
-<!-- <generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/> -->
|
|
|
-<!-- </table> -->
|
|
|
- </context>
|
|
|
+<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
+<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
|
|
|
+<generatorConfiguration >
|
|
|
+ <properties resource="jdbc.properties" />
|
|
|
+ <classPathEntry location="${classPath}"/>
|
|
|
+ <!-- 下面这行相当于以上两行 -->
|
|
|
+ <!-- <classPathEntry location="D:/mysql-connector-java-5.1.31-bin.jar"/> -->
|
|
|
+ <context id="context1" targetRuntime="MyBatis3">
|
|
|
+
|
|
|
+ <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://118.190.47.230:3306/cloud_model"
|
|
|
+ userId="root" password="p011430seya1026" >
|
|
|
+ </jdbcConnection>
|
|
|
+ <!-- <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/cloud_mould"
|
|
|
+ userId="root" password="102345.." >
|
|
|
+ </jdbcConnection> -->
|
|
|
+ <javaModelGenerator targetPackage="com.js.kbt.model" targetProject="cloud-socket" />
|
|
|
+ <sqlMapGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" />
|
|
|
+ <javaClientGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" type="XMLMAPPER" />
|
|
|
+ <table schema="cloud_mould" tableName="equipment_send_command" >
|
|
|
+ <generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/>
|
|
|
+ </table>
|
|
|
+<!-- <table schema="cloud_model" tableName="tb_mould_equipment" > -->
|
|
|
+<!-- <generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/> -->
|
|
|
+<!-- </table> -->
|
|
|
+<!-- <table schema="cloud_model" tableName="tb_factory" > -->
|
|
|
+<!-- <generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/> -->
|
|
|
+<!-- </table> -->
|
|
|
+ </context>
|
|
|
</generatorConfiguration>
|