java code generation tool

Code generation based on Spring SpringMVC MyBatis Oracle The specific source code is in the attachment

Generate code directory: below d:/code

Include:

mybatis interface and corresponding xml

service

controller

and web interface

Instructions:

1. Oracle builds database tables (note: the Comment of the data table must have content and cannot be empty)

2, base.properties to generate data table configuration

eg:

#package name, object name, data table name, primary key name, table name

1=tts,Xmxs,YB_XMXS,pk_xmxs,livestock sales

The first package name can be left blank

3. Modify the database connection in DbUtility.java

4. Run the main method in SSMRunMain

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326779485&siteId=291194637