Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
new-nms
Project
Project
Details
Activity
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
Administrator
new-nms
Commits
3580ecc6
Commit
3580ecc6
authored
Feb 14, 2022
by
YazhouChen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成代码
parent
ae963669
Hide whitespace changes
Inline
Side-by-side
Showing
108 changed files
with
5453 additions
and
643 deletions
+5453
-643
workspace.xml
.idea/workspace.xml
+63
-33
SpringBootPlusGenerator.java
...dea/springbootplus/generator/SpringBootPlusGenerator.java
+1
-1
spring-boot-plus.log
logs/spring-boot-plus.log
+85
-609
AlarmConnectionController.java
.../com/hongxinhui/controller/AlarmConnectionController.java
+94
-0
AlarmMonitoringController.java
.../com/hongxinhui/controller/AlarmMonitoringController.java
+94
-0
ConfigurationManageController.java
.../hongxinhui/controller/ConfigurationManageController.java
+94
-0
HmsDeviceConnectionStatusController.java
...inhui/controller/HmsDeviceConnectionStatusController.java
+94
-0
HmsDeviceConnetionMaintenanceController.java
...i/controller/HmsDeviceConnetionMaintenanceController.java
+94
-0
HmsLeakycableMaintainController.java
...ongxinhui/controller/HmsLeakycableMaintainController.java
+94
-0
HmsLeakycableMonitorStatusController.java
...nhui/controller/HmsLeakycableMonitorStatusController.java
+94
-0
MmsAlarmController.java
...in/java/com/hongxinhui/controller/MmsAlarmController.java
+94
-0
MmsDeviceController.java
...n/java/com/hongxinhui/controller/MmsDeviceController.java
+94
-0
RealtimeConnectionAlarmController.java
...gxinhui/controller/RealtimeConnectionAlarmController.java
+94
-0
RealtimeMonitoringAlarmController.java
...gxinhui/controller/RealtimeMonitoringAlarmController.java
+94
-0
SmsDictDataController.java
...java/com/hongxinhui/controller/SmsDictDataController.java
+94
-0
SmsDictTypeController.java
...java/com/hongxinhui/controller/SmsDictTypeController.java
+94
-0
UserController.java
...c/main/java/com/hongxinhui/controller/UserController.java
+94
-0
UserOperationController.java
...va/com/hongxinhui/controller/UserOperationController.java
+94
-0
AlarmConnection.java
.../src/main/java/com/hongxinhui/entity/AlarmConnection.java
+102
-0
AlarmMonitoring.java
.../src/main/java/com/hongxinhui/entity/AlarmMonitoring.java
+112
-0
ConfigurationManage.java
.../main/java/com/hongxinhui/entity/ConfigurationManage.java
+90
-0
HmsDeviceConnectionStatus.java
...java/com/hongxinhui/entity/HmsDeviceConnectionStatus.java
+121
-0
HmsDeviceConnetionMaintenance.java
.../com/hongxinhui/entity/HmsDeviceConnetionMaintenance.java
+121
-0
HmsLeakycableMaintain.java
...ain/java/com/hongxinhui/entity/HmsLeakycableMaintain.java
+114
-0
HmsLeakycableMonitorStatus.java
...ava/com/hongxinhui/entity/HmsLeakycableMonitorStatus.java
+110
-0
MmsAlarm.java
newnms/src/main/java/com/hongxinhui/entity/MmsAlarm.java
+87
-0
MmsDevice.java
newnms/src/main/java/com/hongxinhui/entity/MmsDevice.java
+117
-0
RealtimeConnectionAlarm.java
...n/java/com/hongxinhui/entity/RealtimeConnectionAlarm.java
+67
-0
RealtimeMonitoringAlarm.java
...n/java/com/hongxinhui/entity/RealtimeMonitoringAlarm.java
+74
-0
SmsDictData.java
newnms/src/main/java/com/hongxinhui/entity/SmsDictData.java
+84
-0
SmsDictType.java
newnms/src/main/java/com/hongxinhui/entity/SmsDictType.java
+107
-0
User.java
newnms/src/main/java/com/hongxinhui/entity/User.java
+54
-0
UserOperation.java
...ms/src/main/java/com/hongxinhui/entity/UserOperation.java
+89
-0
AlarmConnectionMapper.java
...ain/java/com/hongxinhui/mapper/AlarmConnectionMapper.java
+24
-0
AlarmMonitoringMapper.java
...ain/java/com/hongxinhui/mapper/AlarmMonitoringMapper.java
+24
-0
ConfigurationManageMapper.java
...java/com/hongxinhui/mapper/ConfigurationManageMapper.java
+24
-0
HmsDeviceConnectionStatusMapper.java
...om/hongxinhui/mapper/HmsDeviceConnectionStatusMapper.java
+24
-0
HmsDeviceConnetionMaintenanceMapper.java
...ongxinhui/mapper/HmsDeviceConnetionMaintenanceMapper.java
+24
-0
HmsLeakycableMaintainMapper.java
...va/com/hongxinhui/mapper/HmsLeakycableMaintainMapper.java
+24
-0
HmsLeakycableMonitorStatusMapper.java
...m/hongxinhui/mapper/HmsLeakycableMonitorStatusMapper.java
+24
-0
MmsAlarmMapper.java
...s/src/main/java/com/hongxinhui/mapper/MmsAlarmMapper.java
+24
-0
MmsDeviceMapper.java
.../src/main/java/com/hongxinhui/mapper/MmsDeviceMapper.java
+24
-0
RealtimeConnectionAlarmMapper.java
.../com/hongxinhui/mapper/RealtimeConnectionAlarmMapper.java
+24
-0
RealtimeMonitoringAlarmMapper.java
.../com/hongxinhui/mapper/RealtimeMonitoringAlarmMapper.java
+24
-0
SmsDictDataMapper.java
...rc/main/java/com/hongxinhui/mapper/SmsDictDataMapper.java
+24
-0
SmsDictTypeMapper.java
...rc/main/java/com/hongxinhui/mapper/SmsDictTypeMapper.java
+24
-0
UserMapper.java
newnms/src/main/java/com/hongxinhui/mapper/UserMapper.java
+24
-0
UserOperationMapper.java
.../main/java/com/hongxinhui/mapper/UserOperationMapper.java
+24
-0
AlarmConnectionPageParam.java
...n/java/com/hongxinhui/param/AlarmConnectionPageParam.java
+23
-0
AlarmMonitoringPageParam.java
...n/java/com/hongxinhui/param/AlarmMonitoringPageParam.java
+23
-0
ConfigurationManagePageParam.java
...va/com/hongxinhui/param/ConfigurationManagePageParam.java
+23
-0
HmsDeviceConnectionStatusPageParam.java
.../hongxinhui/param/HmsDeviceConnectionStatusPageParam.java
+23
-0
HmsDeviceConnetionMaintenancePageParam.java
...gxinhui/param/HmsDeviceConnetionMaintenancePageParam.java
+23
-0
HmsLeakycableMaintainPageParam.java
.../com/hongxinhui/param/HmsLeakycableMaintainPageParam.java
+23
-0
HmsLeakycableMonitorStatusPageParam.java
...hongxinhui/param/HmsLeakycableMonitorStatusPageParam.java
+23
-0
MmsAlarmPageParam.java
...src/main/java/com/hongxinhui/param/MmsAlarmPageParam.java
+23
-0
MmsDevicePageParam.java
...rc/main/java/com/hongxinhui/param/MmsDevicePageParam.java
+23
-0
RealtimeConnectionAlarmPageParam.java
...om/hongxinhui/param/RealtimeConnectionAlarmPageParam.java
+23
-0
RealtimeMonitoringAlarmPageParam.java
...om/hongxinhui/param/RealtimeMonitoringAlarmPageParam.java
+23
-0
SmsDictDataPageParam.java
.../main/java/com/hongxinhui/param/SmsDictDataPageParam.java
+23
-0
SmsDictTypePageParam.java
.../main/java/com/hongxinhui/param/SmsDictTypePageParam.java
+23
-0
UserOperationPageParam.java
...ain/java/com/hongxinhui/param/UserOperationPageParam.java
+23
-0
UserPageParam.java
newnms/src/main/java/com/hongxinhui/param/UserPageParam.java
+23
-0
AlarmConnectionService.java
...n/java/com/hongxinhui/service/AlarmConnectionService.java
+53
-0
AlarmMonitoringService.java
...n/java/com/hongxinhui/service/AlarmMonitoringService.java
+53
-0
ConfigurationManageService.java
...va/com/hongxinhui/service/ConfigurationManageService.java
+53
-0
HmsDeviceConnectionStatusService.java
.../hongxinhui/service/HmsDeviceConnectionStatusService.java
+53
-0
HmsDeviceConnetionMaintenanceService.java
...gxinhui/service/HmsDeviceConnetionMaintenanceService.java
+53
-0
HmsLeakycableMaintainService.java
.../com/hongxinhui/service/HmsLeakycableMaintainService.java
+53
-0
HmsLeakycableMonitorStatusService.java
...hongxinhui/service/HmsLeakycableMonitorStatusService.java
+53
-0
MmsAlarmService.java
...src/main/java/com/hongxinhui/service/MmsAlarmService.java
+53
-0
MmsDeviceService.java
...rc/main/java/com/hongxinhui/service/MmsDeviceService.java
+53
-0
RealtimeConnectionAlarmService.java
...om/hongxinhui/service/RealtimeConnectionAlarmService.java
+53
-0
RealtimeMonitoringAlarmService.java
...om/hongxinhui/service/RealtimeMonitoringAlarmService.java
+53
-0
SmsDictDataService.java
.../main/java/com/hongxinhui/service/SmsDictDataService.java
+53
-0
SmsDictTypeService.java
.../main/java/com/hongxinhui/service/SmsDictTypeService.java
+53
-0
UserOperationService.java
...ain/java/com/hongxinhui/service/UserOperationService.java
+53
-0
UserService.java
newnms/src/main/java/com/hongxinhui/service/UserService.java
+53
-0
AlarmConnectionServiceImpl.java
...m/hongxinhui/service/impl/AlarmConnectionServiceImpl.java
+58
-0
AlarmMonitoringServiceImpl.java
...m/hongxinhui/service/impl/AlarmMonitoringServiceImpl.java
+58
-0
ConfigurationManageServiceImpl.java
...ngxinhui/service/impl/ConfigurationManageServiceImpl.java
+58
-0
HmsDeviceConnectionStatusServiceImpl.java
...ui/service/impl/HmsDeviceConnectionStatusServiceImpl.java
+58
-0
HmsDeviceConnetionMaintenanceServiceImpl.java
...ervice/impl/HmsDeviceConnetionMaintenanceServiceImpl.java
+58
-0
HmsLeakycableMaintainServiceImpl.java
...xinhui/service/impl/HmsLeakycableMaintainServiceImpl.java
+58
-0
HmsLeakycableMonitorStatusServiceImpl.java
...i/service/impl/HmsLeakycableMonitorStatusServiceImpl.java
+58
-0
MmsAlarmServiceImpl.java
...java/com/hongxinhui/service/impl/MmsAlarmServiceImpl.java
+58
-0
MmsDeviceServiceImpl.java
...ava/com/hongxinhui/service/impl/MmsDeviceServiceImpl.java
+58
-0
RealtimeConnectionAlarmServiceImpl.java
...nhui/service/impl/RealtimeConnectionAlarmServiceImpl.java
+58
-0
RealtimeMonitoringAlarmServiceImpl.java
...nhui/service/impl/RealtimeMonitoringAlarmServiceImpl.java
+58
-0
SmsDictDataServiceImpl.java
...a/com/hongxinhui/service/impl/SmsDictDataServiceImpl.java
+58
-0
SmsDictTypeServiceImpl.java
...a/com/hongxinhui/service/impl/SmsDictTypeServiceImpl.java
+58
-0
UserOperationServiceImpl.java
...com/hongxinhui/service/impl/UserOperationServiceImpl.java
+58
-0
UserServiceImpl.java
...ain/java/com/hongxinhui/service/impl/UserServiceImpl.java
+58
-0
AlarmConnectionMapper.xml
newnms/src/main/resources/mapper/AlarmConnectionMapper.xml
+5
-0
AlarmMonitoringMapper.xml
newnms/src/main/resources/mapper/AlarmMonitoringMapper.xml
+5
-0
ConfigurationManageMapper.xml
...s/src/main/resources/mapper/ConfigurationManageMapper.xml
+5
-0
HmsDeviceConnectionStatusMapper.xml
...main/resources/mapper/HmsDeviceConnectionStatusMapper.xml
+5
-0
HmsDeviceConnetionMaintenanceMapper.xml
.../resources/mapper/HmsDeviceConnetionMaintenanceMapper.xml
+5
-0
HmsLeakycableMaintainMapper.xml
...src/main/resources/mapper/HmsLeakycableMaintainMapper.xml
+5
-0
HmsLeakycableMonitorStatusMapper.xml
...ain/resources/mapper/HmsLeakycableMonitorStatusMapper.xml
+5
-0
MmsAlarmMapper.xml
newnms/src/main/resources/mapper/MmsAlarmMapper.xml
+5
-0
MmsDeviceMapper.xml
newnms/src/main/resources/mapper/MmsDeviceMapper.xml
+5
-0
RealtimeConnectionAlarmMapper.xml
...c/main/resources/mapper/RealtimeConnectionAlarmMapper.xml
+5
-0
RealtimeMonitoringAlarmMapper.xml
...c/main/resources/mapper/RealtimeMonitoringAlarmMapper.xml
+5
-0
SmsDictDataMapper.xml
newnms/src/main/resources/mapper/SmsDictDataMapper.xml
+5
-0
SmsDictTypeMapper.xml
newnms/src/main/resources/mapper/SmsDictTypeMapper.xml
+5
-0
UserMapper.xml
newnms/src/main/resources/mapper/UserMapper.xml
+5
-0
UserOperationMapper.xml
newnms/src/main/resources/mapper/UserOperationMapper.xml
+5
-0
No files found.
.idea/workspace.xml
View file @
3580ecc6
...
@@ -6,7 +6,17 @@
...
@@ -6,7 +6,17 @@
</artifacts-to-build>
</artifacts-to-build>
</component>
</component>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"d78dbbd2-2fbf-4680-80a9-30edd19c4d7f"
name=
"Default Changelist"
comment=
""
/>
<list
default=
"true"
id=
"d78dbbd2-2fbf-4680-80a9-30edd19c4d7f"
name=
"Default Changelist"
comment=
"创建项目"
>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/java/com/hongxinhui/controller/UserController.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/java/com/hongxinhui/entity/User.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/java/com/hongxinhui/mapper/UserMapper.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/java/com/hongxinhui/param/UserPageParam.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/java/com/hongxinhui/service/UserService.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/java/com/hongxinhui/service/impl/UserServiceImpl.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/newnms/src/main/resources/mapper/UserMapper.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java"
afterDir=
"false"
/>
</list>
<list
id=
"4a792d78-9a34-41da-b33b-8e23add163e1"
name=
"1"
comment=
""
/>
<list
id=
"4a792d78-9a34-41da-b33b-8e23add163e1"
name=
"1"
comment=
""
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -469,7 +479,9 @@
...
@@ -469,7 +479,9 @@
<workItem
from=
"1640055489898"
duration=
"676000"
/>
<workItem
from=
"1640055489898"
duration=
"676000"
/>
<workItem
from=
"1640088864477"
duration=
"25000"
/>
<workItem
from=
"1640088864477"
duration=
"25000"
/>
<workItem
from=
"1641702308599"
duration=
"2389000"
/>
<workItem
from=
"1641702308599"
duration=
"2389000"
/>
<workItem
from=
"1644548205512"
duration=
"3005000"
/>
<workItem
from=
"1644548205512"
duration=
"5979000"
/>
<workItem
from=
"1644809237672"
duration=
"1515000"
/>
<workItem
from=
"1644821349825"
duration=
"907000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"上传项目"
>
<task
id=
"LOCAL-00001"
summary=
"上传项目"
>
<created>
1625797686627
</created>
<created>
1625797686627
</created>
...
@@ -555,7 +567,21 @@
...
@@ -555,7 +567,21 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1644559727233
</updated>
<updated>
1644559727233
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"13"
/>
<task
id=
"LOCAL-00013"
summary=
"创建项目"
>
<created>
1644559848667
</created>
<option
name=
"number"
value=
"00013"
/>
<option
name=
"presentableId"
value=
"LOCAL-00013"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1644559848667
</updated>
</task>
<task
id=
"LOCAL-00014"
summary=
"创建项目"
>
<created>
1644809407524
</created>
<option
name=
"number"
value=
"00014"
/>
<option
name=
"presentableId"
value=
"LOCAL-00014"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1644809407524
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"15"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
@@ -591,58 +617,62 @@
...
@@ -591,58 +617,62 @@
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"361"
y=
"71"
key=
"#Notifications/0.0.1536.824@0.0.1536.824"
timestamp=
"1644559282079"
/>
<state
x=
"361"
y=
"71"
key=
"#Notifications/0.0.1536.824@0.0.1536.824"
timestamp=
"1644559282079"
/>
<state
x=
"574"
y=
"116"
key=
"#com.intellij.ide.util.MemberChooser"
timestamp=
"1639017664789"
>
<state
x=
"223"
y=
"67"
width=
"1164"
height=
"689"
key=
"#com.intellij.execution.impl.EditConfigurationsDialog"
timestamp=
"1644562092135"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
<state
x=
"223"
y=
"67"
width=
"1164"
height=
"689"
key=
"#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"1644562092135"
/>
<state
x=
"574"
y=
"116"
key=
"#com.intellij.ide.util.MemberChooser"
timestamp=
"1644821702467"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"574"
y=
"116"
key=
"#com.intellij.ide.util.MemberChooser/0.0.1536.824@0.0.1536.824"
timestamp=
"16
39017664789
"
/>
<state
x=
"574"
y=
"116"
key=
"#com.intellij.ide.util.MemberChooser/0.0.1536.824@0.0.1536.824"
timestamp=
"16
44821702467
"
/>
<state
x=
"499"
y=
"159"
key=
"#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog"
timestamp=
"1644549276845"
>
<state
x=
"499"
y=
"159"
key=
"#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog"
timestamp=
"1644549276845"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"499"
y=
"159"
key=
"#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"1644549276845"
/>
<state
x=
"499"
y=
"159"
key=
"#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"1644549276845"
/>
<state
x=
"346"
y=
"0"
key=
"CommitChangelistDialog2"
timestamp=
"1644
559839509
"
>
<state
x=
"346"
y=
"0"
key=
"CommitChangelistDialog2"
timestamp=
"1644
809402311
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"346"
y=
"0"
key=
"CommitChangelistDialog2/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
559839509
"
/>
<state
x=
"346"
y=
"0"
key=
"CommitChangelistDialog2/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
809402311
"
/>
<state
x=
"122"
y=
"80"
width=
"1350"
height=
"638"
key=
"DiffContextDialog"
timestamp=
"16
39033566026
"
>
<state
x=
"122"
y=
"80"
width=
"1350"
height=
"638"
key=
"DiffContextDialog"
timestamp=
"16
44809397932
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"122"
y=
"80"
width=
"1350"
height=
"638"
key=
"DiffContextDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"16
39033566026
"
/>
<state
x=
"122"
y=
"80"
width=
"1350"
height=
"638"
key=
"DiffContextDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"16
44809397932
"
/>
<state
x=
"549"
y=
"102"
key=
"FileChooserDialogImpl"
timestamp=
"1644559189791"
>
<state
x=
"549"
y=
"102"
key=
"FileChooserDialogImpl"
timestamp=
"1644559189791"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"549"
y=
"102"
key=
"FileChooserDialogImpl/0.0.1536.824@0.0.1536.824"
timestamp=
"1644559189791"
/>
<state
x=
"549"
y=
"102"
key=
"FileChooserDialogImpl/0.0.1536.824@0.0.1536.824"
timestamp=
"1644559189791"
/>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1644549850585
"
>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1644822330529
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.bottom/0.0.1536.824@0.0.1536.824"
timestamp=
"1644549850585
"
/>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.bottom/0.0.1536.824@0.0.1536.824"
timestamp=
"1644822330529
"
/>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.center"
timestamp=
"1644549850585
"
>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.center"
timestamp=
"1644822330529
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.center/0.0.1536.824@0.0.1536.824"
timestamp=
"1644549850585
"
/>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.center/0.0.1536.824@0.0.1536.824"
timestamp=
"1644822330529
"
/>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.left"
timestamp=
"1644549850585
"
>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.left"
timestamp=
"1644822330529
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.left/0.0.1536.824@0.0.1536.824"
timestamp=
"1644549850585
"
/>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.left/0.0.1536.824@0.0.1536.824"
timestamp=
"1644822330529
"
/>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.right"
timestamp=
"1644549850585
"
>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.right"
timestamp=
"1644822330529
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"
283"
key=
"GridCell.Tab.0.right/0.0.1536.824@0.0.1536.824"
timestamp=
"1644549850585
"
/>
<state
width=
"1493"
height=
"
125"
key=
"GridCell.Tab.0.right/0.0.1536.824@0.0.1536.824"
timestamp=
"1644822330529
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.bottom"
timestamp=
"16445
49850585
"
>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.bottom"
timestamp=
"16445
76958891
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.bottom/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
49850585
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.bottom/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
76958891
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.center"
timestamp=
"16445
49850585
"
>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.center"
timestamp=
"16445
76958890
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.center/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
49850585
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.center/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
76958890
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.left"
timestamp=
"16445
49850585
"
>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.left"
timestamp=
"16445
76958890
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.left/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
49850585
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.left/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
76958890
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.right"
timestamp=
"16445
49850585
"
>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.right"
timestamp=
"16445
76958891
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.right/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
49850585
"
/>
<state
width=
"1493"
height=
"283"
key=
"GridCell.Tab.1.right/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
76958891
"
/>
<state
x=
"249"
y=
"0"
key=
"SettingsEditor"
timestamp=
"1644548907586"
>
<state
x=
"249"
y=
"0"
key=
"SettingsEditor"
timestamp=
"1644548907586"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
...
@@ -655,22 +685,22 @@
...
@@ -655,22 +685,22 @@
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"703"
y=
"321"
key=
"VCS.ChangelistChooser/0.0.1536.824@0.0.1536.824"
timestamp=
"1639033572252"
/>
<state
x=
"703"
y=
"321"
key=
"VCS.ChangelistChooser/0.0.1536.824@0.0.1536.824"
timestamp=
"1639033572252"
/>
<state
x=
"361"
y=
"127"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1644
55973029
5"
>
<state
x=
"361"
y=
"127"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1644
80940927
5"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"361"
y=
"127"
key=
"Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
55973029
5"
/>
<state
x=
"361"
y=
"127"
key=
"Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
80940927
5"
/>
<state
x=
"561"
y=
"324"
key=
"com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2"
timestamp=
"1644559560533"
>
<state
x=
"561"
y=
"324"
key=
"com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2"
timestamp=
"1644559560533"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"561"
y=
"324"
key=
"com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/0.0.1536.824@0.0.1536.824"
timestamp=
"1644559560533"
/>
<state
x=
"561"
y=
"324"
key=
"com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/0.0.1536.824@0.0.1536.824"
timestamp=
"1644559560533"
/>
<state
x=
"437"
y=
"138"
width=
"662"
height=
"548"
key=
"find.popup"
timestamp=
"1644
549838162
"
>
<state
x=
"437"
y=
"138"
width=
"662"
height=
"548"
key=
"find.popup"
timestamp=
"1644
809263558
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"437"
y=
"138"
width=
"662"
height=
"548"
key=
"find.popup/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
549838162
"
/>
<state
x=
"437"
y=
"138"
width=
"662"
height=
"548"
key=
"find.popup/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
809263558
"
/>
<state
x=
"464"
y=
"185"
key=
"git4idea.merge.GitPullDialog"
timestamp=
"1644
559304260
"
>
<state
x=
"464"
y=
"185"
key=
"git4idea.merge.GitPullDialog"
timestamp=
"1644
809249167
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"464"
y=
"185"
key=
"git4idea.merge.GitPullDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
559304260
"
/>
<state
x=
"464"
y=
"185"
key=
"git4idea.merge.GitPullDialog/0.0.1536.824@0.0.1536.824"
timestamp=
"1644
809249167
"
/>
<state
x=
"564"
y=
"255"
key=
"git4idea.rebase.GitRebaseDialog"
timestamp=
"1644559377091"
>
<state
x=
"564"
y=
"255"
key=
"git4idea.rebase.GitRebaseDialog"
timestamp=
"1644559377091"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
...
@@ -679,10 +709,10 @@
...
@@ -679,10 +709,10 @@
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"178"
y=
"110"
key=
"new project wizard/0.0.1536.824@0.0.1536.824"
timestamp=
"1644548852109"
/>
<state
x=
"178"
y=
"110"
key=
"new project wizard/0.0.1536.824@0.0.1536.824"
timestamp=
"1644548852109"
/>
<state
x=
"431"
y=
"145"
width=
"672"
height=
"678"
key=
"search.everywhere.popup"
timestamp=
"16445
49833715
"
>
<state
x=
"431"
y=
"145"
width=
"672"
height=
"678"
key=
"search.everywhere.popup"
timestamp=
"16445
62098487
"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
<state
x=
"431"
y=
"145"
width=
"672"
height=
"678"
key=
"search.everywhere.popup/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
49833715
"
/>
<state
x=
"431"
y=
"145"
width=
"672"
height=
"678"
key=
"search.everywhere.popup/0.0.1536.824@0.0.1536.824"
timestamp=
"16445
62098487
"
/>
<state
x=
"571"
y=
"311"
key=
"svn.passwordDialog"
timestamp=
"1644559502257"
>
<state
x=
"571"
y=
"311"
key=
"svn.passwordDialog"
timestamp=
"1644559502257"
>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
<screen
x=
"0"
y=
"0"
width=
"1536"
height=
"824"
/>
</state>
</state>
...
...
generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java
View file @
3580ecc6
...
@@ -49,7 +49,7 @@ public class SpringBootPlusGenerator {
...
@@ -49,7 +49,7 @@ public class SpringBootPlusGenerator {
.
setFileOverride
(
true
);
.
setFileOverride
(
true
);
// 设置表信息
// 设置表信息
generatorProperties
.
addTable
(
"user"
,
"id"
);
generatorProperties
.
addTable
(
"user
_operation
"
,
"id"
);
// 数据源配置
// 数据源配置
generatorProperties
.
getDataSourceConfig
()
generatorProperties
.
getDataSourceConfig
()
...
...
logs/spring-boot-plus.log
View file @
3580ecc6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
newnms/src/main/java/com/hongxinhui/controller/AlarmConnectionController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.AlarmConnection
;
import
com.hongxinhui.service.AlarmConnectionService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.AlarmConnectionPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 设备连接告警 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/alarmConnection"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"设备连接告警API"
,
tags
=
{
"设备连接告警"
})
public
class
AlarmConnectionController
extends
BaseController
{
@Autowired
private
AlarmConnectionService
alarmConnectionService
;
/**
* 添加设备连接告警
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加设备连接告警"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加设备连接告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addAlarmConnection
(
@Validated
(
Add
.
class
)
@RequestBody
AlarmConnection
alarmConnection
)
throws
Exception
{
boolean
flag
=
alarmConnectionService
.
saveAlarmConnection
(
alarmConnection
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改设备连接告警
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改设备连接告警"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改设备连接告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateAlarmConnection
(
@Validated
(
Update
.
class
)
@RequestBody
AlarmConnection
alarmConnection
)
throws
Exception
{
boolean
flag
=
alarmConnectionService
.
updateAlarmConnection
(
alarmConnection
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除设备连接告警
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除设备连接告警"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除设备连接告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteAlarmConnection
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
alarmConnectionService
.
deleteAlarmConnection
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取设备连接告警详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"设备连接告警详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"设备连接告警详情"
,
response
=
AlarmConnection
.
class
)
public
ApiResult
<
AlarmConnection
>
getAlarmConnection
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
AlarmConnection
alarmConnection
=
alarmConnectionService
.
getById
(
id
);
return
ApiResult
.
ok
(
alarmConnection
);
}
/**
* 设备连接告警分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"设备连接告警分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"设备连接告警分页列表"
,
response
=
AlarmConnection
.
class
)
public
ApiResult
<
Paging
<
AlarmConnection
>>
getAlarmConnectionPageList
(
@Validated
@RequestBody
AlarmConnectionPageParam
alarmConnectionPageParam
)
throws
Exception
{
Paging
<
AlarmConnection
>
paging
=
alarmConnectionService
.
getAlarmConnectionPageList
(
alarmConnectionPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/AlarmMonitoringController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.AlarmMonitoring
;
import
com.hongxinhui.service.AlarmMonitoringService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.AlarmMonitoringPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 漏缆监测告警 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/alarmMonitoring"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"漏缆监测告警API"
,
tags
=
{
"漏缆监测告警"
})
public
class
AlarmMonitoringController
extends
BaseController
{
@Autowired
private
AlarmMonitoringService
alarmMonitoringService
;
/**
* 添加漏缆监测告警
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加漏缆监测告警"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加漏缆监测告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addAlarmMonitoring
(
@Validated
(
Add
.
class
)
@RequestBody
AlarmMonitoring
alarmMonitoring
)
throws
Exception
{
boolean
flag
=
alarmMonitoringService
.
saveAlarmMonitoring
(
alarmMonitoring
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改漏缆监测告警
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改漏缆监测告警"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改漏缆监测告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateAlarmMonitoring
(
@Validated
(
Update
.
class
)
@RequestBody
AlarmMonitoring
alarmMonitoring
)
throws
Exception
{
boolean
flag
=
alarmMonitoringService
.
updateAlarmMonitoring
(
alarmMonitoring
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除漏缆监测告警
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除漏缆监测告警"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除漏缆监测告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteAlarmMonitoring
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
alarmMonitoringService
.
deleteAlarmMonitoring
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取漏缆监测告警详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"漏缆监测告警详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"漏缆监测告警详情"
,
response
=
AlarmMonitoring
.
class
)
public
ApiResult
<
AlarmMonitoring
>
getAlarmMonitoring
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
AlarmMonitoring
alarmMonitoring
=
alarmMonitoringService
.
getById
(
id
);
return
ApiResult
.
ok
(
alarmMonitoring
);
}
/**
* 漏缆监测告警分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"漏缆监测告警分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"漏缆监测告警分页列表"
,
response
=
AlarmMonitoring
.
class
)
public
ApiResult
<
Paging
<
AlarmMonitoring
>>
getAlarmMonitoringPageList
(
@Validated
@RequestBody
AlarmMonitoringPageParam
alarmMonitoringPageParam
)
throws
Exception
{
Paging
<
AlarmMonitoring
>
paging
=
alarmMonitoringService
.
getAlarmMonitoringPageList
(
alarmMonitoringPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/ConfigurationManageController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.ConfigurationManage
;
import
com.hongxinhui.service.ConfigurationManageService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.ConfigurationManagePageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 配置管理表 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/configurationManage"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"配置管理表API"
,
tags
=
{
"配置管理表"
})
public
class
ConfigurationManageController
extends
BaseController
{
@Autowired
private
ConfigurationManageService
configurationManageService
;
/**
* 添加配置管理表
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加配置管理表"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加配置管理表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addConfigurationManage
(
@Validated
(
Add
.
class
)
@RequestBody
ConfigurationManage
configurationManage
)
throws
Exception
{
boolean
flag
=
configurationManageService
.
saveConfigurationManage
(
configurationManage
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改配置管理表
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改配置管理表"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改配置管理表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateConfigurationManage
(
@Validated
(
Update
.
class
)
@RequestBody
ConfigurationManage
configurationManage
)
throws
Exception
{
boolean
flag
=
configurationManageService
.
updateConfigurationManage
(
configurationManage
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除配置管理表
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除配置管理表"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除配置管理表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteConfigurationManage
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
configurationManageService
.
deleteConfigurationManage
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取配置管理表详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"配置管理表详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"配置管理表详情"
,
response
=
ConfigurationManage
.
class
)
public
ApiResult
<
ConfigurationManage
>
getConfigurationManage
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
ConfigurationManage
configurationManage
=
configurationManageService
.
getById
(
id
);
return
ApiResult
.
ok
(
configurationManage
);
}
/**
* 配置管理表分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"配置管理表分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"配置管理表分页列表"
,
response
=
ConfigurationManage
.
class
)
public
ApiResult
<
Paging
<
ConfigurationManage
>>
getConfigurationManagePageList
(
@Validated
@RequestBody
ConfigurationManagePageParam
configurationManagePageParam
)
throws
Exception
{
Paging
<
ConfigurationManage
>
paging
=
configurationManageService
.
getConfigurationManagePageList
(
configurationManagePageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/HmsDeviceConnectionStatusController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.HmsDeviceConnectionStatus
;
import
com.hongxinhui.service.HmsDeviceConnectionStatusService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.HmsDeviceConnectionStatusPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 设备连接历史状态 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/hmsDeviceConnectionStatus"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"设备连接历史状态API"
,
tags
=
{
"设备连接历史状态"
})
public
class
HmsDeviceConnectionStatusController
extends
BaseController
{
@Autowired
private
HmsDeviceConnectionStatusService
hmsDeviceConnectionStatusService
;
/**
* 添加设备连接历史状态
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加设备连接历史状态"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加设备连接历史状态"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addHmsDeviceConnectionStatus
(
@Validated
(
Add
.
class
)
@RequestBody
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
)
throws
Exception
{
boolean
flag
=
hmsDeviceConnectionStatusService
.
saveHmsDeviceConnectionStatus
(
hmsDeviceConnectionStatus
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改设备连接历史状态
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改设备连接历史状态"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改设备连接历史状态"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateHmsDeviceConnectionStatus
(
@Validated
(
Update
.
class
)
@RequestBody
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
)
throws
Exception
{
boolean
flag
=
hmsDeviceConnectionStatusService
.
updateHmsDeviceConnectionStatus
(
hmsDeviceConnectionStatus
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除设备连接历史状态
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除设备连接历史状态"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除设备连接历史状态"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteHmsDeviceConnectionStatus
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
hmsDeviceConnectionStatusService
.
deleteHmsDeviceConnectionStatus
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取设备连接历史状态详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"设备连接历史状态详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"设备连接历史状态详情"
,
response
=
HmsDeviceConnectionStatus
.
class
)
public
ApiResult
<
HmsDeviceConnectionStatus
>
getHmsDeviceConnectionStatus
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
=
hmsDeviceConnectionStatusService
.
getById
(
id
);
return
ApiResult
.
ok
(
hmsDeviceConnectionStatus
);
}
/**
* 设备连接历史状态分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"设备连接历史状态分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"设备连接历史状态分页列表"
,
response
=
HmsDeviceConnectionStatus
.
class
)
public
ApiResult
<
Paging
<
HmsDeviceConnectionStatus
>>
getHmsDeviceConnectionStatusPageList
(
@Validated
@RequestBody
HmsDeviceConnectionStatusPageParam
hmsDeviceConnectionStatusPageParam
)
throws
Exception
{
Paging
<
HmsDeviceConnectionStatus
>
paging
=
hmsDeviceConnectionStatusService
.
getHmsDeviceConnectionStatusPageList
(
hmsDeviceConnectionStatusPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/HmsDeviceConnetionMaintenanceController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.HmsDeviceConnetionMaintenance
;
import
com.hongxinhui.service.HmsDeviceConnetionMaintenanceService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.HmsDeviceConnetionMaintenancePageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 设备连接维修历史 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/hmsDeviceConnetionMaintenance"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"设备连接维修历史API"
,
tags
=
{
"设备连接维修历史"
})
public
class
HmsDeviceConnetionMaintenanceController
extends
BaseController
{
@Autowired
private
HmsDeviceConnetionMaintenanceService
hmsDeviceConnetionMaintenanceService
;
/**
* 添加设备连接维修历史
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加设备连接维修历史"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加设备连接维修历史"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addHmsDeviceConnetionMaintenance
(
@Validated
(
Add
.
class
)
@RequestBody
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
)
throws
Exception
{
boolean
flag
=
hmsDeviceConnetionMaintenanceService
.
saveHmsDeviceConnetionMaintenance
(
hmsDeviceConnetionMaintenance
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改设备连接维修历史
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改设备连接维修历史"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改设备连接维修历史"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateHmsDeviceConnetionMaintenance
(
@Validated
(
Update
.
class
)
@RequestBody
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
)
throws
Exception
{
boolean
flag
=
hmsDeviceConnetionMaintenanceService
.
updateHmsDeviceConnetionMaintenance
(
hmsDeviceConnetionMaintenance
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除设备连接维修历史
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除设备连接维修历史"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除设备连接维修历史"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteHmsDeviceConnetionMaintenance
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
hmsDeviceConnetionMaintenanceService
.
deleteHmsDeviceConnetionMaintenance
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取设备连接维修历史详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"设备连接维修历史详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"设备连接维修历史详情"
,
response
=
HmsDeviceConnetionMaintenance
.
class
)
public
ApiResult
<
HmsDeviceConnetionMaintenance
>
getHmsDeviceConnetionMaintenance
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
=
hmsDeviceConnetionMaintenanceService
.
getById
(
id
);
return
ApiResult
.
ok
(
hmsDeviceConnetionMaintenance
);
}
/**
* 设备连接维修历史分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"设备连接维修历史分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"设备连接维修历史分页列表"
,
response
=
HmsDeviceConnetionMaintenance
.
class
)
public
ApiResult
<
Paging
<
HmsDeviceConnetionMaintenance
>>
getHmsDeviceConnetionMaintenancePageList
(
@Validated
@RequestBody
HmsDeviceConnetionMaintenancePageParam
hmsDeviceConnetionMaintenancePageParam
)
throws
Exception
{
Paging
<
HmsDeviceConnetionMaintenance
>
paging
=
hmsDeviceConnetionMaintenanceService
.
getHmsDeviceConnetionMaintenancePageList
(
hmsDeviceConnetionMaintenancePageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/HmsLeakycableMaintainController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.HmsLeakycableMaintain
;
import
com.hongxinhui.service.HmsLeakycableMaintainService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.HmsLeakycableMaintainPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 漏缆监测维护历史 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/hmsLeakycableMaintain"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"漏缆监测维护历史API"
,
tags
=
{
"漏缆监测维护历史"
})
public
class
HmsLeakycableMaintainController
extends
BaseController
{
@Autowired
private
HmsLeakycableMaintainService
hmsLeakycableMaintainService
;
/**
* 添加漏缆监测维护历史
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加漏缆监测维护历史"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加漏缆监测维护历史"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addHmsLeakycableMaintain
(
@Validated
(
Add
.
class
)
@RequestBody
HmsLeakycableMaintain
hmsLeakycableMaintain
)
throws
Exception
{
boolean
flag
=
hmsLeakycableMaintainService
.
saveHmsLeakycableMaintain
(
hmsLeakycableMaintain
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改漏缆监测维护历史
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改漏缆监测维护历史"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改漏缆监测维护历史"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateHmsLeakycableMaintain
(
@Validated
(
Update
.
class
)
@RequestBody
HmsLeakycableMaintain
hmsLeakycableMaintain
)
throws
Exception
{
boolean
flag
=
hmsLeakycableMaintainService
.
updateHmsLeakycableMaintain
(
hmsLeakycableMaintain
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除漏缆监测维护历史
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除漏缆监测维护历史"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除漏缆监测维护历史"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteHmsLeakycableMaintain
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
hmsLeakycableMaintainService
.
deleteHmsLeakycableMaintain
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取漏缆监测维护历史详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"漏缆监测维护历史详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"漏缆监测维护历史详情"
,
response
=
HmsLeakycableMaintain
.
class
)
public
ApiResult
<
HmsLeakycableMaintain
>
getHmsLeakycableMaintain
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
HmsLeakycableMaintain
hmsLeakycableMaintain
=
hmsLeakycableMaintainService
.
getById
(
id
);
return
ApiResult
.
ok
(
hmsLeakycableMaintain
);
}
/**
* 漏缆监测维护历史分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"漏缆监测维护历史分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"漏缆监测维护历史分页列表"
,
response
=
HmsLeakycableMaintain
.
class
)
public
ApiResult
<
Paging
<
HmsLeakycableMaintain
>>
getHmsLeakycableMaintainPageList
(
@Validated
@RequestBody
HmsLeakycableMaintainPageParam
hmsLeakycableMaintainPageParam
)
throws
Exception
{
Paging
<
HmsLeakycableMaintain
>
paging
=
hmsLeakycableMaintainService
.
getHmsLeakycableMaintainPageList
(
hmsLeakycableMaintainPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/HmsLeakycableMonitorStatusController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.HmsLeakycableMonitorStatus
;
import
com.hongxinhui.service.HmsLeakycableMonitorStatusService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.HmsLeakycableMonitorStatusPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 漏缆监测历史状态 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/hmsLeakycableMonitorStatus"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"漏缆监测历史状态API"
,
tags
=
{
"漏缆监测历史状态"
})
public
class
HmsLeakycableMonitorStatusController
extends
BaseController
{
@Autowired
private
HmsLeakycableMonitorStatusService
hmsLeakycableMonitorStatusService
;
/**
* 添加漏缆监测历史状态
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加漏缆监测历史状态"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加漏缆监测历史状态"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addHmsLeakycableMonitorStatus
(
@Validated
(
Add
.
class
)
@RequestBody
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
)
throws
Exception
{
boolean
flag
=
hmsLeakycableMonitorStatusService
.
saveHmsLeakycableMonitorStatus
(
hmsLeakycableMonitorStatus
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改漏缆监测历史状态
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改漏缆监测历史状态"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改漏缆监测历史状态"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateHmsLeakycableMonitorStatus
(
@Validated
(
Update
.
class
)
@RequestBody
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
)
throws
Exception
{
boolean
flag
=
hmsLeakycableMonitorStatusService
.
updateHmsLeakycableMonitorStatus
(
hmsLeakycableMonitorStatus
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除漏缆监测历史状态
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除漏缆监测历史状态"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除漏缆监测历史状态"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteHmsLeakycableMonitorStatus
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
hmsLeakycableMonitorStatusService
.
deleteHmsLeakycableMonitorStatus
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取漏缆监测历史状态详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"漏缆监测历史状态详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"漏缆监测历史状态详情"
,
response
=
HmsLeakycableMonitorStatus
.
class
)
public
ApiResult
<
HmsLeakycableMonitorStatus
>
getHmsLeakycableMonitorStatus
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
=
hmsLeakycableMonitorStatusService
.
getById
(
id
);
return
ApiResult
.
ok
(
hmsLeakycableMonitorStatus
);
}
/**
* 漏缆监测历史状态分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"漏缆监测历史状态分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"漏缆监测历史状态分页列表"
,
response
=
HmsLeakycableMonitorStatus
.
class
)
public
ApiResult
<
Paging
<
HmsLeakycableMonitorStatus
>>
getHmsLeakycableMonitorStatusPageList
(
@Validated
@RequestBody
HmsLeakycableMonitorStatusPageParam
hmsLeakycableMonitorStatusPageParam
)
throws
Exception
{
Paging
<
HmsLeakycableMonitorStatus
>
paging
=
hmsLeakycableMonitorStatusService
.
getHmsLeakycableMonitorStatusPageList
(
hmsLeakycableMonitorStatusPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/MmsAlarmController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.MmsAlarm
;
import
com.hongxinhui.service.MmsAlarmService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.MmsAlarmPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 设备告警参数限制 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/mmsAlarm"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"设备告警参数限制API"
,
tags
=
{
"设备告警参数限制"
})
public
class
MmsAlarmController
extends
BaseController
{
@Autowired
private
MmsAlarmService
mmsAlarmService
;
/**
* 添加设备告警参数限制
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加设备告警参数限制"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加设备告警参数限制"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addMmsAlarm
(
@Validated
(
Add
.
class
)
@RequestBody
MmsAlarm
mmsAlarm
)
throws
Exception
{
boolean
flag
=
mmsAlarmService
.
saveMmsAlarm
(
mmsAlarm
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改设备告警参数限制
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改设备告警参数限制"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改设备告警参数限制"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateMmsAlarm
(
@Validated
(
Update
.
class
)
@RequestBody
MmsAlarm
mmsAlarm
)
throws
Exception
{
boolean
flag
=
mmsAlarmService
.
updateMmsAlarm
(
mmsAlarm
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除设备告警参数限制
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除设备告警参数限制"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除设备告警参数限制"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteMmsAlarm
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
mmsAlarmService
.
deleteMmsAlarm
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取设备告警参数限制详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"设备告警参数限制详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"设备告警参数限制详情"
,
response
=
MmsAlarm
.
class
)
public
ApiResult
<
MmsAlarm
>
getMmsAlarm
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
MmsAlarm
mmsAlarm
=
mmsAlarmService
.
getById
(
id
);
return
ApiResult
.
ok
(
mmsAlarm
);
}
/**
* 设备告警参数限制分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"设备告警参数限制分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"设备告警参数限制分页列表"
,
response
=
MmsAlarm
.
class
)
public
ApiResult
<
Paging
<
MmsAlarm
>>
getMmsAlarmPageList
(
@Validated
@RequestBody
MmsAlarmPageParam
mmsAlarmPageParam
)
throws
Exception
{
Paging
<
MmsAlarm
>
paging
=
mmsAlarmService
.
getMmsAlarmPageList
(
mmsAlarmPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/MmsDeviceController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.MmsDevice
;
import
com.hongxinhui.service.MmsDeviceService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.MmsDevicePageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 设备本身维护 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/mmsDevice"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"设备本身维护API"
,
tags
=
{
"设备本身维护"
})
public
class
MmsDeviceController
extends
BaseController
{
@Autowired
private
MmsDeviceService
mmsDeviceService
;
/**
* 添加设备本身维护
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加设备本身维护"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加设备本身维护"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addMmsDevice
(
@Validated
(
Add
.
class
)
@RequestBody
MmsDevice
mmsDevice
)
throws
Exception
{
boolean
flag
=
mmsDeviceService
.
saveMmsDevice
(
mmsDevice
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改设备本身维护
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改设备本身维护"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改设备本身维护"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateMmsDevice
(
@Validated
(
Update
.
class
)
@RequestBody
MmsDevice
mmsDevice
)
throws
Exception
{
boolean
flag
=
mmsDeviceService
.
updateMmsDevice
(
mmsDevice
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除设备本身维护
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除设备本身维护"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除设备本身维护"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteMmsDevice
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
mmsDeviceService
.
deleteMmsDevice
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取设备本身维护详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"设备本身维护详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"设备本身维护详情"
,
response
=
MmsDevice
.
class
)
public
ApiResult
<
MmsDevice
>
getMmsDevice
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
MmsDevice
mmsDevice
=
mmsDeviceService
.
getById
(
id
);
return
ApiResult
.
ok
(
mmsDevice
);
}
/**
* 设备本身维护分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"设备本身维护分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"设备本身维护分页列表"
,
response
=
MmsDevice
.
class
)
public
ApiResult
<
Paging
<
MmsDevice
>>
getMmsDevicePageList
(
@Validated
@RequestBody
MmsDevicePageParam
mmsDevicePageParam
)
throws
Exception
{
Paging
<
MmsDevice
>
paging
=
mmsDeviceService
.
getMmsDevicePageList
(
mmsDevicePageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/RealtimeConnectionAlarmController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.RealtimeConnectionAlarm
;
import
com.hongxinhui.service.RealtimeConnectionAlarmService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.RealtimeConnectionAlarmPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 设备连接告警 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/realtimeConnectionAlarm"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"设备连接告警API"
,
tags
=
{
"设备连接告警"
})
public
class
RealtimeConnectionAlarmController
extends
BaseController
{
@Autowired
private
RealtimeConnectionAlarmService
realtimeConnectionAlarmService
;
/**
* 添加设备连接告警
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加设备连接告警"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加设备连接告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addRealtimeConnectionAlarm
(
@Validated
(
Add
.
class
)
@RequestBody
RealtimeConnectionAlarm
realtimeConnectionAlarm
)
throws
Exception
{
boolean
flag
=
realtimeConnectionAlarmService
.
saveRealtimeConnectionAlarm
(
realtimeConnectionAlarm
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改设备连接告警
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改设备连接告警"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改设备连接告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateRealtimeConnectionAlarm
(
@Validated
(
Update
.
class
)
@RequestBody
RealtimeConnectionAlarm
realtimeConnectionAlarm
)
throws
Exception
{
boolean
flag
=
realtimeConnectionAlarmService
.
updateRealtimeConnectionAlarm
(
realtimeConnectionAlarm
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除设备连接告警
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除设备连接告警"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除设备连接告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteRealtimeConnectionAlarm
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
realtimeConnectionAlarmService
.
deleteRealtimeConnectionAlarm
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取设备连接告警详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"设备连接告警详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"设备连接告警详情"
,
response
=
RealtimeConnectionAlarm
.
class
)
public
ApiResult
<
RealtimeConnectionAlarm
>
getRealtimeConnectionAlarm
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
RealtimeConnectionAlarm
realtimeConnectionAlarm
=
realtimeConnectionAlarmService
.
getById
(
id
);
return
ApiResult
.
ok
(
realtimeConnectionAlarm
);
}
/**
* 设备连接告警分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"设备连接告警分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"设备连接告警分页列表"
,
response
=
RealtimeConnectionAlarm
.
class
)
public
ApiResult
<
Paging
<
RealtimeConnectionAlarm
>>
getRealtimeConnectionAlarmPageList
(
@Validated
@RequestBody
RealtimeConnectionAlarmPageParam
realtimeConnectionAlarmPageParam
)
throws
Exception
{
Paging
<
RealtimeConnectionAlarm
>
paging
=
realtimeConnectionAlarmService
.
getRealtimeConnectionAlarmPageList
(
realtimeConnectionAlarmPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/RealtimeMonitoringAlarmController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.RealtimeMonitoringAlarm
;
import
com.hongxinhui.service.RealtimeMonitoringAlarmService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.RealtimeMonitoringAlarmPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 漏缆监测告警 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/realtimeMonitoringAlarm"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"漏缆监测告警API"
,
tags
=
{
"漏缆监测告警"
})
public
class
RealtimeMonitoringAlarmController
extends
BaseController
{
@Autowired
private
RealtimeMonitoringAlarmService
realtimeMonitoringAlarmService
;
/**
* 添加漏缆监测告警
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加漏缆监测告警"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加漏缆监测告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addRealtimeMonitoringAlarm
(
@Validated
(
Add
.
class
)
@RequestBody
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
)
throws
Exception
{
boolean
flag
=
realtimeMonitoringAlarmService
.
saveRealtimeMonitoringAlarm
(
realtimeMonitoringAlarm
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改漏缆监测告警
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改漏缆监测告警"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改漏缆监测告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateRealtimeMonitoringAlarm
(
@Validated
(
Update
.
class
)
@RequestBody
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
)
throws
Exception
{
boolean
flag
=
realtimeMonitoringAlarmService
.
updateRealtimeMonitoringAlarm
(
realtimeMonitoringAlarm
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除漏缆监测告警
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除漏缆监测告警"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除漏缆监测告警"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteRealtimeMonitoringAlarm
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
realtimeMonitoringAlarmService
.
deleteRealtimeMonitoringAlarm
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取漏缆监测告警详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"漏缆监测告警详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"漏缆监测告警详情"
,
response
=
RealtimeMonitoringAlarm
.
class
)
public
ApiResult
<
RealtimeMonitoringAlarm
>
getRealtimeMonitoringAlarm
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
=
realtimeMonitoringAlarmService
.
getById
(
id
);
return
ApiResult
.
ok
(
realtimeMonitoringAlarm
);
}
/**
* 漏缆监测告警分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"漏缆监测告警分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"漏缆监测告警分页列表"
,
response
=
RealtimeMonitoringAlarm
.
class
)
public
ApiResult
<
Paging
<
RealtimeMonitoringAlarm
>>
getRealtimeMonitoringAlarmPageList
(
@Validated
@RequestBody
RealtimeMonitoringAlarmPageParam
realtimeMonitoringAlarmPageParam
)
throws
Exception
{
Paging
<
RealtimeMonitoringAlarm
>
paging
=
realtimeMonitoringAlarmService
.
getRealtimeMonitoringAlarmPageList
(
realtimeMonitoringAlarmPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/SmsDictDataController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.SmsDictData
;
import
com.hongxinhui.service.SmsDictDataService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.SmsDictDataPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 字典数据表 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/smsDictData"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"字典数据表API"
,
tags
=
{
"字典数据表"
})
public
class
SmsDictDataController
extends
BaseController
{
@Autowired
private
SmsDictDataService
smsDictDataService
;
/**
* 添加字典数据表
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加字典数据表"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加字典数据表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addSmsDictData
(
@Validated
(
Add
.
class
)
@RequestBody
SmsDictData
smsDictData
)
throws
Exception
{
boolean
flag
=
smsDictDataService
.
saveSmsDictData
(
smsDictData
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改字典数据表
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改字典数据表"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改字典数据表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateSmsDictData
(
@Validated
(
Update
.
class
)
@RequestBody
SmsDictData
smsDictData
)
throws
Exception
{
boolean
flag
=
smsDictDataService
.
updateSmsDictData
(
smsDictData
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除字典数据表
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除字典数据表"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除字典数据表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteSmsDictData
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
smsDictDataService
.
deleteSmsDictData
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取字典数据表详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"字典数据表详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"字典数据表详情"
,
response
=
SmsDictData
.
class
)
public
ApiResult
<
SmsDictData
>
getSmsDictData
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
SmsDictData
smsDictData
=
smsDictDataService
.
getById
(
id
);
return
ApiResult
.
ok
(
smsDictData
);
}
/**
* 字典数据表分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"字典数据表分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"字典数据表分页列表"
,
response
=
SmsDictData
.
class
)
public
ApiResult
<
Paging
<
SmsDictData
>>
getSmsDictDataPageList
(
@Validated
@RequestBody
SmsDictDataPageParam
smsDictDataPageParam
)
throws
Exception
{
Paging
<
SmsDictData
>
paging
=
smsDictDataService
.
getSmsDictDataPageList
(
smsDictDataPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/SmsDictTypeController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.SmsDictType
;
import
com.hongxinhui.service.SmsDictTypeService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.SmsDictTypePageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 字典类型表 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/smsDictType"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"字典类型表API"
,
tags
=
{
"字典类型表"
})
public
class
SmsDictTypeController
extends
BaseController
{
@Autowired
private
SmsDictTypeService
smsDictTypeService
;
/**
* 添加字典类型表
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加字典类型表"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加字典类型表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addSmsDictType
(
@Validated
(
Add
.
class
)
@RequestBody
SmsDictType
smsDictType
)
throws
Exception
{
boolean
flag
=
smsDictTypeService
.
saveSmsDictType
(
smsDictType
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改字典类型表
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改字典类型表"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改字典类型表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateSmsDictType
(
@Validated
(
Update
.
class
)
@RequestBody
SmsDictType
smsDictType
)
throws
Exception
{
boolean
flag
=
smsDictTypeService
.
updateSmsDictType
(
smsDictType
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除字典类型表
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除字典类型表"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除字典类型表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteSmsDictType
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
smsDictTypeService
.
deleteSmsDictType
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取字典类型表详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"字典类型表详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"字典类型表详情"
,
response
=
SmsDictType
.
class
)
public
ApiResult
<
SmsDictType
>
getSmsDictType
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
SmsDictType
smsDictType
=
smsDictTypeService
.
getById
(
id
);
return
ApiResult
.
ok
(
smsDictType
);
}
/**
* 字典类型表分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"字典类型表分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"字典类型表分页列表"
,
response
=
SmsDictType
.
class
)
public
ApiResult
<
Paging
<
SmsDictType
>>
getSmsDictTypePageList
(
@Validated
@RequestBody
SmsDictTypePageParam
smsDictTypePageParam
)
throws
Exception
{
Paging
<
SmsDictType
>
paging
=
smsDictTypeService
.
getSmsDictTypePageList
(
smsDictTypePageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/UserController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.User
;
import
com.hongxinhui.service.UserService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.UserPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 用户表 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/user"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"用户表API"
,
tags
=
{
"用户表"
})
public
class
UserController
extends
BaseController
{
@Autowired
private
UserService
userService
;
/**
* 添加用户表
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加用户表"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加用户表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addUser
(
@Validated
(
Add
.
class
)
@RequestBody
User
user
)
throws
Exception
{
boolean
flag
=
userService
.
saveUser
(
user
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改用户表
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改用户表"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改用户表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateUser
(
@Validated
(
Update
.
class
)
@RequestBody
User
user
)
throws
Exception
{
boolean
flag
=
userService
.
updateUser
(
user
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除用户表
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除用户表"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除用户表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteUser
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
userService
.
deleteUser
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取用户表详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"用户表详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"用户表详情"
,
response
=
User
.
class
)
public
ApiResult
<
User
>
getUser
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
User
user
=
userService
.
getById
(
id
);
return
ApiResult
.
ok
(
user
);
}
/**
* 用户表分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"用户表分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"用户表分页列表"
,
response
=
User
.
class
)
public
ApiResult
<
Paging
<
User
>>
getUserPageList
(
@Validated
@RequestBody
UserPageParam
userPageParam
)
throws
Exception
{
Paging
<
User
>
paging
=
userService
.
getUserPageList
(
userPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/controller/UserOperationController.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
controller
;
import
com.hongxinhui.entity.UserOperation
;
import
com.hongxinhui.service.UserOperationService
;
import
lombok.extern.slf4j.Slf4j
;
import
com.hongxinhui.param.UserOperationPageParam
;
import
io.geekidea.springbootplus.framework.common.controller.BaseController
;
import
io.geekidea.springbootplus.framework.common.api.ApiResult
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.common.param.IdParam
;
import
io.geekidea.springbootplus.framework.log.annotation.Module
;
import
io.geekidea.springbootplus.framework.log.annotation.OperationLog
;
import
io.geekidea.springbootplus.framework.log.enums.OperationLogType
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Add
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
import
org.springframework.validation.annotation.Validated
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* 用户操作表 控制器
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@RestController
@RequestMapping
(
"/userOperation"
)
@Module
(
"${cfg.module}"
)
@Api
(
value
=
"用户操作表API"
,
tags
=
{
"用户操作表"
})
public
class
UserOperationController
extends
BaseController
{
@Autowired
private
UserOperationService
userOperationService
;
/**
* 添加用户操作表
*/
@PostMapping
(
"/add"
)
@OperationLog
(
name
=
"添加用户操作表"
,
type
=
OperationLogType
.
ADD
)
@ApiOperation
(
value
=
"添加用户操作表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
addUserOperation
(
@Validated
(
Add
.
class
)
@RequestBody
UserOperation
userOperation
)
throws
Exception
{
boolean
flag
=
userOperationService
.
saveUserOperation
(
userOperation
);
return
ApiResult
.
result
(
flag
);
}
/**
* 修改用户操作表
*/
@PostMapping
(
"/update"
)
@OperationLog
(
name
=
"修改用户操作表"
,
type
=
OperationLogType
.
UPDATE
)
@ApiOperation
(
value
=
"修改用户操作表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
updateUserOperation
(
@Validated
(
Update
.
class
)
@RequestBody
UserOperation
userOperation
)
throws
Exception
{
boolean
flag
=
userOperationService
.
updateUserOperation
(
userOperation
);
return
ApiResult
.
result
(
flag
);
}
/**
* 删除用户操作表
*/
@PostMapping
(
"/delete/{id}"
)
@OperationLog
(
name
=
"删除用户操作表"
,
type
=
OperationLogType
.
DELETE
)
@ApiOperation
(
value
=
"删除用户操作表"
,
response
=
ApiResult
.
class
)
public
ApiResult
<
Boolean
>
deleteUserOperation
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
boolean
flag
=
userOperationService
.
deleteUserOperation
(
id
);
return
ApiResult
.
result
(
flag
);
}
/**
* 获取用户操作表详情
*/
@GetMapping
(
"/info/{id}"
)
@OperationLog
(
name
=
"用户操作表详情"
,
type
=
OperationLogType
.
INFO
)
@ApiOperation
(
value
=
"用户操作表详情"
,
response
=
UserOperation
.
class
)
public
ApiResult
<
UserOperation
>
getUserOperation
(
@PathVariable
(
"id"
)
Long
id
)
throws
Exception
{
UserOperation
userOperation
=
userOperationService
.
getById
(
id
);
return
ApiResult
.
ok
(
userOperation
);
}
/**
* 用户操作表分页列表
*/
@PostMapping
(
"/getPageList"
)
@OperationLog
(
name
=
"用户操作表分页列表"
,
type
=
OperationLogType
.
PAGE
)
@ApiOperation
(
value
=
"用户操作表分页列表"
,
response
=
UserOperation
.
class
)
public
ApiResult
<
Paging
<
UserOperation
>>
getUserOperationPageList
(
@Validated
@RequestBody
UserOperationPageParam
userOperationPageParam
)
throws
Exception
{
Paging
<
UserOperation
>
paging
=
userOperationService
.
getUserOperationPageList
(
userOperationPageParam
);
return
ApiResult
.
ok
(
paging
);
}
}
newnms/src/main/java/com/hongxinhui/entity/AlarmConnection.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 设备连接告警
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"AlarmConnection对象"
)
public
class
AlarmConnection
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@NotBlank
(
message
=
"网元设备名称不能为空"
)
@ApiModelProperty
(
"网元设备名称"
)
@TableField
(
"deviceName"
)
private
String
deviceName
;
@ApiModelProperty
(
"连接状态1正常2异常"
)
@TableField
(
"connectionType"
)
private
Integer
connectionType
;
@ApiModelProperty
(
"网元设备2"
)
@TableField
(
"deviceName2"
)
private
String
deviceName2
;
@ApiModelProperty
(
"上传时间"
)
@TableField
(
"uploadTime"
)
private
Date
uploadTime
;
@ApiModelProperty
(
"确认人id"
)
@TableField
(
"confirmUser"
)
private
Integer
confirmUser
;
@ApiModelProperty
(
"确认时间"
)
@TableField
(
"confirmTime"
)
private
Date
confirmTime
;
@ApiModelProperty
(
"确认状态1未确认2已确认"
)
@TableField
(
"confirmType"
)
private
Integer
confirmType
;
public
enum
FieldEnum
implements
BaseEnum
{
deviceName
(
"deviceName"
,
"网元设备名称"
),
connectionType
(
"connectionType"
,
"连接状态1正常2异常"
),
deviceName2
(
"deviceName2"
,
"网元设备2"
),
uploadTime
(
"uploadTime"
,
"上传时间"
),
confirmUser
(
"confirmUser"
,
"确认人id"
),
confirmTime
(
"confirmTime"
,
"确认时间"
),
confirmType
(
"confirmType"
,
"确认状态1未确认2已确认"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/AlarmMonitoring.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 漏缆监测告警
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"AlarmMonitoring对象"
)
public
class
AlarmMonitoring
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@NotBlank
(
message
=
"基站名称不能为空"
)
@ApiModelProperty
(
"基站名称"
)
@TableField
(
"siteName"
)
private
String
siteName
;
@ApiModelProperty
(
"告警对象"
)
@TableField
(
"alarmName"
)
private
String
alarmName
;
@ApiModelProperty
(
"告警级别1重要2紧急"
)
@TableField
(
"alarmLevel"
)
private
Integer
alarmLevel
;
@ApiModelProperty
(
"告警信息"
)
@TableField
(
"alramInfo"
)
private
String
alramInfo
;
@ApiModelProperty
(
"上传时间"
)
@TableField
(
"uploadTime"
)
private
Date
uploadTime
;
@ApiModelProperty
(
"状态改变时间"
)
@TableField
(
"updateTime"
)
private
Date
updateTime
;
@ApiModelProperty
(
"确认人id"
)
@TableField
(
"confirmUser"
)
private
Integer
confirmUser
;
@ApiModelProperty
(
"确认时间"
)
@TableField
(
"confirmTime"
)
private
Date
confirmTime
;
@ApiModelProperty
(
"确认状态1未确认2已确认"
)
@TableField
(
"confirmType"
)
private
Integer
confirmType
;
public
enum
FieldEnum
implements
BaseEnum
{
siteName
(
"siteName"
,
"基站名称"
),
alarmName
(
"alarmName"
,
"告警对象"
),
alarmLevel
(
"alarmLevel"
,
"告警级别1重要2紧急"
),
alramInfo
(
"alramInfo"
,
"告警信息"
),
uploadTime
(
"uploadTime"
,
"上传时间"
),
updateTime
(
"updateTime"
,
"状态改变时间"
),
confirmUser
(
"confirmUser"
,
"确认人id"
),
confirmTime
(
"confirmTime"
,
"确认时间"
),
confirmType
(
"confirmType"
,
"确认状态1未确认2已确认"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/ConfigurationManage.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 配置管理表
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"ConfigurationManage对象"
)
public
class
ConfigurationManage
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@ApiModelProperty
(
"铁路名称"
)
@TableField
(
"railwayName"
)
private
String
railwayName
;
@ApiModelProperty
(
"起点名称"
)
@TableField
(
"startName"
)
private
String
startName
;
@ApiModelProperty
(
"终点名称"
)
@TableField
(
"endName"
)
private
String
endName
;
@ApiModelProperty
(
"长度"
)
@TableField
(
"totalLength"
)
private
Double
totalLength
;
@ApiModelProperty
(
"配置类型1铁路线2站点3FSU4监测设备5漏缆6天馈线"
)
@TableField
(
"connectionType"
)
private
Integer
connectionType
;
public
enum
FieldEnum
implements
BaseEnum
{
railwayName
(
"railwayName"
,
"铁路名称"
),
startName
(
"startName"
,
"起点名称"
),
endName
(
"endName"
,
"终点名称"
),
totalLength
(
"totalLength"
,
"长度"
),
connectionType
(
"connectionType"
,
"配置类型1铁路线2站点3FSU4监测设备5漏缆6天馈线"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/HmsDeviceConnectionStatus.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 设备连接历史状态
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"HmsDeviceConnectionStatus对象"
)
public
class
HmsDeviceConnectionStatus
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@ApiModelProperty
(
"网元设备1"
)
@TableField
(
"networkElement1"
)
private
String
networkElement1
;
@ApiModelProperty
(
"网元设备id1"
)
@TableField
(
"networkElementId1"
)
private
Long
networkElementId1
;
@ApiModelProperty
(
"连接状态(0: 连接正常 , 1.:连接异常)"
)
@TableField
(
"connectionStatus"
)
private
Integer
connectionStatus
;
@ApiModelProperty
(
"网元设备2"
)
@TableField
(
"networkElement2"
)
private
String
networkElement2
;
@ApiModelProperty
(
"网元设备id2"
)
@TableField
(
"networkElementId2"
)
private
Long
networkElementId2
;
@ApiModelProperty
(
"上传时间"
)
@TableField
(
"uploadTime"
)
private
Date
uploadTime
;
@ApiModelProperty
(
"取消时间"
)
@TableField
(
"cancelTime"
)
private
Date
cancelTime
;
@ApiModelProperty
(
"连接中断时长"
)
@TableField
(
"connectionBreak"
)
private
String
connectionBreak
;
@NotNull
(
message
=
"是否删除(0: 未删除, 1: 已删除)不能为空"
)
@ApiModelProperty
(
"是否删除(0: 未删除, 1: 已删除)"
)
private
Integer
deleted
;
@ApiModelProperty
(
"删除者"
)
@TableField
(
"deletedBy"
)
private
String
deletedBy
;
@ApiModelProperty
(
"删除时间"
)
@TableField
(
"deletedTime"
)
private
Date
deletedTime
;
public
enum
FieldEnum
implements
BaseEnum
{
networkElement1
(
"networkElement1"
,
"网元设备1"
),
networkElementId1
(
"networkElementId1"
,
"网元设备id1"
),
connectionStatus
(
"connectionStatus"
,
"连接状态(0: 连接正常 , 1.:连接异常)"
),
networkElement2
(
"networkElement2"
,
"网元设备2"
),
networkElementId2
(
"networkElementId2"
,
"网元设备id2"
),
uploadTime
(
"uploadTime"
,
"上传时间"
),
cancelTime
(
"cancelTime"
,
"取消时间"
),
connectionBreak
(
"connectionBreak"
,
"连接中断时长"
),
deleted
(
"deleted"
,
"是否删除(0: 未删除, 1: 已删除)"
),
deletedBy
(
"deletedBy"
,
"删除者"
),
deletedTime
(
"deletedTime"
,
"删除时间"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/HmsDeviceConnetionMaintenance.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 设备连接维修历史
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"HmsDeviceConnetionMaintenance对象"
)
public
class
HmsDeviceConnetionMaintenance
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@ApiModelProperty
(
"网元设备1"
)
@TableField
(
"networkElement1"
)
private
String
networkElement1
;
@ApiModelProperty
(
"网元设备id1"
)
@TableField
(
"networkElementId1"
)
private
Long
networkElementId1
;
@ApiModelProperty
(
"连接状态(0: 连接正常 , 1.:连接异常)"
)
@TableField
(
"connectionStatus"
)
private
Integer
connectionStatus
;
@ApiModelProperty
(
"网元设备2"
)
@TableField
(
"networkElement2"
)
private
String
networkElement2
;
@ApiModelProperty
(
"网元设备id2"
)
@TableField
(
"networkElementId2"
)
private
Long
networkElementId2
;
@ApiModelProperty
(
"维修人员信息"
)
@TableField
(
"userName"
)
private
String
userName
;
@ApiModelProperty
(
"维修人员id"
)
@TableField
(
"userId"
)
private
Long
userId
;
@ApiModelProperty
(
"连接告警维修时间"
)
@TableField
(
"maintenanceTime"
)
private
Date
maintenanceTime
;
@NotNull
(
message
=
"是否删除(0: 未删除, 1: 已删除)不能为空"
)
@ApiModelProperty
(
"是否删除(0: 未删除, 1: 已删除)"
)
private
Integer
deleted
;
@ApiModelProperty
(
"删除者"
)
@TableField
(
"deletedBy"
)
private
String
deletedBy
;
@ApiModelProperty
(
"删除时间"
)
@TableField
(
"deletedTime"
)
private
Date
deletedTime
;
public
enum
FieldEnum
implements
BaseEnum
{
networkElement1
(
"networkElement1"
,
"网元设备1"
),
networkElementId1
(
"networkElementId1"
,
"网元设备id1"
),
connectionStatus
(
"connectionStatus"
,
"连接状态(0: 连接正常 , 1.:连接异常)"
),
networkElement2
(
"networkElement2"
,
"网元设备2"
),
networkElementId2
(
"networkElementId2"
,
"网元设备id2"
),
userName
(
"userName"
,
"维修人员信息"
),
userId
(
"userId"
,
"维修人员id"
),
maintenanceTime
(
"maintenanceTime"
,
"连接告警维修时间"
),
deleted
(
"deleted"
,
"是否删除(0: 未删除, 1: 已删除)"
),
deletedBy
(
"deletedBy"
,
"删除者"
),
deletedTime
(
"deletedTime"
,
"删除时间"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/HmsLeakycableMaintain.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 漏缆监测维护历史
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"HmsLeakycableMaintain对象"
)
public
class
HmsLeakycableMaintain
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@ApiModelProperty
(
"基站名称"
)
@TableField
(
"bsName"
)
private
String
bsName
;
@ApiModelProperty
(
"基站id"
)
@TableField
(
"bsId"
)
private
Long
bsId
;
@ApiModelProperty
(
"告警对象"
)
@TableField
(
"alarmName"
)
private
String
alarmName
;
@ApiModelProperty
(
"告警对象id"
)
@TableField
(
"alarmId"
)
private
Long
alarmId
;
@ApiModelProperty
(
"告警级别(10: 一般, 20: 重要, 30: 紧急)"
)
private
Integer
level
;
@ApiModelProperty
(
"告警信息"
)
private
String
content
;
@ApiModelProperty
(
"告警维修时间"
)
@TableField
(
"maintainTime"
)
private
Date
maintainTime
;
@NotNull
(
message
=
"是否删除(0: 未删除, 1: 已删除)不能为空"
)
@ApiModelProperty
(
"是否删除(0: 未删除, 1: 已删除)"
)
private
Integer
deleted
;
@ApiModelProperty
(
"删除者"
)
@TableField
(
"deletedBy"
)
private
String
deletedBy
;
@ApiModelProperty
(
"删除时间"
)
@TableField
(
"deletedTime"
)
private
Date
deletedTime
;
public
enum
FieldEnum
implements
BaseEnum
{
bsName
(
"bsName"
,
"基站名称"
),
bsId
(
"bsId"
,
"基站id"
),
alarmName
(
"alarmName"
,
"告警对象"
),
alarmId
(
"alarmId"
,
"告警对象id"
),
level
(
"level"
,
"告警级别(10: 一般, 20: 重要, 30: 紧急)"
),
content
(
"content"
,
"告警信息"
),
maintainTime
(
"maintainTime"
,
"告警维修时间"
),
deleted
(
"deleted"
,
"是否删除(0: 未删除, 1: 已删除)"
),
deletedBy
(
"deletedBy"
,
"删除者"
),
deletedTime
(
"deletedTime"
,
"删除时间"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/HmsLeakycableMonitorStatus.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 漏缆监测历史状态
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"HmsLeakycableMonitorStatus对象"
)
public
class
HmsLeakycableMonitorStatus
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@ApiModelProperty
(
"基站名称"
)
@TableField
(
"bsName"
)
private
String
bsName
;
@ApiModelProperty
(
"基站id"
)
@TableField
(
"bsId"
)
private
Long
bsId
;
@ApiModelProperty
(
"告警对象"
)
@TableField
(
"alarmName"
)
private
String
alarmName
;
@ApiModelProperty
(
"告警对象id"
)
@TableField
(
"alarmId"
)
private
Long
alarmId
;
@ApiModelProperty
(
"告警信息"
)
private
String
content
;
@ApiModelProperty
(
"上传时间"
)
@TableField
(
"uploadTime"
)
private
Date
uploadTime
;
@NotNull
(
message
=
"是否删除(0: 未删除, 1: 已删除)不能为空"
)
@ApiModelProperty
(
"是否删除(0: 未删除, 1: 已删除)"
)
private
Integer
deleted
;
@ApiModelProperty
(
"删除者"
)
@TableField
(
"deletedBy"
)
private
String
deletedBy
;
@ApiModelProperty
(
"删除时间"
)
@TableField
(
"deletedTime"
)
private
Date
deletedTime
;
public
enum
FieldEnum
implements
BaseEnum
{
bsName
(
"bsName"
,
"基站名称"
),
bsId
(
"bsId"
,
"基站id"
),
alarmName
(
"alarmName"
,
"告警对象"
),
alarmId
(
"alarmId"
,
"告警对象id"
),
content
(
"content"
,
"告警信息"
),
uploadTime
(
"uploadTime"
,
"上传时间"
),
deleted
(
"deleted"
,
"是否删除(0: 未删除, 1: 已删除)"
),
deletedBy
(
"deletedBy"
,
"删除者"
),
deletedTime
(
"deletedTime"
,
"删除时间"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/MmsAlarm.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 设备告警参数限制
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"MmsAlarm对象"
)
public
class
MmsAlarm
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"不能为空"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@NotBlank
(
message
=
"漏缆型号不能为空"
)
@ApiModelProperty
(
"漏缆型号"
)
private
String
model
;
@NotNull
(
message
=
"漏缆型号id不能为空"
)
@ApiModelProperty
(
"漏缆型号id"
)
@TableField
(
"modelId"
)
private
Long
modelId
;
@NotBlank
(
message
=
"一般告警门限不能为空"
)
@ApiModelProperty
(
"一般告警门限"
)
private
String
general
;
@NotBlank
(
message
=
"重要告警门限不能为空"
)
@ApiModelProperty
(
"重要告警门限"
)
private
String
importance
;
@NotBlank
(
message
=
"紧急告警门限不能为空"
)
@ApiModelProperty
(
"紧急告警门限"
)
private
String
urgency
;
@NotNull
(
message
=
"是否删除(0: 未删除, 1: 已删除)不能为空"
)
@ApiModelProperty
(
"是否删除(0: 未删除, 1: 已删除)"
)
private
Integer
deleted
;
@ApiModelProperty
(
"删除者"
)
@TableField
(
"deletedBy"
)
private
String
deletedBy
;
@ApiModelProperty
(
"删除时间"
)
@TableField
(
"deletedTime"
)
private
Date
deletedTime
;
@ApiModelProperty
(
"创建者"
)
@TableField
(
"createBy"
)
private
String
createBy
;
@ApiModelProperty
(
"创建时间"
)
@TableField
(
"createTime"
)
private
Date
createTime
;
@ApiModelProperty
(
"更新者"
)
@TableField
(
"updateBy"
)
private
String
updateBy
;
@ApiModelProperty
(
"更新时间"
)
@TableField
(
"updateTime"
)
private
Date
updateTime
;
}
newnms/src/main/java/com/hongxinhui/entity/MmsDevice.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 设备本身维护
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"MmsDevice对象"
)
public
class
MmsDevice
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@NotBlank
(
message
=
"服务器IP地址不能为空"
)
@ApiModelProperty
(
"服务器IP地址"
)
private
String
ip
;
@NotBlank
(
message
=
"基站名称不能为空"
)
@ApiModelProperty
(
"基站名称"
)
@TableField
(
"bsName"
)
private
String
bsName
;
@NotNull
(
message
=
"基站id不能为空"
)
@ApiModelProperty
(
"基站id"
)
@TableField
(
"bsId"
)
private
Long
bsId
;
@NotBlank
(
message
=
"fsu不能为空"
)
@ApiModelProperty
(
"fsu"
)
private
String
fsu
;
@NotNull
(
message
=
"fsu的id不能为空"
)
@ApiModelProperty
(
"fsu的id"
)
@TableField
(
"fsuId"
)
private
Long
fsuId
;
@NotBlank
(
message
=
"设备类型配置不能为空"
)
@ApiModelProperty
(
"设备类型配置"
)
@TableField
(
"deviceType"
)
private
String
deviceType
;
@NotNull
(
message
=
"设备类型配置id不能为空"
)
@ApiModelProperty
(
"设备类型配置id"
)
@TableField
(
"deviceTypeId"
)
private
Long
deviceTypeId
;
@NotNull
(
message
=
"设备配置下发(1: 复位重启FSU, 2: 请求实时连接, 3.常规测试>>次数, 4.自检测试>>次数)不能为空"
)
@ApiModelProperty
(
"设备配置下发(1: 复位重启FSU, 2: 请求实时连接, 3.常规测试>>次数, 4.自检测试>>次数)"
)
@TableField
(
"deviceIssued"
)
private
Integer
deviceIssued
;
@ApiModelProperty
(
"设备配置下发次数"
)
@TableField
(
"deviceIssuedCount"
)
private
Integer
deviceIssuedCount
;
@NotBlank
(
message
=
"设备运行参数配置下发不能为空"
)
@ApiModelProperty
(
"设备运行参数配置下发"
)
@TableField
(
"deviceIssuedType"
)
private
String
deviceIssuedType
;
@NotNull
(
message
=
"设备运行参数配置下发id不能为空"
)
@ApiModelProperty
(
"设备运行参数配置下发id"
)
@TableField
(
"deviceIssuedTypeId"
)
private
Long
deviceIssuedTypeId
;
@NotNull
(
message
=
"是否删除(0: 未删除, 1: 已删除)不能为空"
)
@ApiModelProperty
(
"是否删除(0: 未删除, 1: 已删除)"
)
private
Integer
deleted
;
@ApiModelProperty
(
"删除者"
)
@TableField
(
"deletedBy"
)
private
String
deletedBy
;
@ApiModelProperty
(
"删除时间"
)
@TableField
(
"deletedTime"
)
private
Date
deletedTime
;
@ApiModelProperty
(
"创建者"
)
@TableField
(
"createBy"
)
private
String
createBy
;
@ApiModelProperty
(
"创建时间"
)
@TableField
(
"createTime"
)
private
Date
createTime
;
@ApiModelProperty
(
"更新者"
)
@TableField
(
"updateBy"
)
private
String
updateBy
;
@ApiModelProperty
(
"更新时间"
)
@TableField
(
"updateTime"
)
private
Date
updateTime
;
}
newnms/src/main/java/com/hongxinhui/entity/RealtimeConnectionAlarm.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 设备连接告警
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"RealtimeConnectionAlarm对象"
)
public
class
RealtimeConnectionAlarm
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@NotBlank
(
message
=
"网元设备名称不能为空"
)
@ApiModelProperty
(
"网元设备名称"
)
@TableField
(
"deviceName"
)
private
String
deviceName
;
@ApiModelProperty
(
"连接状态1正常2异常"
)
@TableField
(
"connectionType"
)
private
Integer
connectionType
;
@ApiModelProperty
(
"网元设备2"
)
@TableField
(
"deviceName2"
)
private
String
deviceName2
;
@ApiModelProperty
(
"上传时间"
)
@TableField
(
"uploadTime"
)
private
Date
uploadTime
;
@ApiModelProperty
(
"确认人id"
)
@TableField
(
"confirmUser"
)
private
Integer
confirmUser
;
@ApiModelProperty
(
"确认时间"
)
@TableField
(
"confirmTime"
)
private
Date
confirmTime
;
@ApiModelProperty
(
"确认状态1未确认2已确认"
)
@TableField
(
"confirmType"
)
private
Integer
confirmType
;
}
newnms/src/main/java/com/hongxinhui/entity/RealtimeMonitoringAlarm.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 漏缆监测告警
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"RealtimeMonitoringAlarm对象"
)
public
class
RealtimeMonitoringAlarm
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@NotBlank
(
message
=
"基站名称不能为空"
)
@ApiModelProperty
(
"基站名称"
)
@TableField
(
"siteName"
)
private
String
siteName
;
@ApiModelProperty
(
"告警对象"
)
@TableField
(
"alarmName"
)
private
String
alarmName
;
@ApiModelProperty
(
"告警级别1重要2紧急"
)
@TableField
(
"alarmLevel"
)
private
Integer
alarmLevel
;
@ApiModelProperty
(
"告警信息"
)
@TableField
(
"alramInfo"
)
private
String
alramInfo
;
@ApiModelProperty
(
"上传时间"
)
@TableField
(
"uploadTime"
)
private
Date
uploadTime
;
@ApiModelProperty
(
"状态改变时间"
)
@TableField
(
"updateTime"
)
private
Date
updateTime
;
@ApiModelProperty
(
"确认人id"
)
@TableField
(
"confirmUser"
)
private
Integer
confirmUser
;
@ApiModelProperty
(
"确认时间"
)
@TableField
(
"confirmTime"
)
private
Date
confirmTime
;
@ApiModelProperty
(
"确认状态1未确认2已确认"
)
@TableField
(
"confirmType"
)
private
Integer
confirmType
;
}
newnms/src/main/java/com/hongxinhui/entity/SmsDictData.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 字典数据表
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"SmsDictData对象"
)
public
class
SmsDictData
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@ApiModelProperty
(
"字典排序"
)
@TableField
(
"dictSort"
)
private
Integer
dictSort
;
@NotBlank
(
message
=
"字典标签不能为空"
)
@ApiModelProperty
(
"字典标签"
)
@TableField
(
"dictLabel"
)
private
String
dictLabel
;
@NotBlank
(
message
=
"字典键值不能为空"
)
@ApiModelProperty
(
"字典键值"
)
@TableField
(
"dictValue"
)
private
String
dictValue
;
@NotBlank
(
message
=
"字典类型不能为空"
)
@ApiModelProperty
(
"字典类型"
)
@TableField
(
"dictType"
)
private
String
dictType
;
@NotBlank
(
message
=
"是否默认(Y是 N否)不能为空"
)
@ApiModelProperty
(
"是否默认(Y是 N否)"
)
@TableField
(
"isDefault"
)
private
String
isDefault
;
@NotNull
(
message
=
"状态(1正常 0停用)不能为空"
)
@ApiModelProperty
(
"状态(1正常 0停用)"
)
private
Integer
status
;
@ApiModelProperty
(
"创建者"
)
@TableField
(
"createBy"
)
private
String
createBy
;
@ApiModelProperty
(
"创建时间"
)
@TableField
(
"createTime"
)
private
Date
createTime
;
@ApiModelProperty
(
"更新者"
)
@TableField
(
"updateBy"
)
private
String
updateBy
;
@ApiModelProperty
(
"更新时间"
)
@TableField
(
"updateTime"
)
private
Date
updateTime
;
@ApiModelProperty
(
"备注"
)
private
String
remark
;
}
newnms/src/main/java/com/hongxinhui/entity/SmsDictType.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 字典类型表
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"SmsDictType对象"
)
public
class
SmsDictType
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@NotBlank
(
message
=
"字典名称不能为空"
)
@ApiModelProperty
(
"字典名称"
)
@TableField
(
"dictName"
)
private
String
dictName
;
@NotBlank
(
message
=
"字典类型不能为空"
)
@ApiModelProperty
(
"字典类型"
)
@TableField
(
"dictType"
)
private
String
dictType
;
@NotNull
(
message
=
"状态(1正常 0停用)不能为空"
)
@ApiModelProperty
(
"状态(1正常 0停用)"
)
private
Integer
status
;
@ApiModelProperty
(
"创建者"
)
@TableField
(
"createBy"
)
private
String
createBy
;
@ApiModelProperty
(
"创建时间"
)
@TableField
(
"createTime"
)
private
Date
createTime
;
@ApiModelProperty
(
"更新者"
)
@TableField
(
"updateBy"
)
private
String
updateBy
;
@ApiModelProperty
(
"更新时间"
)
@TableField
(
"updateTime"
)
private
Date
updateTime
;
@ApiModelProperty
(
"备注"
)
private
String
remark
;
public
enum
FieldEnum
implements
BaseEnum
{
dictName
(
"dictName"
,
"字典名称"
),
dictType
(
"dictType"
,
"字典类型"
),
status
(
"status"
,
"状态(1正常 0停用)"
),
createBy
(
"createBy"
,
"创建者"
),
createTime
(
"createTime"
,
"创建时间"
),
updateBy
(
"updateBy"
,
"更新者"
),
updateTime
(
"updateTime"
,
"更新时间"
),
remark
(
"remark"
,
"备注"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/entity/User.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 用户表
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"User对象"
)
public
class
User
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@ApiModelProperty
(
"用户名字"
)
private
String
name
;
@ApiModelProperty
(
"真实姓名"
)
private
String
username
;
@ApiModelProperty
(
"部门名字"
)
private
String
groupname
;
@ApiModelProperty
(
"电话"
)
private
String
phone
;
@ApiModelProperty
(
"邮箱"
)
private
String
email
;
@ApiModelProperty
(
"密码,md5加密"
)
private
String
pwd
;
}
newnms/src/main/java/com/hongxinhui/entity/UserOperation.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
entity
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.Version
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.geekidea.springbootplus.framework.common.enums.BaseEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
io.geekidea.springbootplus.framework.core.validator.groups.Update
;
/**
* 用户操作表
*
* @author cyz
* @since 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"UserOperation对象"
)
public
class
UserOperation
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
(
message
=
"id不能为空"
,
groups
=
{
Update
.
class
})
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@ApiModelProperty
(
"用户id"
)
private
Integer
userId
;
@ApiModelProperty
(
"操作类别 1修改2告警确认"
)
private
Integer
type
;
@ApiModelProperty
(
"对象名称"
)
private
String
objectName
;
@ApiModelProperty
(
"操作内容"
)
private
String
content
;
@ApiModelProperty
(
"操作结果1成功2失败"
)
private
String
result
;
@ApiModelProperty
(
"操作时间"
)
private
Date
createTime
;
public
enum
FieldEnum
implements
BaseEnum
{
userId
(
"userId"
,
"用户id"
),
type
(
"type"
,
"操作类别 1修改2告警确认"
),
objectName
(
"objectName"
,
"对象名称"
),
content
(
"content"
,
"操作内容"
),
result
(
"result"
,
"操作结果1成功2失败"
),
createTime
(
"createTime"
,
"操作时间"
),
id
(
"id"
,
"编号"
);
/**
* name
*/
@Getter
private
final
String
name
;
/**
* desc
*/
@Getter
private
final
String
desc
;
FieldEnum
(
String
name
,
String
desc
)
{
this
.
name
=
name
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
null
;
}
}
}
newnms/src/main/java/com/hongxinhui/mapper/AlarmConnectionMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.AlarmConnection
;
import
com.hongxinhui.param.AlarmConnectionPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 设备连接告警 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
AlarmConnectionMapper
extends
BaseMapper
<
AlarmConnection
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/AlarmMonitoringMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.AlarmMonitoring
;
import
com.hongxinhui.param.AlarmMonitoringPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 漏缆监测告警 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
AlarmMonitoringMapper
extends
BaseMapper
<
AlarmMonitoring
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/ConfigurationManageMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.ConfigurationManage
;
import
com.hongxinhui.param.ConfigurationManagePageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 配置管理表 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
ConfigurationManageMapper
extends
BaseMapper
<
ConfigurationManage
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/HmsDeviceConnectionStatusMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.HmsDeviceConnectionStatus
;
import
com.hongxinhui.param.HmsDeviceConnectionStatusPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 设备连接历史状态 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
HmsDeviceConnectionStatusMapper
extends
BaseMapper
<
HmsDeviceConnectionStatus
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/HmsDeviceConnetionMaintenanceMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.HmsDeviceConnetionMaintenance
;
import
com.hongxinhui.param.HmsDeviceConnetionMaintenancePageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 设备连接维修历史 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
HmsDeviceConnetionMaintenanceMapper
extends
BaseMapper
<
HmsDeviceConnetionMaintenance
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/HmsLeakycableMaintainMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.HmsLeakycableMaintain
;
import
com.hongxinhui.param.HmsLeakycableMaintainPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 漏缆监测维护历史 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
HmsLeakycableMaintainMapper
extends
BaseMapper
<
HmsLeakycableMaintain
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/HmsLeakycableMonitorStatusMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.HmsLeakycableMonitorStatus
;
import
com.hongxinhui.param.HmsLeakycableMonitorStatusPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 漏缆监测历史状态 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
HmsLeakycableMonitorStatusMapper
extends
BaseMapper
<
HmsLeakycableMonitorStatus
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/MmsAlarmMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.MmsAlarm
;
import
com.hongxinhui.param.MmsAlarmPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 设备告警参数限制 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
MmsAlarmMapper
extends
BaseMapper
<
MmsAlarm
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/MmsDeviceMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.MmsDevice
;
import
com.hongxinhui.param.MmsDevicePageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 设备本身维护 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
MmsDeviceMapper
extends
BaseMapper
<
MmsDevice
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/RealtimeConnectionAlarmMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.RealtimeConnectionAlarm
;
import
com.hongxinhui.param.RealtimeConnectionAlarmPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 设备连接告警 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
RealtimeConnectionAlarmMapper
extends
BaseMapper
<
RealtimeConnectionAlarm
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/RealtimeMonitoringAlarmMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.RealtimeMonitoringAlarm
;
import
com.hongxinhui.param.RealtimeMonitoringAlarmPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 漏缆监测告警 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
RealtimeMonitoringAlarmMapper
extends
BaseMapper
<
RealtimeMonitoringAlarm
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/SmsDictDataMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.SmsDictData
;
import
com.hongxinhui.param.SmsDictDataPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 字典数据表 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
SmsDictDataMapper
extends
BaseMapper
<
SmsDictData
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/SmsDictTypeMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.SmsDictType
;
import
com.hongxinhui.param.SmsDictTypePageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 字典类型表 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
SmsDictTypeMapper
extends
BaseMapper
<
SmsDictType
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/UserMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.User
;
import
com.hongxinhui.param.UserPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 用户表 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
UserMapper
extends
BaseMapper
<
User
>
{
}
newnms/src/main/java/com/hongxinhui/mapper/UserOperationMapper.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hongxinhui.entity.UserOperation
;
import
com.hongxinhui.param.UserOperationPageParam
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
java.io.Serializable
;
/**
* 用户操作表 Mapper 接口
*
* @author cyz
* @since 2022-02-14
*/
@Repository
public
interface
UserOperationMapper
extends
BaseMapper
<
UserOperation
>
{
}
newnms/src/main/java/com/hongxinhui/param/AlarmConnectionPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 设备连接告警 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"设备连接告警分页参数"
)
public
class
AlarmConnectionPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/AlarmMonitoringPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 漏缆监测告警 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"漏缆监测告警分页参数"
)
public
class
AlarmMonitoringPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/ConfigurationManagePageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 配置管理表 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"配置管理表分页参数"
)
public
class
ConfigurationManagePageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/HmsDeviceConnectionStatusPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 设备连接历史状态 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"设备连接历史状态分页参数"
)
public
class
HmsDeviceConnectionStatusPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/HmsDeviceConnetionMaintenancePageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 设备连接维修历史 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"设备连接维修历史分页参数"
)
public
class
HmsDeviceConnetionMaintenancePageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/HmsLeakycableMaintainPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 漏缆监测维护历史 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"漏缆监测维护历史分页参数"
)
public
class
HmsLeakycableMaintainPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/HmsLeakycableMonitorStatusPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 漏缆监测历史状态 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"漏缆监测历史状态分页参数"
)
public
class
HmsLeakycableMonitorStatusPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/MmsAlarmPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 设备告警参数限制 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"设备告警参数限制分页参数"
)
public
class
MmsAlarmPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/MmsDevicePageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 设备本身维护 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"设备本身维护分页参数"
)
public
class
MmsDevicePageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/RealtimeConnectionAlarmPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 设备连接告警 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"设备连接告警分页参数"
)
public
class
RealtimeConnectionAlarmPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/RealtimeMonitoringAlarmPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 漏缆监测告警 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"漏缆监测告警分页参数"
)
public
class
RealtimeMonitoringAlarmPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/SmsDictDataPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 字典数据表 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"字典数据表分页参数"
)
public
class
SmsDictDataPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/SmsDictTypePageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 字典类型表 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"字典类型表分页参数"
)
public
class
SmsDictTypePageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/UserOperationPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 用户操作表 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"用户操作表分页参数"
)
public
class
UserOperationPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/param/UserPageParam.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
param
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam
;
/**
* <pre>
* 用户表 分页参数对象
* </pre>
*
* @author cyz
* @date 2022-02-14
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"用户表分页参数"
)
public
class
UserPageParam
extends
BasePageOrderParam
{
private
static
final
long
serialVersionUID
=
1L
;
}
newnms/src/main/java/com/hongxinhui/service/AlarmConnectionService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.AlarmConnection
;
import
com.hongxinhui.param.AlarmConnectionPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 设备连接告警 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
AlarmConnectionService
extends
BaseService
<
AlarmConnection
>
{
/**
* 保存
*
* @param alarmConnection
* @return
* @throws Exception
*/
boolean
saveAlarmConnection
(
AlarmConnection
alarmConnection
)
throws
Exception
;
/**
* 修改
*
* @param alarmConnection
* @return
* @throws Exception
*/
boolean
updateAlarmConnection
(
AlarmConnection
alarmConnection
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteAlarmConnection
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param alarmConnectionQueryParam
* @return
* @throws Exception
*/
Paging
<
AlarmConnection
>
getAlarmConnectionPageList
(
AlarmConnectionPageParam
alarmConnectionPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/AlarmMonitoringService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.AlarmMonitoring
;
import
com.hongxinhui.param.AlarmMonitoringPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 漏缆监测告警 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
AlarmMonitoringService
extends
BaseService
<
AlarmMonitoring
>
{
/**
* 保存
*
* @param alarmMonitoring
* @return
* @throws Exception
*/
boolean
saveAlarmMonitoring
(
AlarmMonitoring
alarmMonitoring
)
throws
Exception
;
/**
* 修改
*
* @param alarmMonitoring
* @return
* @throws Exception
*/
boolean
updateAlarmMonitoring
(
AlarmMonitoring
alarmMonitoring
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteAlarmMonitoring
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param alarmMonitoringQueryParam
* @return
* @throws Exception
*/
Paging
<
AlarmMonitoring
>
getAlarmMonitoringPageList
(
AlarmMonitoringPageParam
alarmMonitoringPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/ConfigurationManageService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.ConfigurationManage
;
import
com.hongxinhui.param.ConfigurationManagePageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 配置管理表 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
ConfigurationManageService
extends
BaseService
<
ConfigurationManage
>
{
/**
* 保存
*
* @param configurationManage
* @return
* @throws Exception
*/
boolean
saveConfigurationManage
(
ConfigurationManage
configurationManage
)
throws
Exception
;
/**
* 修改
*
* @param configurationManage
* @return
* @throws Exception
*/
boolean
updateConfigurationManage
(
ConfigurationManage
configurationManage
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteConfigurationManage
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param configurationManageQueryParam
* @return
* @throws Exception
*/
Paging
<
ConfigurationManage
>
getConfigurationManagePageList
(
ConfigurationManagePageParam
configurationManagePageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/HmsDeviceConnectionStatusService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.HmsDeviceConnectionStatus
;
import
com.hongxinhui.param.HmsDeviceConnectionStatusPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 设备连接历史状态 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
HmsDeviceConnectionStatusService
extends
BaseService
<
HmsDeviceConnectionStatus
>
{
/**
* 保存
*
* @param hmsDeviceConnectionStatus
* @return
* @throws Exception
*/
boolean
saveHmsDeviceConnectionStatus
(
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
)
throws
Exception
;
/**
* 修改
*
* @param hmsDeviceConnectionStatus
* @return
* @throws Exception
*/
boolean
updateHmsDeviceConnectionStatus
(
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteHmsDeviceConnectionStatus
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param hmsDeviceConnectionStatusQueryParam
* @return
* @throws Exception
*/
Paging
<
HmsDeviceConnectionStatus
>
getHmsDeviceConnectionStatusPageList
(
HmsDeviceConnectionStatusPageParam
hmsDeviceConnectionStatusPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/HmsDeviceConnetionMaintenanceService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.HmsDeviceConnetionMaintenance
;
import
com.hongxinhui.param.HmsDeviceConnetionMaintenancePageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 设备连接维修历史 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
HmsDeviceConnetionMaintenanceService
extends
BaseService
<
HmsDeviceConnetionMaintenance
>
{
/**
* 保存
*
* @param hmsDeviceConnetionMaintenance
* @return
* @throws Exception
*/
boolean
saveHmsDeviceConnetionMaintenance
(
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
)
throws
Exception
;
/**
* 修改
*
* @param hmsDeviceConnetionMaintenance
* @return
* @throws Exception
*/
boolean
updateHmsDeviceConnetionMaintenance
(
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteHmsDeviceConnetionMaintenance
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param hmsDeviceConnetionMaintenanceQueryParam
* @return
* @throws Exception
*/
Paging
<
HmsDeviceConnetionMaintenance
>
getHmsDeviceConnetionMaintenancePageList
(
HmsDeviceConnetionMaintenancePageParam
hmsDeviceConnetionMaintenancePageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/HmsLeakycableMaintainService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.HmsLeakycableMaintain
;
import
com.hongxinhui.param.HmsLeakycableMaintainPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 漏缆监测维护历史 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
HmsLeakycableMaintainService
extends
BaseService
<
HmsLeakycableMaintain
>
{
/**
* 保存
*
* @param hmsLeakycableMaintain
* @return
* @throws Exception
*/
boolean
saveHmsLeakycableMaintain
(
HmsLeakycableMaintain
hmsLeakycableMaintain
)
throws
Exception
;
/**
* 修改
*
* @param hmsLeakycableMaintain
* @return
* @throws Exception
*/
boolean
updateHmsLeakycableMaintain
(
HmsLeakycableMaintain
hmsLeakycableMaintain
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteHmsLeakycableMaintain
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param hmsLeakycableMaintainQueryParam
* @return
* @throws Exception
*/
Paging
<
HmsLeakycableMaintain
>
getHmsLeakycableMaintainPageList
(
HmsLeakycableMaintainPageParam
hmsLeakycableMaintainPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/HmsLeakycableMonitorStatusService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.HmsLeakycableMonitorStatus
;
import
com.hongxinhui.param.HmsLeakycableMonitorStatusPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 漏缆监测历史状态 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
HmsLeakycableMonitorStatusService
extends
BaseService
<
HmsLeakycableMonitorStatus
>
{
/**
* 保存
*
* @param hmsLeakycableMonitorStatus
* @return
* @throws Exception
*/
boolean
saveHmsLeakycableMonitorStatus
(
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
)
throws
Exception
;
/**
* 修改
*
* @param hmsLeakycableMonitorStatus
* @return
* @throws Exception
*/
boolean
updateHmsLeakycableMonitorStatus
(
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteHmsLeakycableMonitorStatus
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param hmsLeakycableMonitorStatusQueryParam
* @return
* @throws Exception
*/
Paging
<
HmsLeakycableMonitorStatus
>
getHmsLeakycableMonitorStatusPageList
(
HmsLeakycableMonitorStatusPageParam
hmsLeakycableMonitorStatusPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/MmsAlarmService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.MmsAlarm
;
import
com.hongxinhui.param.MmsAlarmPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 设备告警参数限制 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
MmsAlarmService
extends
BaseService
<
MmsAlarm
>
{
/**
* 保存
*
* @param mmsAlarm
* @return
* @throws Exception
*/
boolean
saveMmsAlarm
(
MmsAlarm
mmsAlarm
)
throws
Exception
;
/**
* 修改
*
* @param mmsAlarm
* @return
* @throws Exception
*/
boolean
updateMmsAlarm
(
MmsAlarm
mmsAlarm
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteMmsAlarm
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param mmsAlarmQueryParam
* @return
* @throws Exception
*/
Paging
<
MmsAlarm
>
getMmsAlarmPageList
(
MmsAlarmPageParam
mmsAlarmPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/MmsDeviceService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.MmsDevice
;
import
com.hongxinhui.param.MmsDevicePageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 设备本身维护 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
MmsDeviceService
extends
BaseService
<
MmsDevice
>
{
/**
* 保存
*
* @param mmsDevice
* @return
* @throws Exception
*/
boolean
saveMmsDevice
(
MmsDevice
mmsDevice
)
throws
Exception
;
/**
* 修改
*
* @param mmsDevice
* @return
* @throws Exception
*/
boolean
updateMmsDevice
(
MmsDevice
mmsDevice
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteMmsDevice
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param mmsDeviceQueryParam
* @return
* @throws Exception
*/
Paging
<
MmsDevice
>
getMmsDevicePageList
(
MmsDevicePageParam
mmsDevicePageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/RealtimeConnectionAlarmService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.RealtimeConnectionAlarm
;
import
com.hongxinhui.param.RealtimeConnectionAlarmPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 设备连接告警 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
RealtimeConnectionAlarmService
extends
BaseService
<
RealtimeConnectionAlarm
>
{
/**
* 保存
*
* @param realtimeConnectionAlarm
* @return
* @throws Exception
*/
boolean
saveRealtimeConnectionAlarm
(
RealtimeConnectionAlarm
realtimeConnectionAlarm
)
throws
Exception
;
/**
* 修改
*
* @param realtimeConnectionAlarm
* @return
* @throws Exception
*/
boolean
updateRealtimeConnectionAlarm
(
RealtimeConnectionAlarm
realtimeConnectionAlarm
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteRealtimeConnectionAlarm
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param realtimeConnectionAlarmQueryParam
* @return
* @throws Exception
*/
Paging
<
RealtimeConnectionAlarm
>
getRealtimeConnectionAlarmPageList
(
RealtimeConnectionAlarmPageParam
realtimeConnectionAlarmPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/RealtimeMonitoringAlarmService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.RealtimeMonitoringAlarm
;
import
com.hongxinhui.param.RealtimeMonitoringAlarmPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 漏缆监测告警 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
RealtimeMonitoringAlarmService
extends
BaseService
<
RealtimeMonitoringAlarm
>
{
/**
* 保存
*
* @param realtimeMonitoringAlarm
* @return
* @throws Exception
*/
boolean
saveRealtimeMonitoringAlarm
(
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
)
throws
Exception
;
/**
* 修改
*
* @param realtimeMonitoringAlarm
* @return
* @throws Exception
*/
boolean
updateRealtimeMonitoringAlarm
(
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteRealtimeMonitoringAlarm
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param realtimeMonitoringAlarmQueryParam
* @return
* @throws Exception
*/
Paging
<
RealtimeMonitoringAlarm
>
getRealtimeMonitoringAlarmPageList
(
RealtimeMonitoringAlarmPageParam
realtimeMonitoringAlarmPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/SmsDictDataService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.SmsDictData
;
import
com.hongxinhui.param.SmsDictDataPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 字典数据表 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
SmsDictDataService
extends
BaseService
<
SmsDictData
>
{
/**
* 保存
*
* @param smsDictData
* @return
* @throws Exception
*/
boolean
saveSmsDictData
(
SmsDictData
smsDictData
)
throws
Exception
;
/**
* 修改
*
* @param smsDictData
* @return
* @throws Exception
*/
boolean
updateSmsDictData
(
SmsDictData
smsDictData
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteSmsDictData
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param smsDictDataQueryParam
* @return
* @throws Exception
*/
Paging
<
SmsDictData
>
getSmsDictDataPageList
(
SmsDictDataPageParam
smsDictDataPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/SmsDictTypeService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.SmsDictType
;
import
com.hongxinhui.param.SmsDictTypePageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 字典类型表 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
SmsDictTypeService
extends
BaseService
<
SmsDictType
>
{
/**
* 保存
*
* @param smsDictType
* @return
* @throws Exception
*/
boolean
saveSmsDictType
(
SmsDictType
smsDictType
)
throws
Exception
;
/**
* 修改
*
* @param smsDictType
* @return
* @throws Exception
*/
boolean
updateSmsDictType
(
SmsDictType
smsDictType
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteSmsDictType
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param smsDictTypeQueryParam
* @return
* @throws Exception
*/
Paging
<
SmsDictType
>
getSmsDictTypePageList
(
SmsDictTypePageParam
smsDictTypePageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/UserOperationService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.UserOperation
;
import
com.hongxinhui.param.UserOperationPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 用户操作表 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
UserOperationService
extends
BaseService
<
UserOperation
>
{
/**
* 保存
*
* @param userOperation
* @return
* @throws Exception
*/
boolean
saveUserOperation
(
UserOperation
userOperation
)
throws
Exception
;
/**
* 修改
*
* @param userOperation
* @return
* @throws Exception
*/
boolean
updateUserOperation
(
UserOperation
userOperation
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteUserOperation
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param userOperationQueryParam
* @return
* @throws Exception
*/
Paging
<
UserOperation
>
getUserOperationPageList
(
UserOperationPageParam
userOperationPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/UserService.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
;
import
com.hongxinhui.entity.User
;
import
com.hongxinhui.param.UserPageParam
;
import
io.geekidea.springbootplus.framework.common.service.BaseService
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
/**
* 用户表 服务类
*
* @author cyz
* @since 2022-02-14
*/
public
interface
UserService
extends
BaseService
<
User
>
{
/**
* 保存
*
* @param user
* @return
* @throws Exception
*/
boolean
saveUser
(
User
user
)
throws
Exception
;
/**
* 修改
*
* @param user
* @return
* @throws Exception
*/
boolean
updateUser
(
User
user
)
throws
Exception
;
/**
* 删除
*
* @param id
* @return
* @throws Exception
*/
boolean
deleteUser
(
Long
id
)
throws
Exception
;
/**
* 获取分页对象
*
* @param userQueryParam
* @return
* @throws Exception
*/
Paging
<
User
>
getUserPageList
(
UserPageParam
userPageParam
)
throws
Exception
;
}
newnms/src/main/java/com/hongxinhui/service/impl/AlarmConnectionServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.AlarmConnection
;
import
com.hongxinhui.mapper.AlarmConnectionMapper
;
import
com.hongxinhui.service.AlarmConnectionService
;
import
com.hongxinhui.param.AlarmConnectionPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 设备连接告警 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
AlarmConnectionServiceImpl
extends
BaseServiceImpl
<
AlarmConnectionMapper
,
AlarmConnection
>
implements
AlarmConnectionService
{
@Autowired
private
AlarmConnectionMapper
alarmConnectionMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveAlarmConnection
(
AlarmConnection
alarmConnection
)
throws
Exception
{
return
super
.
save
(
alarmConnection
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateAlarmConnection
(
AlarmConnection
alarmConnection
)
throws
Exception
{
return
super
.
updateById
(
alarmConnection
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteAlarmConnection
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
AlarmConnection
>
getAlarmConnectionPageList
(
AlarmConnectionPageParam
alarmConnectionPageParam
)
throws
Exception
{
Page
<
AlarmConnection
>
page
=
new
PageInfo
<>(
alarmConnectionPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
AlarmConnection:
:
getId
)));
LambdaQueryWrapper
<
AlarmConnection
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
AlarmConnection
>
iPage
=
alarmConnectionMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
AlarmConnection
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/AlarmMonitoringServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.AlarmMonitoring
;
import
com.hongxinhui.mapper.AlarmMonitoringMapper
;
import
com.hongxinhui.service.AlarmMonitoringService
;
import
com.hongxinhui.param.AlarmMonitoringPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 漏缆监测告警 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
AlarmMonitoringServiceImpl
extends
BaseServiceImpl
<
AlarmMonitoringMapper
,
AlarmMonitoring
>
implements
AlarmMonitoringService
{
@Autowired
private
AlarmMonitoringMapper
alarmMonitoringMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveAlarmMonitoring
(
AlarmMonitoring
alarmMonitoring
)
throws
Exception
{
return
super
.
save
(
alarmMonitoring
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateAlarmMonitoring
(
AlarmMonitoring
alarmMonitoring
)
throws
Exception
{
return
super
.
updateById
(
alarmMonitoring
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteAlarmMonitoring
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
AlarmMonitoring
>
getAlarmMonitoringPageList
(
AlarmMonitoringPageParam
alarmMonitoringPageParam
)
throws
Exception
{
Page
<
AlarmMonitoring
>
page
=
new
PageInfo
<>(
alarmMonitoringPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
AlarmMonitoring:
:
getId
)));
LambdaQueryWrapper
<
AlarmMonitoring
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
AlarmMonitoring
>
iPage
=
alarmMonitoringMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
AlarmMonitoring
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/ConfigurationManageServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.ConfigurationManage
;
import
com.hongxinhui.mapper.ConfigurationManageMapper
;
import
com.hongxinhui.service.ConfigurationManageService
;
import
com.hongxinhui.param.ConfigurationManagePageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 配置管理表 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
ConfigurationManageServiceImpl
extends
BaseServiceImpl
<
ConfigurationManageMapper
,
ConfigurationManage
>
implements
ConfigurationManageService
{
@Autowired
private
ConfigurationManageMapper
configurationManageMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveConfigurationManage
(
ConfigurationManage
configurationManage
)
throws
Exception
{
return
super
.
save
(
configurationManage
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateConfigurationManage
(
ConfigurationManage
configurationManage
)
throws
Exception
{
return
super
.
updateById
(
configurationManage
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteConfigurationManage
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
ConfigurationManage
>
getConfigurationManagePageList
(
ConfigurationManagePageParam
configurationManagePageParam
)
throws
Exception
{
Page
<
ConfigurationManage
>
page
=
new
PageInfo
<>(
configurationManagePageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
ConfigurationManage:
:
getId
)));
LambdaQueryWrapper
<
ConfigurationManage
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
ConfigurationManage
>
iPage
=
configurationManageMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
ConfigurationManage
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/HmsDeviceConnectionStatusServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.HmsDeviceConnectionStatus
;
import
com.hongxinhui.mapper.HmsDeviceConnectionStatusMapper
;
import
com.hongxinhui.service.HmsDeviceConnectionStatusService
;
import
com.hongxinhui.param.HmsDeviceConnectionStatusPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 设备连接历史状态 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
HmsDeviceConnectionStatusServiceImpl
extends
BaseServiceImpl
<
HmsDeviceConnectionStatusMapper
,
HmsDeviceConnectionStatus
>
implements
HmsDeviceConnectionStatusService
{
@Autowired
private
HmsDeviceConnectionStatusMapper
hmsDeviceConnectionStatusMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveHmsDeviceConnectionStatus
(
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
)
throws
Exception
{
return
super
.
save
(
hmsDeviceConnectionStatus
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateHmsDeviceConnectionStatus
(
HmsDeviceConnectionStatus
hmsDeviceConnectionStatus
)
throws
Exception
{
return
super
.
updateById
(
hmsDeviceConnectionStatus
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteHmsDeviceConnectionStatus
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
HmsDeviceConnectionStatus
>
getHmsDeviceConnectionStatusPageList
(
HmsDeviceConnectionStatusPageParam
hmsDeviceConnectionStatusPageParam
)
throws
Exception
{
Page
<
HmsDeviceConnectionStatus
>
page
=
new
PageInfo
<>(
hmsDeviceConnectionStatusPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
HmsDeviceConnectionStatus:
:
getId
)));
LambdaQueryWrapper
<
HmsDeviceConnectionStatus
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
HmsDeviceConnectionStatus
>
iPage
=
hmsDeviceConnectionStatusMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
HmsDeviceConnectionStatus
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/HmsDeviceConnetionMaintenanceServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.HmsDeviceConnetionMaintenance
;
import
com.hongxinhui.mapper.HmsDeviceConnetionMaintenanceMapper
;
import
com.hongxinhui.service.HmsDeviceConnetionMaintenanceService
;
import
com.hongxinhui.param.HmsDeviceConnetionMaintenancePageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 设备连接维修历史 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
HmsDeviceConnetionMaintenanceServiceImpl
extends
BaseServiceImpl
<
HmsDeviceConnetionMaintenanceMapper
,
HmsDeviceConnetionMaintenance
>
implements
HmsDeviceConnetionMaintenanceService
{
@Autowired
private
HmsDeviceConnetionMaintenanceMapper
hmsDeviceConnetionMaintenanceMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveHmsDeviceConnetionMaintenance
(
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
)
throws
Exception
{
return
super
.
save
(
hmsDeviceConnetionMaintenance
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateHmsDeviceConnetionMaintenance
(
HmsDeviceConnetionMaintenance
hmsDeviceConnetionMaintenance
)
throws
Exception
{
return
super
.
updateById
(
hmsDeviceConnetionMaintenance
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteHmsDeviceConnetionMaintenance
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
HmsDeviceConnetionMaintenance
>
getHmsDeviceConnetionMaintenancePageList
(
HmsDeviceConnetionMaintenancePageParam
hmsDeviceConnetionMaintenancePageParam
)
throws
Exception
{
Page
<
HmsDeviceConnetionMaintenance
>
page
=
new
PageInfo
<>(
hmsDeviceConnetionMaintenancePageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
HmsDeviceConnetionMaintenance:
:
getId
)));
LambdaQueryWrapper
<
HmsDeviceConnetionMaintenance
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
HmsDeviceConnetionMaintenance
>
iPage
=
hmsDeviceConnetionMaintenanceMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
HmsDeviceConnetionMaintenance
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/HmsLeakycableMaintainServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.HmsLeakycableMaintain
;
import
com.hongxinhui.mapper.HmsLeakycableMaintainMapper
;
import
com.hongxinhui.service.HmsLeakycableMaintainService
;
import
com.hongxinhui.param.HmsLeakycableMaintainPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 漏缆监测维护历史 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
HmsLeakycableMaintainServiceImpl
extends
BaseServiceImpl
<
HmsLeakycableMaintainMapper
,
HmsLeakycableMaintain
>
implements
HmsLeakycableMaintainService
{
@Autowired
private
HmsLeakycableMaintainMapper
hmsLeakycableMaintainMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveHmsLeakycableMaintain
(
HmsLeakycableMaintain
hmsLeakycableMaintain
)
throws
Exception
{
return
super
.
save
(
hmsLeakycableMaintain
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateHmsLeakycableMaintain
(
HmsLeakycableMaintain
hmsLeakycableMaintain
)
throws
Exception
{
return
super
.
updateById
(
hmsLeakycableMaintain
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteHmsLeakycableMaintain
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
HmsLeakycableMaintain
>
getHmsLeakycableMaintainPageList
(
HmsLeakycableMaintainPageParam
hmsLeakycableMaintainPageParam
)
throws
Exception
{
Page
<
HmsLeakycableMaintain
>
page
=
new
PageInfo
<>(
hmsLeakycableMaintainPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
HmsLeakycableMaintain:
:
getId
)));
LambdaQueryWrapper
<
HmsLeakycableMaintain
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
HmsLeakycableMaintain
>
iPage
=
hmsLeakycableMaintainMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
HmsLeakycableMaintain
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/HmsLeakycableMonitorStatusServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.HmsLeakycableMonitorStatus
;
import
com.hongxinhui.mapper.HmsLeakycableMonitorStatusMapper
;
import
com.hongxinhui.service.HmsLeakycableMonitorStatusService
;
import
com.hongxinhui.param.HmsLeakycableMonitorStatusPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 漏缆监测历史状态 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
HmsLeakycableMonitorStatusServiceImpl
extends
BaseServiceImpl
<
HmsLeakycableMonitorStatusMapper
,
HmsLeakycableMonitorStatus
>
implements
HmsLeakycableMonitorStatusService
{
@Autowired
private
HmsLeakycableMonitorStatusMapper
hmsLeakycableMonitorStatusMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveHmsLeakycableMonitorStatus
(
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
)
throws
Exception
{
return
super
.
save
(
hmsLeakycableMonitorStatus
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateHmsLeakycableMonitorStatus
(
HmsLeakycableMonitorStatus
hmsLeakycableMonitorStatus
)
throws
Exception
{
return
super
.
updateById
(
hmsLeakycableMonitorStatus
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteHmsLeakycableMonitorStatus
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
HmsLeakycableMonitorStatus
>
getHmsLeakycableMonitorStatusPageList
(
HmsLeakycableMonitorStatusPageParam
hmsLeakycableMonitorStatusPageParam
)
throws
Exception
{
Page
<
HmsLeakycableMonitorStatus
>
page
=
new
PageInfo
<>(
hmsLeakycableMonitorStatusPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
HmsLeakycableMonitorStatus:
:
getId
)));
LambdaQueryWrapper
<
HmsLeakycableMonitorStatus
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
HmsLeakycableMonitorStatus
>
iPage
=
hmsLeakycableMonitorStatusMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
HmsLeakycableMonitorStatus
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/MmsAlarmServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.MmsAlarm
;
import
com.hongxinhui.mapper.MmsAlarmMapper
;
import
com.hongxinhui.service.MmsAlarmService
;
import
com.hongxinhui.param.MmsAlarmPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 设备告警参数限制 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
MmsAlarmServiceImpl
extends
BaseServiceImpl
<
MmsAlarmMapper
,
MmsAlarm
>
implements
MmsAlarmService
{
@Autowired
private
MmsAlarmMapper
mmsAlarmMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveMmsAlarm
(
MmsAlarm
mmsAlarm
)
throws
Exception
{
return
super
.
save
(
mmsAlarm
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateMmsAlarm
(
MmsAlarm
mmsAlarm
)
throws
Exception
{
return
super
.
updateById
(
mmsAlarm
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteMmsAlarm
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
MmsAlarm
>
getMmsAlarmPageList
(
MmsAlarmPageParam
mmsAlarmPageParam
)
throws
Exception
{
Page
<
MmsAlarm
>
page
=
new
PageInfo
<>(
mmsAlarmPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
MmsAlarm:
:
getId
)));
LambdaQueryWrapper
<
MmsAlarm
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
MmsAlarm
>
iPage
=
mmsAlarmMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
MmsAlarm
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/MmsDeviceServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.MmsDevice
;
import
com.hongxinhui.mapper.MmsDeviceMapper
;
import
com.hongxinhui.service.MmsDeviceService
;
import
com.hongxinhui.param.MmsDevicePageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 设备本身维护 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
MmsDeviceServiceImpl
extends
BaseServiceImpl
<
MmsDeviceMapper
,
MmsDevice
>
implements
MmsDeviceService
{
@Autowired
private
MmsDeviceMapper
mmsDeviceMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveMmsDevice
(
MmsDevice
mmsDevice
)
throws
Exception
{
return
super
.
save
(
mmsDevice
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateMmsDevice
(
MmsDevice
mmsDevice
)
throws
Exception
{
return
super
.
updateById
(
mmsDevice
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteMmsDevice
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
MmsDevice
>
getMmsDevicePageList
(
MmsDevicePageParam
mmsDevicePageParam
)
throws
Exception
{
Page
<
MmsDevice
>
page
=
new
PageInfo
<>(
mmsDevicePageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
MmsDevice:
:
getId
)));
LambdaQueryWrapper
<
MmsDevice
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
MmsDevice
>
iPage
=
mmsDeviceMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
MmsDevice
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/RealtimeConnectionAlarmServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.RealtimeConnectionAlarm
;
import
com.hongxinhui.mapper.RealtimeConnectionAlarmMapper
;
import
com.hongxinhui.service.RealtimeConnectionAlarmService
;
import
com.hongxinhui.param.RealtimeConnectionAlarmPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 设备连接告警 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
RealtimeConnectionAlarmServiceImpl
extends
BaseServiceImpl
<
RealtimeConnectionAlarmMapper
,
RealtimeConnectionAlarm
>
implements
RealtimeConnectionAlarmService
{
@Autowired
private
RealtimeConnectionAlarmMapper
realtimeConnectionAlarmMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveRealtimeConnectionAlarm
(
RealtimeConnectionAlarm
realtimeConnectionAlarm
)
throws
Exception
{
return
super
.
save
(
realtimeConnectionAlarm
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateRealtimeConnectionAlarm
(
RealtimeConnectionAlarm
realtimeConnectionAlarm
)
throws
Exception
{
return
super
.
updateById
(
realtimeConnectionAlarm
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteRealtimeConnectionAlarm
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
RealtimeConnectionAlarm
>
getRealtimeConnectionAlarmPageList
(
RealtimeConnectionAlarmPageParam
realtimeConnectionAlarmPageParam
)
throws
Exception
{
Page
<
RealtimeConnectionAlarm
>
page
=
new
PageInfo
<>(
realtimeConnectionAlarmPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
RealtimeConnectionAlarm:
:
getId
)));
LambdaQueryWrapper
<
RealtimeConnectionAlarm
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
RealtimeConnectionAlarm
>
iPage
=
realtimeConnectionAlarmMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
RealtimeConnectionAlarm
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/RealtimeMonitoringAlarmServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.RealtimeMonitoringAlarm
;
import
com.hongxinhui.mapper.RealtimeMonitoringAlarmMapper
;
import
com.hongxinhui.service.RealtimeMonitoringAlarmService
;
import
com.hongxinhui.param.RealtimeMonitoringAlarmPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 漏缆监测告警 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
RealtimeMonitoringAlarmServiceImpl
extends
BaseServiceImpl
<
RealtimeMonitoringAlarmMapper
,
RealtimeMonitoringAlarm
>
implements
RealtimeMonitoringAlarmService
{
@Autowired
private
RealtimeMonitoringAlarmMapper
realtimeMonitoringAlarmMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveRealtimeMonitoringAlarm
(
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
)
throws
Exception
{
return
super
.
save
(
realtimeMonitoringAlarm
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateRealtimeMonitoringAlarm
(
RealtimeMonitoringAlarm
realtimeMonitoringAlarm
)
throws
Exception
{
return
super
.
updateById
(
realtimeMonitoringAlarm
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteRealtimeMonitoringAlarm
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
RealtimeMonitoringAlarm
>
getRealtimeMonitoringAlarmPageList
(
RealtimeMonitoringAlarmPageParam
realtimeMonitoringAlarmPageParam
)
throws
Exception
{
Page
<
RealtimeMonitoringAlarm
>
page
=
new
PageInfo
<>(
realtimeMonitoringAlarmPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
RealtimeMonitoringAlarm:
:
getId
)));
LambdaQueryWrapper
<
RealtimeMonitoringAlarm
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
RealtimeMonitoringAlarm
>
iPage
=
realtimeMonitoringAlarmMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
RealtimeMonitoringAlarm
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/SmsDictDataServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.SmsDictData
;
import
com.hongxinhui.mapper.SmsDictDataMapper
;
import
com.hongxinhui.service.SmsDictDataService
;
import
com.hongxinhui.param.SmsDictDataPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 字典数据表 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
SmsDictDataServiceImpl
extends
BaseServiceImpl
<
SmsDictDataMapper
,
SmsDictData
>
implements
SmsDictDataService
{
@Autowired
private
SmsDictDataMapper
smsDictDataMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveSmsDictData
(
SmsDictData
smsDictData
)
throws
Exception
{
return
super
.
save
(
smsDictData
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateSmsDictData
(
SmsDictData
smsDictData
)
throws
Exception
{
return
super
.
updateById
(
smsDictData
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteSmsDictData
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
SmsDictData
>
getSmsDictDataPageList
(
SmsDictDataPageParam
smsDictDataPageParam
)
throws
Exception
{
Page
<
SmsDictData
>
page
=
new
PageInfo
<>(
smsDictDataPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
SmsDictData:
:
getId
)));
LambdaQueryWrapper
<
SmsDictData
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
SmsDictData
>
iPage
=
smsDictDataMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
SmsDictData
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/SmsDictTypeServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.SmsDictType
;
import
com.hongxinhui.mapper.SmsDictTypeMapper
;
import
com.hongxinhui.service.SmsDictTypeService
;
import
com.hongxinhui.param.SmsDictTypePageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 字典类型表 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
SmsDictTypeServiceImpl
extends
BaseServiceImpl
<
SmsDictTypeMapper
,
SmsDictType
>
implements
SmsDictTypeService
{
@Autowired
private
SmsDictTypeMapper
smsDictTypeMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveSmsDictType
(
SmsDictType
smsDictType
)
throws
Exception
{
return
super
.
save
(
smsDictType
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateSmsDictType
(
SmsDictType
smsDictType
)
throws
Exception
{
return
super
.
updateById
(
smsDictType
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteSmsDictType
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
SmsDictType
>
getSmsDictTypePageList
(
SmsDictTypePageParam
smsDictTypePageParam
)
throws
Exception
{
Page
<
SmsDictType
>
page
=
new
PageInfo
<>(
smsDictTypePageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
SmsDictType:
:
getId
)));
LambdaQueryWrapper
<
SmsDictType
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
SmsDictType
>
iPage
=
smsDictTypeMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
SmsDictType
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/UserOperationServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.UserOperation
;
import
com.hongxinhui.mapper.UserOperationMapper
;
import
com.hongxinhui.service.UserOperationService
;
import
com.hongxinhui.param.UserOperationPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 用户操作表 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
UserOperationServiceImpl
extends
BaseServiceImpl
<
UserOperationMapper
,
UserOperation
>
implements
UserOperationService
{
@Autowired
private
UserOperationMapper
userOperationMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveUserOperation
(
UserOperation
userOperation
)
throws
Exception
{
return
super
.
save
(
userOperation
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateUserOperation
(
UserOperation
userOperation
)
throws
Exception
{
return
super
.
updateById
(
userOperation
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteUserOperation
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
UserOperation
>
getUserOperationPageList
(
UserOperationPageParam
userOperationPageParam
)
throws
Exception
{
Page
<
UserOperation
>
page
=
new
PageInfo
<>(
userOperationPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
UserOperation:
:
getId
)));
LambdaQueryWrapper
<
UserOperation
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
UserOperation
>
iPage
=
userOperationMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
UserOperation
>(
iPage
);
}
}
newnms/src/main/java/com/hongxinhui/service/impl/UserServiceImpl.java
0 → 100644
View file @
3580ecc6
package
com
.
hongxinhui
.
service
.
impl
;
import
com.hongxinhui.entity.User
;
import
com.hongxinhui.mapper.UserMapper
;
import
com.hongxinhui.service.UserService
;
import
com.hongxinhui.param.UserPageParam
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
io.geekidea.springbootplus.framework.common.service.impl.BaseServiceImpl
;
import
io.geekidea.springbootplus.framework.core.pagination.Paging
;
import
io.geekidea.springbootplus.framework.core.pagination.PageInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.springframework.transaction.annotation.Transactional
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* 用户表 服务实现类
*
* @author cyz
* @since 2022-02-14
*/
@Slf4j
@Service
public
class
UserServiceImpl
extends
BaseServiceImpl
<
UserMapper
,
User
>
implements
UserService
{
@Autowired
private
UserMapper
userMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
saveUser
(
User
user
)
throws
Exception
{
return
super
.
save
(
user
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
updateUser
(
User
user
)
throws
Exception
{
return
super
.
updateById
(
user
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
boolean
deleteUser
(
Long
id
)
throws
Exception
{
return
super
.
removeById
(
id
);
}
@Override
public
Paging
<
User
>
getUserPageList
(
UserPageParam
userPageParam
)
throws
Exception
{
Page
<
User
>
page
=
new
PageInfo
<>(
userPageParam
,
OrderItem
.
desc
(
getLambdaColumn
(
User:
:
getId
)));
LambdaQueryWrapper
<
User
>
wrapper
=
new
LambdaQueryWrapper
<>();
IPage
<
User
>
iPage
=
userMapper
.
selectPage
(
page
,
wrapper
);
return
new
Paging
<
User
>(
iPage
);
}
}
newnms/src/main/resources/mapper/AlarmConnectionMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.AlarmConnectionMapper"
>
</mapper>
newnms/src/main/resources/mapper/AlarmMonitoringMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.AlarmMonitoringMapper"
>
</mapper>
newnms/src/main/resources/mapper/ConfigurationManageMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.ConfigurationManageMapper"
>
</mapper>
newnms/src/main/resources/mapper/HmsDeviceConnectionStatusMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.HmsDeviceConnectionStatusMapper"
>
</mapper>
newnms/src/main/resources/mapper/HmsDeviceConnetionMaintenanceMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.HmsDeviceConnetionMaintenanceMapper"
>
</mapper>
newnms/src/main/resources/mapper/HmsLeakycableMaintainMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.HmsLeakycableMaintainMapper"
>
</mapper>
newnms/src/main/resources/mapper/HmsLeakycableMonitorStatusMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.HmsLeakycableMonitorStatusMapper"
>
</mapper>
newnms/src/main/resources/mapper/MmsAlarmMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.MmsAlarmMapper"
>
</mapper>
newnms/src/main/resources/mapper/MmsDeviceMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.MmsDeviceMapper"
>
</mapper>
newnms/src/main/resources/mapper/RealtimeConnectionAlarmMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.RealtimeConnectionAlarmMapper"
>
</mapper>
newnms/src/main/resources/mapper/RealtimeMonitoringAlarmMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.RealtimeMonitoringAlarmMapper"
>
</mapper>
newnms/src/main/resources/mapper/SmsDictDataMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.SmsDictDataMapper"
>
</mapper>
newnms/src/main/resources/mapper/SmsDictTypeMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.SmsDictTypeMapper"
>
</mapper>
newnms/src/main/resources/mapper/UserMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.UserMapper"
>
</mapper>
newnms/src/main/resources/mapper/UserOperationMapper.xml
0 → 100644
View file @
3580ecc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hongxinhui.mapper.UserOperationMapper"
>
</mapper>
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