Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
e9e921e8
Commit
e9e921e8
authored
May 15, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
欢迎语
parent
0ccf0cba
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
1 deletions
+64
-1
WelcomeListDTO.java
...gic/haoban/manage/api/dto/welcome/dto/WelcomeListDTO.java
+18
-0
WelcomeListBO.java
.../haoban/manage/service/pojo/bo/welcome/WelcomeListBO.java
+37
-0
WelcomeServiceImpl.java
...aoban/manage/service/service/impl/WelcomeServiceImpl.java
+4
-0
WelcomeApiServiceImpl.java
...anage/service/service/out/impl/WelcomeApiServiceImpl.java
+5
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/welcome/dto/WelcomeListDTO.java
View file @
e9e921e8
...
...
@@ -47,6 +47,8 @@ public class WelcomeListDTO implements Serializable {
private
String
creatorId
;
private
String
creatorName
;
private
String
modifierId
;
private
String
modifierName
;
/**
* 默认欢迎语标记 1是 0否
*/
...
...
@@ -64,6 +66,22 @@ public class WelcomeListDTO implements Serializable {
*/
private
List
<
WelcomeMediaDTO
>
welcomeMediaList
;
public
String
getModifierId
()
{
return
modifierId
;
}
public
String
getModifierName
()
{
return
modifierName
;
}
public
void
setModifierId
(
String
modifierId
)
{
this
.
modifierId
=
modifierId
;
}
public
void
setModifierName
(
String
modifierName
)
{
this
.
modifierName
=
modifierName
;
}
public
String
getCreatorId
()
{
return
creatorId
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/pojo/bo/welcome/WelcomeListBO.java
View file @
e9e921e8
...
...
@@ -59,6 +59,43 @@ public class WelcomeListBO {
*/
private
List
<
WelcomeMediaBO
>
welcomeMediaList
;
private
String
creatorId
;
private
String
creatorName
;
private
String
modifierId
;
private
String
modifierName
;
public
String
getCreatorId
()
{
return
creatorId
;
}
public
String
getCreatorName
()
{
return
creatorName
;
}
public
String
getModifierId
()
{
return
modifierId
;
}
public
String
getModifierName
()
{
return
modifierName
;
}
public
void
setCreatorId
(
String
creatorId
)
{
this
.
creatorId
=
creatorId
;
}
public
void
setCreatorName
(
String
creatorName
)
{
this
.
creatorName
=
creatorName
;
}
public
void
setModifierId
(
String
modifierId
)
{
this
.
modifierId
=
modifierId
;
}
public
void
setModifierName
(
String
modifierName
)
{
this
.
modifierName
=
modifierName
;
}
public
String
getWelcomeId
()
{
return
welcomeId
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WelcomeServiceImpl.java
View file @
e9e921e8
...
...
@@ -206,6 +206,10 @@ public class WelcomeServiceImpl implements WelcomeService {
// 组装数据, 转换数据
return
welcomeList
.
stream
().
map
(
one
->
{
WelcomeListBO
bo
=
new
WelcomeListBO
();
bo
.
setCreatorId
(
one
.
getCreatorId
());
bo
.
setCreatorName
(
one
.
getCreatorName
());
bo
.
setModifierId
(
one
.
getModifierId
());
bo
.
setModifierName
(
one
.
getModifierName
());
bo
.
setWelcomeId
(
one
.
getWelcomeId
());
bo
.
setWxEnterpriseId
(
one
.
getWxEnterpriseId
());
bo
.
setTitle
(
one
.
getTitle
());
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WelcomeApiServiceImpl.java
View file @
e9e921e8
...
...
@@ -69,7 +69,11 @@ public class WelcomeApiServiceImpl implements WelcomeApiService {
List
<
WelcomeListBO
>
welcomeList
=
welcomeService
.
listWelcome
(
wxEnterpriseId
,
title
);
// 数据转换
List
<
WelcomeListDTO
>
welcomeResponseList
=
welcomeList
.
stream
().
map
(
one
->
{
WelcomeListDTO
dto
=
new
WelcomeListDTO
();
WelcomeListDTO
dto
=
new
WelcomeListDTO
()
;
dto
.
setCreatorId
(
one
.
getCreatorId
());
dto
.
setCreatorName
(
one
.
getCreatorName
());
dto
.
setModifierId
(
one
.
getModifierId
());
dto
.
setModifierName
(
one
.
getModifierName
());
dto
.
setWelcomeId
(
one
.
getWelcomeId
());
dto
.
setWxEnterpriseId
(
one
.
getWxEnterpriseId
());
dto
.
setTitle
(
one
.
getTitle
());
...
...
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