Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
98849a92
Commit
98849a92
authored
Aug 20, 2019
by
郑永强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
早晚报加字段
parent
ab5f9095
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
AdNews.java
...k/src/main/java/com/pcloud/book/adnews/entity/AdNews.java
+12
-2
AdNewsMapper.xml
...ce-book/src/main/resources/mapper/adnews/AdNewsMapper.xml
+1
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/adnews/entity/AdNews.java
View file @
98849a92
...
...
@@ -41,6 +41,9 @@ public class AdNews extends BaseEntity {
@ApiModelProperty
(
"是否禁用"
)
private
Boolean
hasBan
;
@ApiModelProperty
(
"公众号"
)
private
String
wechatName
;
public
String
getType
()
{
return
type
;
}
...
...
@@ -113,6 +116,14 @@ public class AdNews extends BaseEntity {
this
.
hasBan
=
hasBan
;
}
public
String
getWechatName
()
{
return
wechatName
;
}
public
void
setWechatName
(
String
wechatName
)
{
this
.
wechatName
=
wechatName
;
}
@Override
public
String
toString
()
{
return
"AdNews{"
+
...
...
@@ -125,8 +136,7 @@ public class AdNews extends BaseEntity {
", newsDate='"
+
newsDate
+
'\''
+
", hasUsed="
+
hasUsed
+
", hasBan="
+
hasBan
+
", createTime="
+
createTime
+
", updateTime="
+
updateTime
+
", wechatName='"
+
wechatName
+
'\''
+
'}'
;
}
}
pcloud-service-book/src/main/resources/mapper/adnews/AdNewsMapper.xml
View file @
98849a92
...
...
@@ -129,6 +129,7 @@
a.id id
,a.type type
,a.news_from newsFrom
,b.wechat_name wechatName
,a.title title
,a.publisher publisher
,a.url url
...
...
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