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
jinan
traffic-signal-platform
Commits
94985be8
Commit
94985be8
authored
Mar 19, 2025
by
wangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区域相关接口参数修改
parent
e886bb8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
AnalysisProblemAreaDayController.java
...lerv2/judgeanalysis/AnalysisProblemAreaDayController.java
+13
-5
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/controllerv2/judgeanalysis/AnalysisProblemAreaDayController.java
View file @
94985be8
...
...
@@ -36,12 +36,14 @@ public class AnalysisProblemAreaDayController {
@GetMapping
(
value
=
"/overview"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"areaId"
,
value
=
"区域ID"
,
required
=
true
,
dataType
=
"String"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
true
,
dataType
=
"int"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
false
,
dataType
=
"int"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"开始时间"
,
required
=
false
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"结束时间"
,
required
=
false
,
dataType
=
"String"
),
})
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
AreaProblemOverview
.
class
),
})
public
JsonViewObject
areaProblemOverview
(
String
timeType
,
String
areaId
)
{
public
JsonViewObject
areaProblemOverview
(
String
timeType
,
String
areaId
,
String
startTime
,
String
endTime
)
{
return
JsonViewObject
.
newInstance
().
success
(
null
);
}
...
...
@@ -51,7 +53,9 @@ public class AnalysisProblemAreaDayController {
@GetMapping
(
value
=
"/trend"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"areaId"
,
value
=
"区域ID"
,
required
=
true
,
dataType
=
"String"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
true
,
dataType
=
"int"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
false
,
dataType
=
"int"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"开始时间"
,
required
=
false
,
dataType
=
"String"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"结束时间"
,
required
=
false
,
dataType
=
"String"
,
defaultValue
=
""
),
})
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
AreaProblemTrendAnalysisResult
.
class
),
...
...
@@ -67,7 +71,9 @@ public class AnalysisProblemAreaDayController {
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"eventType"
,
value
=
"事件代码 701:路口空放 702:路口失衡,703:路口溢出 707:路口拥堵"
,
required
=
true
,
dataType
=
"String"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"areaId"
,
value
=
"区域ID"
,
required
=
true
,
dataType
=
"String"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
true
,
dataType
=
"int"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
false
,
dataType
=
"int"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"开始时间"
,
required
=
false
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"结束时间"
,
required
=
false
,
dataType
=
"String"
),
})
@GetMapping
(
value
=
"/cross-problem-number"
)
...
...
@@ -84,7 +90,9 @@ public class AnalysisProblemAreaDayController {
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"eventType"
,
value
=
"事件代码 705:干线缓行 706:干线拥堵 "
,
required
=
true
,
dataType
=
"String"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"areaId"
,
value
=
"区域ID"
,
required
=
true
,
dataType
=
"String"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
true
,
dataType
=
"int"
,
defaultValue
=
"1"
),
@ApiImplicitParam
(
name
=
"timeType"
,
value
=
"事件类型 1:近一个月 2:近一周"
,
required
=
false
,
dataType
=
"int"
,
defaultValue
=
""
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"开始时间"
,
required
=
false
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"结束时间"
,
required
=
false
,
dataType
=
"String"
),
})
@GetMapping
(
value
=
"/green-problem-number"
)
@ApiResponses
({
...
...
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