spring boot framework to automatically generate code based on MVC layer class sql statement created

GITHUB:

https://github.com/lin1270/spring_boot_sql2code

 

Will automatically generate model, mapper, service, controller.

Write code that uses Nodejs. Code style class C.

 

 

Need premise:

1.SQL statement, and stored in the directory.

   Oh using the create statement.

2. Use the command line.

   node _.js className className.sql className

className custom name.

 

If successful, it will generate a file into _result and automatically open the explorer. (Not tested in MAC too)

 

IDEA supports command automatically copied to the directory:

node _.js className className.sql className /c _cfg1.json  

Where / c represents the copy, _cfg1.json configured in the target directory to copy.

 

_type.json specify the type of java sql type conversion.

 

Guess you like

Origin www.cnblogs.com/lin277541/p/10975379.html