Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
9ebb771ff5
|
@ -16,23 +16,13 @@ import java.nio.file.Paths;
|
||||||
public class CodeGenerator {
|
public class CodeGenerator {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
String tables="drug_delivery_note_apply_info,\n" +
|
String tables="drug_delivery_note_apply_info";// 生成多个指定表,逗号分隔
|
||||||
"drug_import_apply_info,\n" +
|
|
||||||
"drug_invoice_apply_info,\n" +
|
|
||||||
"drug_recall_apply_info,\n" +
|
|
||||||
"drug_retail_and_use_apply_info,\n" +
|
|
||||||
"drug_self_inspection_apply_info,\n" +
|
|
||||||
"imported_drug_base_info,\n" +
|
|
||||||
"pharmaceutical_trading_enterprises_base_info,\n" +
|
|
||||||
"receipt_and_storage_device_rel_temperature_apply_info,\n" +
|
|
||||||
"storage_device_temperature_apply_info,\n" +
|
|
||||||
"transport_temperature_apply_info,\n" +
|
|
||||||
"warehouse_stock_apply_info";// 生成多个指定表,逗号分隔
|
|
||||||
FastAutoGenerator.create("jdbc:mysql://47.109.202.121:3306/supervisionx_trace_data", "root", "TCCT3.1415926")
|
FastAutoGenerator.create("jdbc:mysql://47.109.202.121:3306/supervisionx_trace_data", "root", "TCCT3.1415926")
|
||||||
.globalConfig(builder -> builder
|
.globalConfig(builder -> builder
|
||||||
.author("Jason")
|
.author("Jason")
|
||||||
.outputDir(Paths.get(System.getProperty("user.dir")) + "/src/main/java")
|
.outputDir(Paths.get(System.getProperty("user.dir")) + "/src/main/java")
|
||||||
.commentDate("yyyy-MM-dd")
|
.commentDate("yyyy-MM-dd")
|
||||||
|
.fileOverride() // 显式启用覆盖(默认行为)
|
||||||
)
|
)
|
||||||
.packageConfig(builder -> builder
|
.packageConfig(builder -> builder
|
||||||
.parent("com.alihealth.d2d.provtest")
|
.parent("com.alihealth.d2d.provtest")
|
||||||
|
|
Loading…
Reference in New Issue