diff --git a/generator/src/main/java/com/foreverwin/minth/generator/GeneratorApplication.java b/generator/src/main/java/com/foreverwin/minth/generator/GeneratorApplication.java index 38313fb2..76b96e5e 100644 --- a/generator/src/main/java/com/foreverwin/minth/generator/GeneratorApplication.java +++ b/generator/src/main/java/com/foreverwin/minth/generator/GeneratorApplication.java @@ -20,22 +20,22 @@ public class GeneratorApplication { DataSourceConfig dataSourceConfig = new DataSourceConfig(); dataSourceConfig.setDbType( DbType.ORACLE ); - dataSourceConfig.setDriverName( "com.sap.db.jdbc.Driver" ); + /*dataSourceConfig.setDriverName( "com.sap.db.jdbc.Driver" ); dataSourceConfig.setUrl( "jdbc:sap:10.18.8.21:30122" ); dataSourceConfig.setUsername( "wip" ); dataSourceConfig.setPassword( "Minth@2020" ); dataSourceConfig.setDbQuery( new HanaQuery() ); - dataSourceConfig.setTypeConvert( new HanaTypeConvert() ); - /*dataSourceConfig.setDriverName( "oracle.jdbc.OracleDriver" ); + dataSourceConfig.setTypeConvert( new HanaTypeConvert() );*/ + dataSourceConfig.setDriverName( "oracle.jdbc.OracleDriver" ); dataSourceConfig.setUrl( "jdbc:oracle:thin:@113.98.201.217:1521:ORD" ); dataSourceConfig.setUsername( "WIP" ); dataSourceConfig.setPassword( "wip" ); - dataSourceConfig.setTypeConvert( new OracleTypeConvert() );*/ + dataSourceConfig.setTypeConvert( new OracleTypeConvert() ); MpGenerator mpGenerator = mpGeneratorBuilder.dataSourceConfig(dataSourceConfig) .tablePrefix( "APS_", "DS_", "Z_" ) - .packageName( "com.foreverwin.minth.production" ) - .tables("Z_PLATING_LOAD_UP_SN") - .author("Faramita Zhao") + .packageName( "com.foreverwin.mesnac.meapi" ) + .tables("SHOP_ORDER") + .author("Leon.L") .uiAppId("com.foreverwin.me") .uiPackage("com.foreverwin.me.migration") .build();