亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

正在回答

2 回答

<?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>
????<context?id="DB2Tables"????targetRuntime="MyBatis3">
????????<!--數據庫鏈接地址賬號密碼-->
????????<jdbcConnection?driverClass="com.mysql.jdbc.Driver"?connectionURL="jdbc:mysql://localhost:3306/miaosha"?userId="root"?password="root">
????????</jdbcConnection>
????????<!--生成DataObject類的存放位置-->
????????<javaModelGenerator?targetPackage="com.miaoshaproject.dataobject"
????????????????????????????targetProject="src/main/java">
????????????<property?name="enableSubPackages"?value="false"?/>
????????????<property?name="trimStrings"?value="true"?/>
????????</javaModelGenerator>
????????<!--生成映射文件存放位置-->
????????<sqlMapGenerator?targetPackage="mapping"
?????????????????????????targetProject="src/main/resources">
????????????<property?name="enableSubPackages"?value="true"?/>
????????</sqlMapGenerator>
??????????<!--生成Dao類存放位置-->
????????<javaClientGenerator?targetPackage="com.miaoshaproject.dao"?targetProject="src/main/java"
?????????????????????????????type="XMLMAPPER">
????????????<property?name="enableSubPackages"?value="true"?/>
????????</javaClientGenerator>
????????<!--生成對應表及類名-->
????????<table?tableName="user_info"?domainObjectName="UserDO"??enableCountByExample="false"
???????????????enableUpdateByExample="false"?enableDeleteByExample="false"
???????????????enableSelectByExample="false"?selectByExampleQueryId="false"></table>
????????<table?tableName="user_password"?domainObjectName="UserPasswordDO"??enableCountByExample="false"
???????????????enableUpdateByExample="false"?enableDeleteByExample="false"
???????????????enableSelectByExample="false"?selectByExampleQueryId="false"?></table>
????</context>
</generatorConfiguration>


0 回復 有任何疑惑可以回復我~
<?xml?version="1.0"encoding="UTF-8"?>
<!DOCTYPE?generatorConfiguration?PUBLIC"-//mybat?is.org//DTD?MyBatis?Generator?Configuration?1.0//EN"
????????"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
????<context?id="DB2Tables"?targetRuntime="MyBatis3">
????????<!--數據庫鏈接地址賬號密碼-->
????????<jdbcConnection?driverClass="com.mysql.jdbc.Driver"?connectionURL="***"?userId="root"?password="">
????????</jdbcConnection>
????????<!--生成Model類存放位置-->
????????<javalodetGenerator?targetPackage="***"?targetProject="src/main/java">
????????????<property?name="enableSubPackages"?value="true"/>
????????????<property?name="trimStrings"?value="true"/>
????????</javalodetGenerator>
????</context>
????<!--生成映射文件存放位量-->
????<sqlapcenerator?targetPackage="mapping"?targetProject="src/main/resources">
????????<property?name="enableSubPackages"?value="true"/>
????</sqlapcenerator>
????<!--生成Dao類存故位理-->
????<!--客戶縮代碼,生成易于使用的針對Mode1對象和XL配置文件的代碼
????????type="ANNOTATEDMAPPER",生成Java?Model?和基于注解的Mapper對象
????????type="MIXEDMAPPER",生成基于注解的Java?Model和相應的Mapper對象
????????type="XMLMAPPER",生成SQLMapXML文件和獨立的Mapper接口
????-->
????<javaCLtentGenerator?type="XMLMAPPER"?targetPackage="***"?targetProject="src/main/java">
????????<property?name="enableSubPackages"?value="true"/>
????</javaCLtentGenerator>
????<!--生成對應表及類名-->
</generatorConfiguration>


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
SpringBoot構建電商基礎秒殺項目
  • 參與學習       49409    人
  • 解答問題       978    個

應用SpringBoot快速搭建擁有用戶、商品、交易及秒殺活動的電商秒殺應用。

進入課程

關于源碼下載

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號