Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
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
signal
traffic-signal-platform
Commits
d3213562
Commit
d3213562
authored
Apr 17, 2025
by
duwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
把Mock去掉
parent
854ca537
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
RunningEvaluateController.java
...a/net/wanji/opt/controller/RunningEvaluateController.java
+5
-5
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/controller/RunningEvaluateController.java
View file @
d3213562
...
@@ -61,11 +61,11 @@ public class RunningEvaluateController {
...
@@ -61,11 +61,11 @@ public class RunningEvaluateController {
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
RunningEvaluateCrossEvaluateVO
.
class
),
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
RunningEvaluateCrossEvaluateVO
.
class
),
})
})
public
JsonViewObject
crossEvaluate
(
@RequestBody
CrossIdAndStartEndDateBO
bo
)
{
public
JsonViewObject
crossEvaluate
(
@RequestBody
CrossIdAndStartEndDateBO
bo
)
{
if
(
isMock
==
true
){
//
if(isMock == true){
bo
.
setCrossId
(
"12Q5V099C30"
);
//
bo.setCrossId("12Q5V099C30");
bo
.
setStartDate
(
DateUtil
.
parse
(
"2025-04-07 08:50:00"
,
"yyyy-MM-dd HH:mm:ss"
));
//
bo.setStartDate(DateUtil.parse("2025-04-07 08:50:00", "yyyy-MM-dd HH:mm:ss"));
bo
.
setEndDate
(
DateUtil
.
parse
(
"2025-04-07 16:30:00"
,
"yyyy-MM-dd HH:mm:ss"
));
//
bo.setEndDate(DateUtil.parse("2025-04-07 16:30:00", "yyyy-MM-dd HH:mm:ss"));
}
//
}
RunningEvaluateCrossEvaluateVO
res
=
runningEvaluateService
.
crossEvaluate
(
bo
);
RunningEvaluateCrossEvaluateVO
res
=
runningEvaluateService
.
crossEvaluate
(
bo
);
return
JsonViewObject
.
newInstance
().
success
(
res
);
return
JsonViewObject
.
newInstance
().
success
(
res
);
}
}
...
...
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