Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
39a6e3cd
authored
Dec 04, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix: 房态查询问题
parent
3d7966e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
server-service/src/main/java/com/makeit/service/platform/space/impl/PlatBedServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/space/impl/PlatBedServiceImpl.java
View file @
39a6e3cd
...
@@ -171,20 +171,20 @@ public class PlatBedServiceImpl extends ServiceImpl<PlatBedMapper, PlatBed> impl
...
@@ -171,20 +171,20 @@ public class PlatBedServiceImpl extends ServiceImpl<PlatBedMapper, PlatBed> impl
choiceOrgIdList
.
addAll
(
Lists
.
newArrayList
(
dto
.
getOrgId
().
split
(
","
)));
choiceOrgIdList
.
addAll
(
Lists
.
newArrayList
(
dto
.
getOrgId
().
split
(
","
)));
}
}
List
<
String
>
orgIdList
=
Lists
.
newArrayList
();
List
<
String
>
orgIdList
=
Lists
.
newArrayList
();
if
(
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
getType
())
&&
com
.
makeit
.
utils
.
old
.
StringUtils
.
isEmpty
(
dto
.
getOrgId
()))
{
if
(
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
get
Org
Type
())
&&
com
.
makeit
.
utils
.
old
.
StringUtils
.
isEmpty
(
dto
.
getOrgId
()))
{
orgIdList
=
typeOrgIdList
;
orgIdList
=
typeOrgIdList
;
if
(
CollectionUtils
.
isEmpty
(
orgIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
orgIdList
))
{
orgIdList
.
add
(
"-1"
);
orgIdList
.
add
(
"-1"
);
}
}
}
}
if
(
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
getOrgId
())
&&
com
.
makeit
.
utils
.
old
.
StringUtils
.
isEmpty
(
dto
.
getType
()))
{
if
(
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
getOrgId
())
&&
com
.
makeit
.
utils
.
old
.
StringUtils
.
isEmpty
(
dto
.
get
Org
Type
()))
{
orgIdList
=
choiceOrgIdList
;
orgIdList
=
choiceOrgIdList
;
if
(
CollectionUtils
.
isEmpty
(
orgIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
orgIdList
))
{
orgIdList
.
add
(
"-1"
);
orgIdList
.
add
(
"-1"
);
}
}
}
}
if
(
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
getOrgId
())
&&
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
getType
()))
{
if
(
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
getOrgId
())
&&
com
.
makeit
.
utils
.
old
.
StringUtils
.
isNotEmpty
(
dto
.
get
Org
Type
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
choiceOrgIdList
)
&&
CollectionUtils
.
isNotEmpty
(
typeOrgIdList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
choiceOrgIdList
)
&&
CollectionUtils
.
isNotEmpty
(
typeOrgIdList
))
{
orgIdList
=
new
ArrayList
<>(
CollectionUtils
.
intersection
(
typeOrgIdList
,
choiceOrgIdList
));
orgIdList
=
new
ArrayList
<>(
CollectionUtils
.
intersection
(
typeOrgIdList
,
choiceOrgIdList
));
if
(
CollectionUtils
.
isEmpty
(
orgIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
orgIdList
))
{
...
...
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