Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
daee3c1e
Commit
daee3c1e
authored
Jul 26, 2024
by
zhangfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/feature_member_score' into dev
parents
98934eb2
f916cc58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
RewardController.java
...dule/reward/controller/admin/reward/RewardController.java
+0
-7
No files found.
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/controller/admin/reward/RewardController.java
View file @
daee3c1e
...
...
@@ -67,7 +67,6 @@ public class RewardController {
public
CommonResult
<
RewardBackVO
>
get
(
@RequestParam
(
"id"
)
Long
id
)
{
RewardDO
rewardDO
=
rewardService
.
get
(
id
);
RewardBackVO
rewardBackVO
=
RewardConvert
.
INSTANCE
.
convert
(
rewardDO
);
addPickMethodList
(
rewardBackVO
);
return
success
(
rewardBackVO
);
}
...
...
@@ -78,7 +77,6 @@ public class RewardController {
public
CommonResult
<
List
<
RewardBackVO
>>
getList
(
@RequestParam
(
"ids"
)
Collection
<
Long
>
ids
)
{
List
<
RewardDO
>
list
=
rewardService
.
getList
(
ids
);
List
<
RewardBackVO
>
rewardBackVOS
=
RewardConvert
.
INSTANCE
.
convertList
(
list
);
rewardBackVOS
.
forEach
(
this
::
addPickMethodList
);
return
success
(
rewardBackVOS
);
}
...
...
@@ -88,7 +86,6 @@ public class RewardController {
public
CommonResult
<
PageResult
<
RewardBackVO
>>
getPage
(
@Valid
@RequestBody
RewardQueryVO
query
,
PageVO
page
)
{
PageResult
<
RewardDO
>
pageResult
=
rewardService
.
getPage
(
query
,
page
);
PageResult
<
RewardBackVO
>
rewardBackVOPageResult
=
RewardConvert
.
INSTANCE
.
convertPage
(
pageResult
);
rewardBackVOPageResult
.
getList
().
forEach
(
this
::
addPickMethodList
);
return
success
(
rewardBackVOPageResult
);
}
...
...
@@ -124,8 +121,4 @@ public class RewardController {
List
<
RewardBackVO
>
datas
=
RewardConvert
.
INSTANCE
.
convertList
(
list
);
ExcelUtils
.
write
(
response
,
"礼品.xls"
,
"数据"
,
RewardBackVO
.
class
,
datas
);
}
private
void
addPickMethodList
(
RewardBackVO
rewardBackVO
)
{
rewardBackVO
.
setPickMethodList
(
JSON
.
parseArray
(
rewardBackVO
.
getPickMethod
()));
}
}
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