Commit d3b5a8d552f00bd33361c5848b3ffe4491278c4c

Authored by louyao
1 parent 5ac17ead
Exists in master

配置修改

pom.xml
... ... @@ -179,7 +179,7 @@
179 179 <configuration>
180 180 <archive>
181 181 <manifest>
182   - <mainClass>com.sincere.report.wechatbusiness.StudentApplication</mainClass>
  182 + <mainClass>com.sincere.wechatbusiness.WechatBusinessApplication</mainClass>
183 183 <addClasspath>true</addClasspath>
184 184 <classpathPrefix>lib/</classpathPrefix>
185 185 </manifest>
... ...
src/main/resources/generatorConfig.xml
... ... @@ -19,7 +19,7 @@
19 19 </commentGenerator>
20 20 <!-- 数据库连接配置 -->
21 21 <jdbcConnection driverClass="com.microsoft.sqlserver.jdbc.SQLServerDriver"
22   - connectionURL="jdbc:sqlserver://60.190.202.57:14333;database=report_voluntary"
  22 + connectionURL="jdbc:sqlserver://60.190.202.57:14333;database=wechatbusiness"
23 23 userId="SZJXTUSER"
24 24 password="xst200919" />
25 25  
... ... @@ -32,12 +32,12 @@
32 32 targetPackage:生成的实体包位置,默认存放在src目录下
33 33 targetProject:目标工程名
34 34 -->
35   - <javaModelGenerator targetPackage="com.sincere.report.model" targetProject="src/main/java" />
  35 + <javaModelGenerator targetPackage="com.sincere.wechatbusiness.model" targetProject="src/main/java" />
36 36  
37 37 <!-- 实体包对应映射文件位置及名称,默认存放在src目录下 -->
38 38 <sqlMapGenerator targetPackage="mapper" targetProject="src/main/resources" />
39 39 <!--生成Dao类存放位置-->
40   - <javaClientGenerator type="XMLMAPPER" targetPackage="com.sincere.report.mapper" targetProject="src/main/java">
  40 + <javaClientGenerator type="XMLMAPPER" targetPackage="com.sincere.wechatbusiness.mapper" targetProject="src/main/java">
41 41 <property name="enableSubPackages" value="true"/>
42 42 </javaClientGenerator>
43 43 <!--生成对应表及类名-->
... ...