模块管理

This commit is contained in:
2026-01-09 17:59:45 +08:00
parent 463908dfeb
commit 433830f2a1
15 changed files with 291 additions and 39 deletions

View File

@@ -26,6 +26,11 @@ public class FunItemDef extends TableDef {
*/
public final QueryColumn ID = new QueryColumn(this, "id");
/**
* 功能ID
*/
public final QueryColumn ITEM_ID = new QueryColumn(this, "item_id");
/**
* 说明
*/
@@ -47,7 +52,7 @@ public class FunItemDef extends TableDef {
public final QueryColumn ITEM_NAME = new QueryColumn(this, "item_name");
/**
* 模块ID
* 模块ID(表主键ID)
*/
public final QueryColumn MODULE_ID = new QueryColumn(this, "module_id");
@@ -64,7 +69,7 @@ public class FunItemDef extends TableDef {
/**
* 默认字段,不包含逻辑删除或者 large 等字段。
*/
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, MODULE_ID, ITEM_NAME, ITEM_CODE, IS_TENANT, DESCRIBE, SORT_ORDER};
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, MODULE_ID, ITEM_NAME, ITEM_CODE, IS_TENANT, DESCRIBE, SORT_ORDER, ITEM_ID};
public FunItemDef() {
super("", "cg_fun_item");

View File

@@ -27,7 +27,7 @@ public class FunOperationDef extends TableDef {
public final QueryColumn ID = new QueryColumn(this, "id");
/**
* 功能ID
* 功能ID(表主键ID)
*/
public final QueryColumn ITEM_ID = new QueryColumn(this, "item_id");
@@ -47,7 +47,7 @@ public class FunOperationDef extends TableDef {
public final QueryColumn DESCRIBE = new QueryColumn(this, "describe");
/**
* 模块ID
* 模块ID(表主键ID)
*/
public final QueryColumn MODULE_ID = new QueryColumn(this, "module_id");
@@ -61,6 +61,11 @@ public class FunOperationDef extends TableDef {
*/
public final QueryColumn FIELD_COFNIG = new QueryColumn(this, "field_cofnig");
/**
* 操作ID
*/
public final QueryColumn OPERATION_ID = new QueryColumn(this, "operation_id");
/**
* 请求类型
*/
@@ -89,7 +94,7 @@ public class FunOperationDef extends TableDef {
/**
* 默认字段,不包含逻辑删除或者 large 等字段。
*/
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, MODULE_ID, ITEM_ID, IS_GREEN_LIGHT, FUN_NAME, OPERATION_CODE, FUN_TYPE, REQUEST_TYPE, USABLE_CONFIG, FIELD_COFNIG, SORT_ORDER, DESCRIBE};
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, MODULE_ID, ITEM_ID, IS_GREEN_LIGHT, FUN_NAME, OPERATION_CODE, FUN_TYPE, REQUEST_TYPE, USABLE_CONFIG, FIELD_COFNIG, SORT_ORDER, DESCRIBE, OPERATION_ID};
public FunOperationDef() {
super("", "cg_fun_operation");