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
77cd6995
Commit
77cd6995
authored
Feb 26, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://115.159.76.241/haoban3.0/haoban-manage3.0.git
into developer
parents
a895b6a1
46dfe5d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+5
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
77cd6995
...
@@ -235,7 +235,7 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -235,7 +235,7 @@ public class MessageApiServiceImpl implements MessageApiService {
String
[]
arr
=
parentChain
.
split
(
"_"
);
String
[]
arr
=
parentChain
.
split
(
"_"
);
int
len
=
arr
.
length
;
int
len
=
arr
.
length
;
int
startIndex
=
len
-
2
;
int
startIndex
=
len
-
2
;
if
(
dataType
==
GicDataType
.
STORE
.
getCode
()){
if
(
dataType
==
GicDataType
.
STORE
.
getCode
()
||
dataType
==
GicDataType
.
DEPARTMENT
.
getCode
()
){
startIndex
=
len
-
1
;
startIndex
=
len
-
1
;
}
}
for
(
int
i
=
startIndex
;
i
<
len
;
i
--){
for
(
int
i
=
startIndex
;
i
<
len
;
i
--){
...
@@ -248,4 +248,8 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -248,4 +248,8 @@ public class MessageApiServiceImpl implements MessageApiService {
DepartmentDTO
departmentDTO
=
this
.
departmentService
.
getRootByEnterpriseId
(
wxEnterpriseId
);
DepartmentDTO
departmentDTO
=
this
.
departmentService
.
getRootByEnterpriseId
(
wxEnterpriseId
);
return
departmentDTO
;
return
departmentDTO
;
}
}
public
static
void
main
(
String
[]
args
){
System
.
out
.
println
(
"1_"
.
split
(
"_"
).
length
);
}
}
}
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