Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart-office-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart-office-platform
Commits
30ebcab7
Commit
30ebcab7
authored
Jan 09, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改通知去重复
parent
4d958c83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
smart-office-manager/src/main/java/com/mortals/xhx/daemon/task/MeetSwitchTaskImpl.java
.../java/com/mortals/xhx/daemon/task/MeetSwitchTaskImpl.java
+1
-4
smart-office-manager/src/main/java/com/mortals/xhx/daemon/task/SyncMeetStatusTaskImpl.java
...a/com/mortals/xhx/daemon/task/SyncMeetStatusTaskImpl.java
+1
-1
No files found.
smart-office-manager/src/main/java/com/mortals/xhx/daemon/task/MeetSwitchTaskImpl.java
View file @
30ebcab7
...
@@ -59,16 +59,13 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService {
...
@@ -59,16 +59,13 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService {
@Override
@Override
public
void
excuteTask
(
ITask
task
)
throws
AppException
{
public
void
excuteTask
(
ITask
task
)
throws
AppException
{
log
.
debug
(
"会议室切换状态"
);
log
.
debug
(
"会议室切换状态"
);
BasicSetEntity
basicSetEntity
=
basicSetService
.
selectOne
(
new
BasicSetEntity
());
BasicSetEntity
basicSetEntity
=
basicSetService
.
selectOne
(
new
BasicSetEntity
());
if
(
ObjectUtils
.
isEmpty
(
basicSetEntity
))
{
if
(
ObjectUtils
.
isEmpty
(
basicSetEntity
))
{
log
.
info
(
"基础未配置"
);
log
.
info
(
"基础未配置"
);
return
;
return
;
}
}
swicthMeet
(
basicSetEntity
);
swicthMeet
(
basicSetEntity
);
log
.
debug
(
"会议室切换状态完成"
);
log
.
debug
(
"会议室切换状态完成"
);
}
}
...
@@ -149,7 +146,7 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService {
...
@@ -149,7 +146,7 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService {
uploadDeviceReq
.
setDeviceCodeList
(
Arrays
.
asList
(
roomDeviceEntity
.
getDeviceCode
()));
uploadDeviceReq
.
setDeviceCodeList
(
Arrays
.
asList
(
roomDeviceEntity
.
getDeviceCode
()));
uploadDeviceReq
.
setAction
(
"postMeet"
);
uploadDeviceReq
.
setAction
(
"postMeet"
);
Rest
<
String
>
rest
=
messageFeign
.
downMsg
(
uploadDeviceReq
);
Rest
<
String
>
rest
=
messageFeign
.
downMsg
(
uploadDeviceReq
);
log
.
info
(
"会议结束提前通知 postMeet 返回结果:{}"
,
JSON
.
toJSONString
(
rest
));
log
.
info
(
"会议结束提前通知 postMeet 返回结果:{}"
,
JSON
.
toJSONString
(
uploadDeviceReq
));
}
}
}
}
}
}
...
...
smart-office-manager/src/main/java/com/mortals/xhx/daemon/task/SyncMeetStatusTaskImpl.java
View file @
30ebcab7
...
@@ -73,7 +73,7 @@ public class SyncMeetStatusTaskImpl implements ITaskExcuteService {
...
@@ -73,7 +73,7 @@ public class SyncMeetStatusTaskImpl implements ITaskExcuteService {
recordEntity
.
setMeetStatus
(
MeetStatusEnum
.
进行中
.
getValue
());
recordEntity
.
setMeetStatus
(
MeetStatusEnum
.
进行中
.
getValue
());
recordEntity
.
setUpdateTime
(
new
Date
());
recordEntity
.
setUpdateTime
(
new
Date
());
recordEntity
.
setUpdateUserId
(
1L
);
recordEntity
.
setUpdateUserId
(
1L
);
mettingRecordService
.
getDao
().
update
(
recordEntity
);
mettingRecordService
.
update
(
recordEntity
);
}
}
}
}
...
...
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