Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
eda68dc2
Commit
eda68dc2
authored
Sep 07, 2020
by
张祺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询顺序
parent
5d91bb6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
ExcelTempCtrl.java
...com/keymobile/indicators/api/hytobacco/ExcelTempCtrl.java
+12
-6
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/ExcelTempCtrl.java
View file @
eda68dc2
...
...
@@ -79,12 +79,18 @@ public class ExcelTempCtrl {
List
<
RoleRefUserModel
>
users
=
new
ArrayList
<>();
List
<
JSONObject
>
orgs
=
systemAuthService
.
getOrgByNos
(
objIds
);
for
(
JSONObject
jo
:
orgs
)
{
AuthModel
authModel
=
new
AuthModel
();
authModel
.
setObjType
(
Constants
.
OBJ_TYPE_ORG
);
authModel
.
setName
(
jo
.
getString
(
"name"
));
authModel
.
setId
(
jo
.
getString
(
"no"
));
list
.
add
(
authModel
);
for
(
String
oid
:
objIds
)
{
for
(
JSONObject
jo
:
orgs
)
{
String
id
=
jo
.
getString
(
"no"
);
if
(
oid
.
equals
(
id
))
{
AuthModel
authModel
=
new
AuthModel
();
authModel
.
setObjType
(
Constants
.
OBJ_TYPE_ORG
);
authModel
.
setName
(
jo
.
getString
(
"name"
));
authModel
.
setId
(
id
);
list
.
add
(
authModel
);
break
;
}
}
}
break
;
case
2
:
...
...
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