Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
3ffe552f
Commit
3ffe552f
authored
Oct 28, 2020
by
wujj
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/5.2' into 5.2
parents
ef77f398
1d2d13d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
5.2-patch.sql
doc/5.2-patch.sql
+5
-2
IContentDao.xml
src/main/java/net/mingsoft/cms/dao/IContentDao.xml
+1
-1
No files found.
doc/5.2-patch.sql
View file @
3ffe552f
...
@@ -8,4 +8,7 @@ ALTER TABLE `mdiy_model`
...
@@ -8,4 +8,7 @@ ALTER TABLE `mdiy_model`
CHANGE
COLUMN
`model_app_id`
`app_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'应用编号'
AFTER
`model_json`
;
CHANGE
COLUMN
`model_app_id`
`app_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'应用编号'
AFTER
`model_json`
;
ALTER
TABLE
`mdiy_dict`
ALTER
TABLE
`mdiy_dict`
ADD
COLUMN
`dict_enable`
varchar
(
11
)
CHARACTER
SET
utf8
COLLATE
utf8_bin
NULL
DEFAULT
'1'
COMMENT
'启用状态'
AFTER
`is_child`
;
ADD
COLUMN
`dict_enable`
varchar
(
11
)
CHARACTER
SET
utf8
COLLATE
utf8_bin
NULL
DEFAULT
'1'
COMMENT
'启用状态'
AFTER
`is_child`
;
\ No newline at end of file
ALTER
TABLE
`cms_category`
ADD
COLUMN
`leaf`
bigint
(
1
)
NULL
DEFAULT
NULL
COMMENT
'是否是叶子节点'
AFTER
`category_pinyin`
;
ALTER
TABLE
`cms_category`
ADD
COLUMN
`top_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'顶级id'
AFTER
`leaf`
;
\ No newline at end of file
src/main/java/net/mingsoft/cms/dao/IContentDao.xml
View file @
3ffe552f
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
</select>
</select>
<!--条件查询-->
<!--条件查询-->
<select
id=
"query"
resultMap=
"resultContentMap"
>
<select
id=
"query"
resultMap=
"resultContentMap"
>
select ct.*,CONCAT(
"/html/",ct.app_id,category_path,"/",ct.id,".html"
) AS static_url from (
select ct.*,CONCAT(
'/html/',ct.app_id,category_path,'/',ct.id,'.html'
) AS static_url from (
select ct.*,cc.category_path from cms_content ct
select ct.*,cc.category_path from cms_content ct
join cms_category cc on ct.content_category_id=cc.id
join cms_category cc on ct.content_category_id=cc.id
<where>
<where>
...
...
Write
Preview
Markdown
is supported
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