mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-13 07:21:38 +08:00
创建OrderModel和数据表,并使用mybatis-generator生成Mappder文件
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<context id="DB2Tables" targetRuntime="MyBatis3">
|
||||
<!-- 数据库链接地址账号密码 -->
|
||||
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
|
||||
connectionURL="jdbc:mysql://127.0.0.1:3306/flashsale?serverTimezone=Asia/Shanghai"
|
||||
connectionURL="jdbc:mysql://127.0.0.1:3306/flashsale?serverTimezone=Asia/Shanghai&useSSL=false"
|
||||
userId="root"
|
||||
password="111111">
|
||||
</jdbcConnection>
|
||||
@@ -53,6 +53,9 @@
|
||||
<!--<table tableName="item_stock" domainObjectName="ItemStockDO" enableCountByExample="false"-->
|
||||
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
|
||||
<!-- selectByExampleQueryId="false"></table>-->
|
||||
<!--<table tableName="order_info" domainObjectName="OrderDO" enableCountByExample="false"-->
|
||||
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
|
||||
<!-- selectByExampleQueryId="false"></table>-->
|
||||
|
||||
</context>
|
||||
</generatorConfiguration>
|
Reference in New Issue
Block a user