代码调整
This commit is contained in:
@@ -19,9 +19,9 @@ import java.util.stream.Stream;
|
||||
*/
|
||||
public class GenerateCode {
|
||||
|
||||
private static final String TARGET_DIR = "C://code";
|
||||
private static final String TARGET_DIR = "D://code";
|
||||
|
||||
private static final String DB_URL = "jdbc:mysql://192.168.1.18:13306/pqsinfo_test";
|
||||
private static final String DB_URL = "jdbc:mysql://192.168.1.18:13306/pqsinfo_hb_pv";
|
||||
|
||||
private static final String USERNAME = "root";
|
||||
|
||||
@@ -30,8 +30,8 @@ public class GenerateCode {
|
||||
|
||||
public static void main(String[] args) {
|
||||
List<Module> modules = Stream.of(
|
||||
new Module("xuyang", "com.njcn.access", "zl", Stream.of(
|
||||
"ele_epd_pqd"
|
||||
new Module("hongawen", "com.hongawen.mybatis", "zl", Stream.of(
|
||||
"r_dis_mp_measure_phase_report_d"
|
||||
).collect(Collectors.toList()), "")
|
||||
).collect(Collectors.toList());
|
||||
generateJavaFile(modules);
|
||||
|
||||
Reference in New Issue
Block a user