Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
ee4aa874
Commit
ee4aa874
authored
Dec 30, 2021
by
rongkailun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】深度专题添加id字段返回
parent
8a5d4e17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
NewtopicEntity.java
.../java/io/office/modules/manage/entity/NewtopicEntity.java
+4
-0
NewsDao.xml
src/main/resources/mapper/manage/NewsDao.xml
+1
-1
No files found.
src/main/java/io/office/modules/manage/entity/NewtopicEntity.java
View file @
ee4aa874
package
io
.
office
.
modules
.
manage
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
...
...
@@ -133,4 +134,7 @@ public class NewtopicEntity implements Serializable {
*/
private
String
lasteditor
;
@TableField
(
exist
=
false
)
private
String
id
;
}
src/main/resources/mapper/manage/NewsDao.xml
View file @
ee4aa874
...
...
@@ -642,7 +642,7 @@ ORDER BY
id DESC
</select>
<select
id=
"sdztList"
resultType=
"io.office.modules.manage.entity.NewtopicEntity"
>
select * from newtopic where levels>0 and parentid=0 and checkflag=1 order by levels desc,showtime desc,classid desc
select
classid as id,
* from newtopic where levels>0 and parentid=0 and checkflag=1 order by levels desc,showtime desc,classid desc
</select>
<select
id=
"jcspList"
resultType=
"io.office.modules.manage.entity.NewsMovieEntity"
>
SELECT
...
...
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