修改生成配置

pull/1/head
zhaochencheng 3 years ago
parent 97089a9f5d
commit e977a2922f

@ -25,24 +25,10 @@ public class ApplicationTest {
@Test
public void test2() {
List<String> tableNames = Arrays.asList(
// 以下表前端改动交大
// "wms_item",
// "wms_area" ,
// "wms_carrier",
// "wms_supplier",
// "wms_rack" ,
// 以下表,前端改动不大
// "wms_warehouse" ,
// "wms_customer" ,
// "wms_inventory",
// "wms_inventory_history",
"wms_receipt_order",
"wms_receipt_order_detail"
// "wms_shipment_order",
// "wms_shipment_order_detail",
// "wms_inventory_movement",
// "wms_inventory_movement_detail",
// "wms_delivery"
"mall_pms_brand",
"mall_pms_product_category" ,
"mall_pms_product",
"mall_pms_sku"
);
// 查询表信息
List<GenTable> tableList = genTableService.selectGenTableByName(tableNames);

@ -27,29 +27,29 @@ gen:
# 作者
author: zcc
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
packageName: com.cyl.wms
packageName: com.cyl.mall
# 自动去除表前缀默认是false
autoRemovePre: true
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
tablePrefix: wms_
tablePrefix: mall_
# 一级权限名
rootPermission: wms
rootPermission: mall
# 模板根路径
templateRootPath: vm2
# 路径
path:
# 后端根目录
backPath: C:\Users\zccbbg\ichengle\ruoyi-vue-fork\
backPath: C:\Users\zccbbg\ichengle\ruoyi-mall\
# 后端 service 模块名
serviceModule: wms
serviceModule: ruoyi-mall
# 后端 api 模块名, 默认与 service 一致
apiModule: wms
apiModule: ruoyi-mall
# 前端根目录
frontPath: C:\Users\zccbbg\ichengle\ruoyi-ui\
frontPath: C:\Users\zccbbg\ichengle\ruoyi-mall-vue\
# 前端 api 目录
frontApiPath: src/api/wms
frontApiPath: src/api/mall
# 前端 view 目录
frontViewPath: src/views/wms
frontViewPath: src/views/mall
# sql 目录
sql: sql
# 环境变量

@ -1,13 +0,0 @@
package com.example.ruoyimall;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class RuoyiMallApplication {
public static void main(String[] args) {
SpringApplication.run(RuoyiMallApplication.class, args);
}
}
Loading…
Cancel
Save