记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
d2c358c0
Commit
d2c358c0
authored
Oct 18, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
list default 1
parent
d570e0fb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
SweetCityVoteController.java
...net/service/sweet/controller/SweetCityVoteController.java
+4
-4
SweetCItyVoteStatVo.java
...a/com/liquidnet/service/sweet/vo/SweetCItyVoteStatVo.java
+1
-0
No files found.
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetCityVoteController.java
View file @
d2c358c0
...
@@ -32,22 +32,22 @@ public class SweetCityVoteController {
...
@@ -32,22 +32,22 @@ public class SweetCityVoteController {
private
ISweetCityVoteService
sweetCityVoteService
;
private
ISweetCityVoteService
sweetCityVoteService
;
@GetMapping
(
"statList"
)
@GetMapping
(
"statList"
)
@ApiOperation
(
"城市投票排名"
)
@ApiOperation
(
"城市投票排名
列表
"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"phone"
,
value
=
"手机号"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"phone"
,
value
=
"手机号"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"unionId"
,
value
=
"unionId"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"unionId"
,
value
=
"unionId"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"活动类型 1新裤子 2莫宰羊"
,
required
=
tru
e
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"活动类型 1新裤子 2莫宰羊"
,
required
=
fals
e
)
})
})
public
ResponseDto
<
List
<
SweetCItyVoteStatVo
>>
getList
(
public
ResponseDto
<
List
<
SweetCItyVoteStatVo
>>
getList
(
@RequestParam
String
phone
,
@RequestParam
String
phone
,
@RequestParam
String
unionId
,
@RequestParam
String
unionId
,
@RequestParam
Integer
type
@RequestParam
(
defaultValue
=
"1"
)
Integer
type
)
{
)
{
return
sweetCityVoteService
.
getList
(
phone
,
unionId
,
type
);
return
sweetCityVoteService
.
getList
(
phone
,
unionId
,
type
);
}
}
@PostMapping
(
"createVote"
)
@PostMapping
(
"createVote"
)
@ApiOperation
(
"用户投票
记录
"
)
@ApiOperation
(
"用户投票"
)
public
ResponseDto
createVote
(
@Valid
@RequestBody
SweetCityVoteParam
param
)
{
public
ResponseDto
createVote
(
@Valid
@RequestBody
SweetCityVoteParam
param
)
{
return
sweetCityVoteService
.
createVote
(
param
);
return
sweetCityVoteService
.
createVote
(
param
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/vo/SweetCItyVoteStatVo.java
View file @
d2c358c0
...
@@ -62,6 +62,7 @@ public class SweetCItyVoteStatVo implements Serializable, Cloneable {
...
@@ -62,6 +62,7 @@ public class SweetCItyVoteStatVo implements Serializable, Cloneable {
// this.setVoteNum(source.getVoteNum());
// this.setVoteNum(source.getVoteNum());
// this.setManualVoteNum(source.getManualVoteNum());
// this.setManualVoteNum(source.getManualVoteNum());
this
.
setTotalNum
(
source
.
getTotalNum
());
this
.
setTotalNum
(
source
.
getTotalNum
());
this
.
setType
(
source
.
getType
());
return
this
;
return
this
;
}
}
...
...
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