commit
844aa24b43
@ -156,6 +156,9 @@ public class GenTable implements Serializable
|
|||||||
/** 备注 */
|
/** 备注 */
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
|
/** 编辑页列数 */
|
||||||
|
private Integer editColumns;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 请求参数
|
* 请求参数
|
||||||
*/
|
*/
|
||||||
|
@ -70,6 +70,8 @@ public class VelocityUtils {
|
|||||||
velocityContext.put("columns", genTable.getColumns());
|
velocityContext.put("columns", genTable.getColumns());
|
||||||
velocityContext.put("table", genTable);
|
velocityContext.put("table", genTable);
|
||||||
velocityContext.put("dicts", getDicts(genTable));
|
velocityContext.put("dicts", getDicts(genTable));
|
||||||
|
/* 编辑页列数*/
|
||||||
|
velocityContext.put("editColumns", genTable.getEditColumns());
|
||||||
setMenuVelocityContext(velocityContext, genTable);
|
setMenuVelocityContext(velocityContext, genTable);
|
||||||
if (GenConstants.TPL_TREE.equals(tplCategory)) {
|
if (GenConstants.TPL_TREE.equals(tplCategory)) {
|
||||||
setTreeVelocityContext(velocityContext, genTable);
|
setTreeVelocityContext(velocityContext, genTable);
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -72,3 +72,6 @@ insert into sys_menu values('130', 'EasyRetry控制台', '2', '6', 'easyret
|
|||||||
-- 增加ancestors字段
|
-- 增加ancestors字段
|
||||||
ALTER TABLE `mf_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
ALTER TABLE `mf_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
||||||
ALTER TABLE `demo_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
ALTER TABLE `demo_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
||||||
|
|
||||||
|
--增加edit_columns字段
|
||||||
|
ALTER TABLE `gen_table` ADD COLUMN `edit_columns` TINYINT NULL DEFAULT 1 AFTER `remark`;
|
||||||
|
@ -133,3 +133,6 @@ insert into sys_menu values('130', 'EasyRetry控制台', '2', '6', 'easyret
|
|||||||
-- 增加ancestors字段
|
-- 增加ancestors字段
|
||||||
ALTER TABLE "mf_product" ADD "ancestors" VARCHAR(760) NULL;
|
ALTER TABLE "mf_product" ADD "ancestors" VARCHAR(760) NULL;
|
||||||
COMMENT ON COLUMN "mf_product"."ancestors" IS '祖级列表';
|
COMMENT ON COLUMN "mf_product"."ancestors" IS '祖级列表';
|
||||||
|
|
||||||
|
--增加edit_columns字段
|
||||||
|
ALTER TABLE `gen_table` ADD COLUMN `edit_columns` TINYINT NULL DEFAULT 1 AFTER `remark`;
|
||||||
|
Loading…
Reference in New Issue
Block a user