记得上下班打卡 | 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
d8bcb1dc
Commit
d8bcb1dc
authored
Jul 29, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sweet
parent
131d4d5e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
SweetManualNotifyController.java
...service/sweet/controller/SweetManualNotifyController.java
+3
-3
SweetManualNotifyServiceImpl.java
...vice/sweet/service/impl/SweetManualNotifyServiceImpl.java
+2
-2
No files found.
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualNotifyController.java
View file @
d8bcb1dc
...
...
@@ -62,10 +62,10 @@ public class SweetManualNotifyController {
@GetMapping
(
"detail"
)
@ApiOperation
(
"通知详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manual
Id"
,
value
=
"手册
id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manual
NotifyId"
,
value
=
"通知
id"
,
required
=
true
),
})
public
ResponseDto
<
SweetManualNotify
>
detail
(
@RequestParam
()
String
manualId
)
{
return
sweetManualNotifyService
.
details
(
manualId
);
public
ResponseDto
<
SweetManualNotify
>
detail
(
@RequestParam
()
String
manual
Notify
Id
)
{
return
sweetManualNotifyService
.
details
(
manual
Notify
Id
);
}
@PostMapping
(
"change"
)
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualNotifyServiceImpl.java
View file @
d8bcb1dc
...
...
@@ -73,9 +73,9 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
}
@Override
public
ResponseDto
<
SweetManualNotify
>
details
(
String
manualId
)
{
public
ResponseDto
<
SweetManualNotify
>
details
(
String
manual
Notify
Id
)
{
try
{
return
ResponseDto
.
success
(
sweetManualNotifyMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualNotify
.
class
).
eq
(
SweetManualNotify:
:
getManual
Id
,
manual
Id
).
eq
(
SweetManualNotify:
:
getStatus
,
1
)));
return
ResponseDto
.
success
(
sweetManualNotifyMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualNotify
.
class
).
eq
(
SweetManualNotify:
:
getManual
NotifyId
,
manualNotify
Id
).
eq
(
SweetManualNotify:
:
getStatus
,
1
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
...
...
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