Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 430eddf7
authored
Jul 03, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: param error
1 parent
281e9eee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
project-dispatch/src/main/java/com/dituhui/pea/dispatch/controller/DispatchController.java
project-dispatch/src/main/java/com/dituhui/pea/dispatch/controller/DispatchController.java
View file @
430eddf
...
@@ -39,9 +39,16 @@ public class DispatchController {
...
@@ -39,9 +39,16 @@ public class DispatchController {
public
Result
<?>
manualDispatch
(
public
Result
<?>
manualDispatch
(
@RequestParam
(
value
=
"unimprovedSecondsSpentLimit"
,
required
=
false
)
Long
unimprovedSecondsSpentLimit
,
@RequestParam
(
value
=
"unimprovedSecondsSpentLimit"
,
required
=
false
)
Long
unimprovedSecondsSpentLimit
,
@RequestParam
(
value
=
"secondsSpentLimit"
,
required
=
false
)
Long
secondsSpentLimit
)
{
@RequestParam
(
value
=
"secondsSpentLimit"
,
required
=
false
)
Long
secondsSpentLimit
)
{
if
(
null
==
unimprovedSecondsSpentLimit
)
{
unimprovedSecondsSpentLimit
=
0L
;
}
if
(
null
==
secondsSpentLimit
)
{
secondsSpentLimit
=
0L
;
}
try
{
try
{
return
dispatchService
.
manualDispatch
(
unimprovedSecondsSpentLimit
,
secondsSpentLimit
);
return
dispatchService
.
manualDispatch
(
unimprovedSecondsSpentLimit
,
secondsSpentLimit
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
Result
.
failed
(
e
.
getMessage
());
return
Result
.
failed
(
e
.
getMessage
());
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment