Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_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_gov_platform
Commits
755c3f8c
Commit
755c3f8c
authored
May 06, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加基础设备同步
parent
7fda7aef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
base-manager/src/main/java/com/mortals/xhx/module/window/model/vo/WindowBusinessVo.java
.../mortals/xhx/module/window/model/vo/WindowBusinessVo.java
+6
-0
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowBusinessServiceImpl.java
...module/window/service/impl/WindowBusinessServiceImpl.java
+8
-5
No files found.
base-manager/src/main/java/com/mortals/xhx/module/window/model/vo/WindowBusinessVo.java
View file @
755c3f8c
...
@@ -35,6 +35,12 @@ public class WindowBusinessVo extends BaseEntityLong {
...
@@ -35,6 +35,12 @@ public class WindowBusinessVo extends BaseEntityLong {
*/
*/
private
List
<
Long
>
windowIdList
;
private
List
<
Long
>
windowIdList
;
/**
* 部门ID
*/
private
Long
deptId
;
private
String
deptName
;
/**
/**
* 大厅ID
* 大厅ID
*/
*/
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowBusinessServiceImpl.java
View file @
755c3f8c
...
@@ -59,12 +59,15 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
...
@@ -59,12 +59,15 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
Iterator
iterator
=
list
.
iterator
();
Iterator
iterator
=
list
.
iterator
();
while
(
iterator
.
hasNext
())
{
while
(
iterator
.
hasNext
())
{
WindowBusinessEntity
item
=
(
WindowBusinessEntity
)
iterator
.
next
();
WindowBusinessEntity
item
=
(
WindowBusinessEntity
)
iterator
.
next
();
if
(!
ObjectUtils
.
isEmpty
(
item
.
getWindowId
())
&&
!
ObjectUtils
.
isEmpty
(
collect
.
get
(
item
.
getWindowId
())))
{
WindowEntity
windowEntity
=
collect
.
get
(
item
.
getWindowId
());
item
.
setFromnum
(
collect
.
get
(
item
.
getWindowId
()).
getFromnum
());
if
(!
ObjectUtils
.
isEmpty
(
item
.
getWindowId
())
&&
!
ObjectUtils
.
isEmpty
(
windowEntity
))
{
item
.
setDeptId
(
windowEntity
.
getDeptId
());
item
.
setDeptName
(
windowEntity
.
getDeptName
());
item
.
setFromnum
(
windowEntity
.
getFromnum
());
WindowHallEntity
windowHallEntity
=
windowHallEntityMap
.
get
(
item
.
getWindowId
());
WindowHallEntity
windowHallEntity
=
windowHallEntityMap
.
get
(
item
.
getWindowId
());
if
(!
ObjectUtils
.
isEmpty
(
windowHallEntity
))
{
if
(!
ObjectUtils
.
isEmpty
(
windowHallEntity
))
{
item
.
setHallId
(
windowHallEntity
.
getWindowId
());
item
.
setHallId
(
windowHallEntity
.
getWindowId
());
item
.
setHallName
(
windowHallEntity
.
getHallName
());
item
.
setHallName
(
windowHallEntity
.
getHallName
());
}
}
}
else
{
}
else
{
iterator
.
remove
();
iterator
.
remove
();
...
...
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