Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
28aaac40
Commit
28aaac40
authored
Apr 16, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コンタクト画面のグループ名をパンクズに変更
parent
fbacafa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
+10
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
View file @
28aaac40
...
@@ -211,7 +211,7 @@ public class CommunicationLogic extends AbstractLogic {
...
@@ -211,7 +211,7 @@ public class CommunicationLogic extends AbstractLogic {
for
(
ChatGroupDto
chatGroupDto
:
myGroupIds
)
{
for
(
ChatGroupDto
chatGroupDto
:
myGroupIds
)
{
JSONObject
groupUserJson
=
new
JSONObject
();
JSONObject
groupUserJson
=
new
JSONObject
();
groupUserJson
.
put
(
ABookCommConstants
.
KEY
.
GROUP_ID
,
chatGroupDto
.
groupId
);
groupUserJson
.
put
(
ABookCommConstants
.
KEY
.
GROUP_ID
,
chatGroupDto
.
groupId
);
groupUserJson
.
put
(
ABookCommConstants
.
KEY
.
GROUP_NAME
,
chatGroupDto
.
groupName
);
groupUserJson
.
put
(
ABookCommConstants
.
KEY
.
GROUP_NAME
,
makeGroupPath
(
chatGroupDto
.
groupId
,
" > "
)
);
List
<
ShopMemberDto
>
groupUsers
=
shopMemberDao
.
getUserListByGroupId
(
chatGroupDto
.
groupId
);
List
<
ShopMemberDto
>
groupUsers
=
shopMemberDao
.
getUserListByGroupId
(
chatGroupDto
.
groupId
);
JSONArray
groupUserArray
=
new
JSONArray
();
JSONArray
groupUserArray
=
new
JSONArray
();
for
(
ShopMemberDto
groupUser
:
groupUsers
)
{
for
(
ShopMemberDto
groupUser
:
groupUsers
)
{
...
@@ -907,4 +907,13 @@ public class CommunicationLogic extends AbstractLogic {
...
@@ -907,4 +907,13 @@ public class CommunicationLogic extends AbstractLogic {
JSONObject
jsonObject
=
new
JSONObject
(
userMap
);
JSONObject
jsonObject
=
new
JSONObject
(
userMap
);
return
jsonObject
.
toString
();
return
jsonObject
.
toString
();
}
}
public
String
makeGroupPath
(
Integer
groupId
,
String
seperator
)
{
List
<
ChatGroupDto
>
gorupPathList
=
chatGroupDao
.
getGroupTree
(
groupId
);
List
<
String
>
groupPathString
=
new
ArrayList
<
String
>();
for
(
ChatGroupDto
group
:
gorupPathList
)
{
groupPathString
.
add
(
group
.
groupName
);
}
return
StringUtil
.
join
(
seperator
,
groupPathString
);
}
}
}
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