Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
d19ebe9f
Commit
d19ebe9f
authored
Mar 07, 2023
by
msgroup
Committed by
mingsoft
Mar 07, 2023
Browse files
fix: 修复菜单数据
parent
cfbedd5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/5.2.12-up-5.3.0.sql
View file @
d19ebe9f
...
...
@@ -36,7 +36,7 @@ CREATE TABLE `mdiy_tag` (
`NOT_DEL`
int
(
1
)
DEFAULT
'0'
COMMENT
'1为不能删除,主要用于系统默认数据,0为一般数据,主要是前端控制'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
12
DEFAULT
CHARSET
=
utf8
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'标签'
;
UPDATE
`model`
SET
`model_url`
=
'basic/app/app.do'
WHERE
`model_url`
=
'basic/app/-1/edit.do'
;
INSERT
INTO
`mdiy_tag`
(
`id`
,
`tag_name`
,
`tag_type`
,
`tag_sql`
,
`tag_class`
,
`tag_description`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
,
`NOT_DEL`
)
VALUES
(
3
,
'arclist'
,
'list'
,
'<#assign _typeid=
\'\'
/>
\n
<#assign _typetitle=
\'\'
/>
\n
<#assign _size=
\'
20
\'
/>
\n\n
<#if column?? && column.id?? && column.id?number gt 0>
\n
<#assign _typeid=
\'
${column.id}
\'
>
\n
</#if>
\n\n
<#if typeid??>
\n
<#assign _typeid=
\'
${typeid}
\'
>
\n
</#if>
\n\n
<#if typetitle??>
\n
<#assign _typetitle=
\'
${typetitle}
\'
>
\n
</#if>
\n\n
<#if size??>
\n
<#assign _size=
\'
${size}
\'
>
\n
</#if>
\n\n
<#if orderby?? >
\n
<#if orderby==
\'
date
\'
>
\n
<#assign _orderby=
\'
content_datetime
\'
>
\n
<#elseif orderby==
\'
updatedate
\'
>
\n
<#assign _orderby=
\'
cms_content.update_date
\'
>
\n
<#elseif orderby==
\'
hit
\'
>
\n
<#assign _orderby=
\'
content_hit
\'
>
\n
<#elseif orderby==
\'
sort
\'
>
\n
<#assign _orderby=
\'
content_sort
\'
>
\n
<#else>
\n
<#assign _orderby=
\'
cms_content.content_datetime
\'
>
\n
</#if>
\n
<#else>
\n
<#assign _orderby=
\'
cms_content.content_datetime
\'
>
\n
</#if>
\n\n
SELECT
\n
cms_content.id AS id,
\n
content_title AS title,
\n
content_title AS fulltitle,
\n
content_author AS author,
\n
content_source AS source,
\n
content_out_link AS outlink,
\n
category.category_title AS typetitle,
\n
category.id AS typeid,
\n
category.category_path AS typepath,
\n
category.category_img AS typelitpic,
\n
category.category_keyword as typekeyword,
\n
category.top_id as topId,
\n
category.category_parent_ids as parentids,
\n
category.category_type AS
\"
type
\"
,
\n\n
<#--列表页动态链接-->
\n
<#if isDo?? && isDo>
\n
CONCAT(
\'
${modelName}/list.do?style=${appTemplate!
\"\"
}&typeid=
\'
, category.category_id) as typelink,
\n
<#else>
\n
<#if shortSwitch?? && shortSwitch>
\n\n
(SELECT CONCAT(
\'
/
\'
,category.category_pinyin,
\'
.html
\'
)) AS typelink,
\n
<#else>
\n\n
(SELECT CONCAT(category_path,
\'
/index.html
\'
)) AS typelink,
\n
</#if>
\n
</#if>
\n
content_description AS descrip,
\n
content_hit AS hit,
\n
content_type AS flag,
\n
cms_content.content_keyword AS keyword,
\n
content_img AS litpic,
\n\n
<#--内容页动态链接-->
\n
<#if isDo?? && isDo>
\n
CONCAT(
\'
/${modelName}/view.do?style=${appTemplate!
\"\"
}&id=
\'
, cms_content.id) as
\"
link
\"
,
\n
<#else>
\n
<#if shortSwitch?? && shortSwitch>
\n
CONCAT(
\'
/
\'
,cms_content.id,
\'
.html
\'
) AS
\"
link
\"
,
\n
<#else>
\n
CONCAT(category.category_path,
\'
/
\'
,if(category_type=2,
\"
index
\"
,cms_content.id),
\'
.html
\'
) AS
\"
link
\"
,
\n
</#if>
\n
</#if>
\n\n
<#if tableName??>${tableName}.*,</#if>
\n
content_datetime AS
\"
date
\"\n
FROM
\n
cms_content LEFT JOIN cms_category as category
\n
ON cms_content.category_id = category.id
\n\n
<#--判断是否有自定义模型表-->
\n
<#if tableName??>
\n
LEFT JOIN ${tableName} ON ${tableName}.link_id=cms_content.id
\n
</#if>
\n
WHERE
\n
content_display=0
\n
and cms_content.del=0
\n
<#--根据站点编号查询-->
\n
<#if appId?? >
\n
and cms_content.app_id=${appId}
\n
and cms_content.id>0
\n
</#if>
\n
<#--判断是否有搜索分类集合-->
\n
<#if search?? >
\n
<#if search.categoryIds?has_content>and FIND_IN_SET(category.id,
\'
${search.categoryIds}
\'
)</#if>
\n
<#--标题-->
\n
<#if search.content_title??> and content_title like CONCAT(
\'
%
\'
,
\'
${search.content_title}
\'
,
\'
%
\'
)</#if>
\n
<#--作者-->
\n
<#if search.content_author??> and content_author like CONCAT(
\'
%
\'
,
\'
${search.content_author}
\'
,
\'
%
\'
)</#if>
\n
<#--来源-->
\n
<#if search.content_source??> and content_source like CONCAT(
\'
%
\'
,
\'
${search.content_source}
\'
,
\'
%
\'
)</#if>
\n
<#--属性-->
\n
<#if search.content_type??> and (
\n
<#list search.content_type?split(
\'
,
\'
) as item>
\n
<#if item?index gt 0> or</#if>
\n
FIND_IN_SET(
\'
${item}
\'
,cms_content.content_type)
\n
</#list>)
\n
</#if>
\n\n
<#--描述-->
\n
<#if search.content_description??>
\n
and content_description like CONCAT(
\'
%
\'
,
\'
${search.content_description}
\'
,
\'
%
\'
)
\n
</#if>
\n\n
<#--关键字-->
\n
<#if search.content_keyword??> and content_keyword like CONCAT(
\'
%
\'
,
\'
${search.content_keyword}
\'
,
\'
%
\'
)</#if>
\n\n
<#--内容-->
\n
<#if search.content_details??> and content_details like CONCAT(
\'
%
\'
,
\'
${search.content_details}
\'
,
\'
%
\'
)</#if>
\n\n
<#--自定义顺序-->
\n
<#if search.content_sort??> and content_sort=${search.content_sort}</#if>
\n
<#--时间范围-->
\n
<#if search.content_datetime_start??&&search.content_datetime_end??>
\n
and content_datetime between
\'
${search.content_datetime_start}
\'
and
\'
${search.content_datetime_end}
\'\n
</#if>
\n
<#else>
\n
<#--查询栏目-->
\n
<#if _typeid?has_content>
\n
and (cms_content.category_id=${_typeid} or cms_content.category_id in (select id FROM cms_category where cms_category.del=0
\n
<#if _typetitle?has_content>
\n
and cms_category.category_title=
\'
${_typetitle}
\'
</#if> and FIND_IN_SET(${_typeid},CATEGORY_PARENT_IDS)))
\n
</#if>
\n
</#if>
\n
<#--标题-->
\n
<#if content_title??> and content_title like CONCAT(
\'
%
\'
,
\'
${content_title}
\'
,
\'
%
\'
)</#if>
\n
<#--作者-->
\n
<#if content_author??> and content_author like CONCAT(
\'
%
\'
,
\'
${content_author}
\'
,
\'
%
\'
)</#if>
\n
<#--来源-->
\n
<#if content_source??> and content_source like CONCAT(
\'
%
\'
,
\'
${content_source}
\'
,
\'
%
\'
)</#if>
\n
<#--属性-->
\n
<#if content_type??> and content_type like CONCAT(
\'
%
\'
,
\'
${content_type}
\'
,
\'
%
\'
)</#if>
\n
<#--描述-->
\n
<#if content_description??> and content_description like CONCAT(
\'
%
\'
,
\'
${content_description}
\'
,
\'
%
\'
)</#if>
\n
<#--关键字-->
\n
<#if content_keyword??> and content_keyword like CONCAT(
\'
%
\'
,
\'
${content_keyword}
\'
,
\'
%
\'
)</#if>
\n
<#--内容-->
\n
<#if content_details??> and content_details like CONCAT(
\'
%
\'
,
\'
${content_details}
\'
,
\'
%
\'
)</#if>
\n
<#--自定义顺序-->
\n
<#if content_sort??> and content_sort=${content_sort}</#if>
\n
<#--自定义模型-->
\n
<#if diyModel??>
\n
<#list diyModel as dm>
\n
<#assign json=
\"
${dm}
\"
?eval />
\n
and ${tableName}.${json.key} like CONCAT(
\'
%
\'
,
\'
${json.value}
\'
,
\'
%
\'
)
\n
</#list>
\n
</#if>
\n
<#--文章属性-->
\n
<#if flag?? >
\n
and(
\n
<#list flag?split(
\'
,
\'
) as item>
\n
<#if item?index gt 0> or</#if>
\n
FIND_IN_SET(
\'
${item}
\'
,cms_content.content_type)
\n
</#list>)
\n
</#if>
\n
<#if noflag??>
\n
and(
\n
<#list noflag?split(
\'
,
\'
) as item>
\n
<#if item?index gt 0> and</#if>
\n
FIND_IN_SET(
\'
${item}
\'
,cms_content.content_type)=0
\n
</#list> or cms_content.content_type is null)
\n
</#if>
\n\n
<#--字段排序-->
\n
<#if orderby?? >
\n
ORDER BY
\n
<#if orderby==
\'
date
\'
> content_datetime
\n
<#elseif orderby==
\'
updatedate
\'
> cms_content.update_date
\n
<#elseif orderby==
\'
hit
\'
> content_hit
\n
<#elseif orderby==
\'
sort
\'
> content_sort
\n
<#else>
\n
cms_content.content_datetime
\n
</#if>
\n
<#else>
\n
ORDER BY cms_content.content_datetime
\n
</#if>
\n\n
<#if order?? >
\n
<#if order==
\'
desc
\'
> desc</#if>
\n
<#if order==
\'
asc
\'
> asc</#if>
\n
<#else>
\n
desc
\n
</#if>
\n
LIMIT
\n
<#--判断是否分页-->
\n
<#if ispaging?? && (pageTag.pageNo)??>
\n
${((pageTag.pageNo-1)*_size?eval)?c},${_size?default(20)}
\n
<#else>
\n
${_size?default(20)}
\n
</#if>
\n
'
,
NULL
,
'文章列表'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
1
);
INSERT
INTO
`mdiy_tag`
(
`id`
,
`tag_name`
,
`tag_type`
,
`tag_sql`
,
`tag_class`
,
`tag_description`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
,
`NOT_DEL`
)
VALUES
(
4
,
'channel'
,
'list'
,
'<#assign _typeid=
\'
0
\'
/>
\n
<#if column?? && column.id?? && column.id?number gt 0>
\n
<#assign _typeid=
\'
${column.id}
\'
>
\n
<#assign selfid=
\'
${column.id}
\'
>
\n
</#if>
\n\n
<#if typeid??>
\n
<#assign _typeid=
\'
${typeid}
\'
>
\n
</#if>
\n\n
select
\n
id,
\n
id as typeid,
\n
category_title as typetitle,
\n
<#--动态链接-->
\n
<#if isDo?? && isDo>
\n
CONCAT(
\'
/${modelName}/list.do?typeid=
\'
, id) as typelink,
\n
<#else>
\n
<#--栏目类型为链接-->
\n
<#if shortSwitch?? && shortSwitch>
\n
CONCAT(category_pinyin,
\'
.html
\'
) as typelink,
\n
<#else>
\n
CONCAT(category_path,
\'
/index.html
\'
) as typelink,
\n
</#if>
\n
</#if>
\n
category_keyword as typekeyword,
\n
category_diy_url as typeurl,
\n
category_flag as flag,
\n
category_parent_ids as parentids,
\n
category_descrip as typedescrip,
\n
category_type as type,
\n
category_path as typepath,
\n
leaf as typeleaf,
\n
category_img as typelitpic ,
\n
( SELECT count(*) FROM cms_category cc WHERE cc.category_id = cms_category.id AND cc.del = 0 ) AS childsize
\n
from cms_category
\n
where
\n
cms_category.del=0
\n
<#--根据站点编号查询-->
\n
<#if appId?? >
\n
and cms_category.app_id=${appId}
\n
</#if>
\n\n
<#--栏目属性-->
\n
<#if flag?? >
\n
and
\n
(<#list flag?split(
\'
,
\'
) as item>
\n
<#if item?index gt 0> or</#if>
\n
FIND_IN_SET(
\'
${item}
\'
,category_flag)
\n
</#list>)
\n
</#if>
\n\n
<#if noflag?? >
\n
and
\n
(<#list noflag?split(
\'
,
\'
) as item>
\n
<#if item?index gt 0> and</#if>
\n
FIND_IN_SET(
\'
${item}
\'
,category_flag)=0
\n
</#list> or category_flag is null)
\n
</#if>
\n\n
<#--type默认son-->
\n
<#if !type??||!type?has_content>
\n
<#assign type=
\'
son
\'
/>
\n
</#if>
\n\n
<#if type?has_content>
\n
<#--顶级栏目(单个)-->
\n
<#if type==
\'
top
\'
>
\n
<#if _typeid !=
\'
0
\'
>
\n
and (id = top_id or top_id = 0)
\n
</#if>
\n\n
<#elseif type==
\'
nav
\'
>
\n
and(category_id=0 or category_id is null)
\n\n
<#--同级栏目(多个)-->
\n
<#elseif type==
\'
level
\'
>
\n\n
<#if _typeid !=
\'
0
\'
>
\n
and category_id=(select category_id from cms_category where id=${_typeid})
\n\n
</#if>
\n\n
<#--当前栏目(单个)-->
\n
<#elseif type==
\'
self
\'
>
\n\n
<#if _typeid !=
\'
0
\'
>
\n
and id=${_typeid}
\n
</#if>
\n\n
<#--当前栏目的所属栏目(多个)-->
\n
<#elseif type==
\'
path
\'
>
\n\n
<#if _typeid !=
\'
0
\'
>
\n
and id in (<#if column?? && column.categoryParentIds??>${column.categoryParentIds},</#if>${_typeid})
\n
</#if>
\n
<#--子栏目(多个)-->
\n\n
<#elseif type==
\'
son
\'
>
\n\n
<#if _typeid !=
\'
0
\'
>
\n
and category_id=${_typeid}
\n
</#if>
\n\n
<#--上一级栏目没有则取当前栏目(单个)-->
\n
<#elseif type==
\'
parent
\'
>
\n
<#if _typeid !=
\'
0
\'
>
\n
and
\n
<#if column?? && column.categoryId??>
\n
id=${column.categoryId}
\n
<#else>
\n
id=${_typeid}
\n
</#if>
\n
</#if>
\n
</#if>
\n\n
<#else> <#--默认顶级栏目-->
\n
and
\n
<#if _typeid !=
\'
0
\'
>
\n
id=${_typeid}
\n
<#else>
\n
(category_id=0 or category_id is null)
\n
</#if>
\n\n
</#if>
\n\n
<#--字段排序-->
\n
<#if type ==
\'
path
\'
>
\n
ORDER BY category_path asc
\n
<#else>
\n
<#if orderby?? >
\n
ORDER BY
\n
<#if orderby==
\'
date
\'
> category_datetime
\n
<#elseif orderby==
\'
sort
\'
> category_sort
\n
<#else>id</#if>
\n
</#if>
\n\n
<#if order?? >
\n
<#if order==
\'
desc
\'
> desc</#if>
\n
<#if order==
\'
asc
\'
> asc</#if>
\n
</#if>
\n
</#if>'
,
NULL
,
'通用栏目'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
1
);
INSERT
INTO
`mdiy_tag`
(
`id`
,
`tag_name`
,
`tag_type`
,
`tag_sql`
,
`tag_class`
,
`tag_description`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
,
`NOT_DEL`
)
VALUES
(
5
,
'global'
,
'single'
,
'select
\n
APP_NAME as name,
\n
app_logo as logo,
\n
app_keyword as keyword,
\n
app_description as descrip,
\n
app_copyright as copyright,
\n
<#if contextPath??>
\n
\'
${contextPath}
\'
as contextpath,
\n
<#else>
\n
\'\'
as contextpath,
\n
</#if>
\n
<#--动态解析 -->
\n
<#if isDo?? && isDo>
\n
CONCAT(
\'
${url}
\'
,
\'
${html}/
\'
,app_dir) as url,
\n
\'
${url}
\'
as host,
\n
<#--使用地址栏的域名 -->
\n
<#elseif url??>
\n
<#if shortSwitch?? && shortSwitch>
\n
<#if appId?? >
\n
CONCAT(
\'
${url}
\'
,
\'
${html}/
\'
,app_dir,
\'
/
\'
) as url,
\n
<#else>
\n\n
CONCAT(
\'
${url}
\'
,
\'
${html}/
\'
) as url,
\n
</#if>
\n
<#else>
\n
CONCAT(
\'
${url}
\'
,
\'
${html}/
\'
,app_dir,
\'
/
\'
) as url,
\n
</#if>
\n
\'
${url}
\'
as host,
\n
<#else>
\n
CONCAT(REPLACE(REPLACE(TRIM(substring_index(app_url,
\'\\
n
\'
,1)), CHAR(10),
\'\'
), CHAR(13),
\'\'
),
\'
/html/
\'
,app_dir) as url,
\n
REPLACE(REPLACE(TRIM(substring_index(app_url,
\'\\
n
\'
,1)), CHAR(10),
\'\'
), CHAR(13),
\'\'
) as host,
\n
</#if>
\n
CONCAT(
\'
template/
\'
,id,
\'
/
\'
,app_style) as
\"
style
\"
<#-- 判断是否为手机端 -->
\n
from app
\n
<#--根据站点编号查询-->
\n
<#if appId?? >
\n
where id = ${appId}
\n
</#if>'
,
NULL
,
'全局'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
1
);
...
...
doc/mcms-5.3.0.sql
View file @
d19ebe9f
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
...
...
@@ -290,6 +289,12 @@ CREATE TABLE `logger` (
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'系统日志'
;
-- ----------------------------
-- Records of logger
-- ----------------------------
BEGIN
;
COMMIT
;
-- ----------------------------
-- Table structure for manager
-- ----------------------------
...
...
@@ -511,7 +516,7 @@ CREATE TABLE `model` (
BEGIN
;
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
23
,
NULL
,
NULL
,
'01000000'
,
'权限管理'
,
''
,
'icon-quanxianguanli'
,
5
,
1
,
NULL
,
'2014-09-09 10:12:22'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
);
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
84
,
NULL
,
NULL
,
'12000000'
,
'系统设置'
,
''
,
'icon-xitongguanli'
,
3
,
1
,
NULL
,
'2014-12-19 22:30:24'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
);
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
86
,
84
,
'84'
,
'12010000'
,
'应用设置'
,
'basic/app/
-1/edit
.do'
,
''
,
2
,
1
,
NULL
,
'2014-12-19 22:31:59'
,
'57'
,
'2023-01-03 13:51:29'
,
NULL
,
NULL
,
0
);
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
86
,
84
,
'84'
,
'12010000'
,
'应用设置'
,
'basic/app/
app
.do'
,
''
,
2
,
1
,
NULL
,
'2014-12-19 22:31:59'
,
'57'
,
'2023-01-03 13:51:29'
,
NULL
,
NULL
,
0
);
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
87
,
84
,
'84'
,
'12020000'
,
'模版管理'
,
'basic/template/index.do'
,
''
,
1
,
1
,
NULL
,
'2014-12-19 22:32:50'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
);
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
182
,
86
,
'84,86'
,
'12010004'
,
'修改'
,
'basic:app:update'
,
''
,
0
,
0
,
NULL
,
'2017-09-05 16:14:42'
,
NULL
,
NULL
,
NULL
,
NULL
,
0
);
INSERT
INTO
`model`
(
`id`
,
`model_id`
,
`model_parent_ids`
,
`model_code`
,
`model_title`
,
`model_url`
,
`model_icon`
,
`model_sort`
,
`model_ismenu`
,
`IS_CHILD`
,
`model_datetime`
,
`UPDATE_BY`
,
`UPDATE_DATE`
,
`CREATE_BY`
,
`CREATE_DATE`
,
`DEL`
)
VALUES
(
183
,
23
,
'23'
,
'01030000'
,
'菜单管理'
,
'basic/model/index.do'
,
''
,
0
,
1
,
NULL
,
'2017-09-05 13:09:26'
,
'57'
,
'2023-01-03 10:46:19'
,
NULL
,
NULL
,
0
);
...
...
src/main/resources/application.yml
View file @
d19ebe9f
...
...
@@ -127,6 +127,6 @@ mybatis-plus:
global-config
:
db-config
:
id-type
:
auto
select
-strategy
:
not_empty
where
-strategy
:
not_empty
configuration
:
database-id
:
mysql
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment