Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
6756c101
Commit
6756c101
authored
Feb 26, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信取消授权回调处理
parent
46dfe5d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+9
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
6756c101
...
...
@@ -238,7 +238,7 @@ public class MessageApiServiceImpl implements MessageApiService {
if
(
dataType
==
GicDataType
.
STORE
.
getCode
()
||
dataType
==
GicDataType
.
DEPARTMENT
.
getCode
()){
startIndex
=
len
-
1
;
}
for
(
int
i
=
startIndex
;
i
<
len
;
i
--){
for
(
int
i
=
startIndex
;
i
>=
0
&&
i
<
len
;
i
--){
DepartmentDTO
department
=
this
.
departmentService
.
getByRelatedId
(
arr
[
i
]);
if
(
department
!=
null
){
return
department
;
...
...
@@ -250,6 +250,13 @@ public class MessageApiServiceImpl implements MessageApiService {
}
public
static
void
main
(
String
[]
args
){
System
.
out
.
println
(
"1_"
.
split
(
"_"
).
length
);
String
parentChain
=
"1_"
;
String
[]
arr
=
parentChain
.
split
(
"_"
);
int
len
=
arr
.
length
;
int
startIndex
=
len
-
1
;
System
.
out
.
println
(
len
);
for
(
int
i
=
startIndex
;
i
>=
0
&&
i
<
len
;
i
--){
System
.
out
.
println
(
i
);
}
}
}
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