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
d24aa6bf
Commit
d24aa6bf
authored
Jan 25, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】修改bug
parent
07304175
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
MedicalController.java
...o/office/modules/manage/controller/MedicalController.java
+1
-0
NewsMovieServiceImpl.java
...ice/modules/manage/service/impl/NewsMovieServiceImpl.java
+4
-0
NewsMovieEntityVo.java
...o/office/modules/manage/vo/request/NewsMovieEntityVo.java
+4
-0
No files found.
src/main/java/io/office/modules/manage/controller/MedicalController.java
View file @
d24aa6bf
...
...
@@ -126,6 +126,7 @@ public class MedicalController extends AbstractController {
QueryWrapper
<
MedicalEntity
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
select
(
"top 10 id,title "
);
queryWrapper
.
gt
(
"level"
,
"0"
);
queryWrapper
.
eq
(
"status"
,
"1"
);
if
(
StringUtils
.
isBlank
(
medical
.
getType
()))
{
return
R
.
error
(
"请输入分类"
);
}
...
...
src/main/java/io/office/modules/manage/service/impl/NewsMovieServiceImpl.java
View file @
d24aa6bf
...
...
@@ -63,6 +63,10 @@ public class NewsMovieServiceImpl extends ServiceImpl<NewsMovieDao, NewsMovieEnt
newtopicEntityVo
.
setUpdatedate
(
date
);
newtopicEntityVo
.
setShowtime
(
DateUtils
.
format
(
date
,
DateUtils
.
DATE_PATTERN_1
));
newtopicEntityVo
.
setLasteditor
(
user
.
getUsername
());
if
(
StringUtils
.
isNotBlank
(
newtopicEntityVo
.
getPic
())){
newtopicEntityVo
.
setLittlepic
(
newtopicEntityVo
.
getPic
());
newtopicEntityVo
.
setBigpic
(
newtopicEntityVo
.
getPic
());
}
NewsMovieEntity
newsMovieEntity
=
new
NewsMovieEntity
();
BeanUtils
.
copyProperties
(
newtopicEntityVo
,
newsMovieEntity
);
baseMapper
.
insert
(
newsMovieEntity
);
...
...
src/main/java/io/office/modules/manage/vo/request/NewsMovieEntityVo.java
View file @
d24aa6bf
...
...
@@ -56,6 +56,7 @@ public class NewsMovieEntityVo implements Serializable {
/**
* $column.comments
*/
private
String
bigpic
;
/**
* $column.comments
...
...
@@ -117,4 +118,7 @@ public class NewsMovieEntityVo implements Serializable {
* $column.comments
*/
private
String
lasteditor
;
private
String
pic
;
}
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