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
2b8b80e5
Commit
2b8b80e5
authored
Jan 14, 2025
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[add]merge
parent
5a81c97c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
EventController.java
...c/main/java/net/wanji/opt/controller/EventController.java
+5
-3
HoloEventMapper.java
...c/main/java/net/wanji/opt/dao/mapper/HoloEventMapper.java
+4
-1
EventService.java
...ice/src/main/java/net/wanji/opt/service/EventService.java
+4
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/controller/EventController.java
View file @
2b8b80e5
...
@@ -4,13 +4,15 @@ import io.swagger.annotations.*;
...
@@ -4,13 +4,15 @@ import io.swagger.annotations.*;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
net.wanji.common.framework.exception.DubboProviderException
;
import
net.wanji.common.framework.exception.DubboProviderException
;
import
net.wanji.common.framework.rest.JsonViewObject
;
import
net.wanji.common.framework.rest.JsonViewObject
;
import
net.wanji.databus.dto.EventInfoTrafficStatusDTO
;
import
net.wanji.databus.vo.EventInfoTrafficStatusVO
;
import
net.wanji.opt.entity.EventAlarmInfo
;
import
net.wanji.opt.po.base.EventStatisticPo
;
import
net.wanji.opt.po.base.EventStatisticPo
;
import
net.wanji.opt.service.EventService
;
import
net.wanji.opt.service.EventService
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.validation.Valid
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
...
signal-optimize-service/src/main/java/net/wanji/opt/dao/mapper/HoloEventMapper.java
View file @
2b8b80e5
package
net
.
wanji
.
opt
.
dao
.
mapper
;
package
net
.
wanji
.
opt
.
dao
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
net.wanji.databus.dto.EventInfoTrafficStatusDTO
;
import
net.wanji.databus.po.EventInfoTrafficStatusPO
;
import
net.wanji.opt.entity.EventAlarmInfo
;
import
net.wanji.opt.po.base.EventStatisticPo
;
import
net.wanji.opt.po.base.EventStatisticPo
;
import
net.wanji.opt.po.trend.EventInfoSimplePo
;
import
net.wanji.opt.po.trend.EventInfoSimplePo
;
import
net.wanji.opt.po.trend.HoloEventInfoPO
;
import
net.wanji.opt.po.trend.HoloEventInfoPO
;
...
@@ -31,6 +34,6 @@ public interface HoloEventMapper extends BaseMapper<HoloEventInfoPO> {
...
@@ -31,6 +34,6 @@ public interface HoloEventMapper extends BaseMapper<HoloEventInfoPO> {
List
<
EventInfoTrafficStatusPO
>
trafficStatus
(
EventInfoTrafficStatusDTO
eventInfoTrafficStatusDTO
);
List
<
EventInfoTrafficStatusPO
>
trafficStatus
(
EventInfoTrafficStatusDTO
eventInfoTrafficStatusDTO
);
List
<
EventAlarmInfo
>
findEventAlarmInfo
(
String
realtimeType
,
String
eventType
,
String
name
);
List
<
EventAlarmInfo
>
findEventAlarmInfo
(
String
realtimeType
,
String
eventType
,
String
name
);
}
}
signal-optimize-service/src/main/java/net/wanji/opt/service/EventService.java
View file @
2b8b80e5
package
net
.
wanji
.
opt
.
service
;
package
net
.
wanji
.
opt
.
service
;
import
net.wanji.common.framework.exception.DubboProviderException
;
import
net.wanji.common.framework.exception.DubboProviderException
;
import
net.wanji.databus.dto.EventInfoTrafficStatusDTO
;
import
net.wanji.databus.vo.EventInfoTrafficStatusVO
;
import
net.wanji.opt.entity.EventAlarmInfo
;
import
net.wanji.opt.po.base.EventStatisticPo
;
import
net.wanji.opt.po.base.EventStatisticPo
;
import
java.util.List
;
import
java.util.List
;
...
@@ -46,5 +49,5 @@ public interface EventService {
...
@@ -46,5 +49,5 @@ public interface EventService {
* @return
* @return
* @throws DubboProviderException
* @throws DubboProviderException
*/
*/
List
<
EventAlarmInfo
>
findEventAlarmInfo
(
String
realtimeType
,
String
eventType
,
String
name
)
throws
DubboProviderException
;
List
<
EventAlarmInfo
>
findEventAlarmInfo
(
String
realtimeType
,
String
eventType
,
String
name
)
throws
DubboProviderException
;
}
}
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