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
cdf16803
Commit
cdf16803
authored
Apr 20, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コードミス修正。
parent
50d804dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
+21
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/ShopMemberDao.java
+13
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
+7
-0
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/ShopMemberDao.java
View file @
cdf16803
...
...
@@ -130,6 +130,19 @@ public class ShopMemberDao extends AbstractDao {
return
list
;
}
public
List
<
ShopMemberDto
>
getUserList
(
String
userIdList
)
{
StringBuffer
sql
=
new
StringBuffer
();
sql
.
append
(
" SELECT "
);
sql
.
append
(
" sm.shop_member_id "
);
sql
.
append
(
" ,sm.shop_member_name "
);
sql
.
append
(
" ,sm.profile_url"
);
sql
.
append
(
" FROM "
);
sql
.
append
(
" m_shop_member AS sm "
);
sql
.
append
(
" WHERE sm.shop_member_id IN ( "
+
userIdList
+
" )"
);
List
<
ShopMemberDto
>
list
=
rawQueryGetDtoList
(
sql
.
toString
(),
new
String
[]{},
ShopMemberDto
.
class
);
return
list
;
}
public
List
<
ShopMemberDto
>
getfavoriteUserList
()
{
return
rawQueryGetDtoList
(
"select * from m_shop_member where favorite_register_date NOT NULL"
,
null
,
ShopMemberDto
.
class
);
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
View file @
cdf16803
...
...
@@ -870,7 +870,7 @@ public class CommunicationLogic extends AbstractLogic {
}
public
String
getUserList
(
String
userIdList
)
{
List
<
ShopMemberDto
>
selectedUsers
=
shopMemberDao
.
get
SelectedUsers
(
userIdList
);
List
<
ShopMemberDto
>
selectedUsers
=
shopMemberDao
.
get
UserList
(
userIdList
);
JSONArray
attendUsers
=
new
JSONArray
();
for
(
ShopMemberDto
dto
:
selectedUsers
)
{
Map
<
String
,
Object
>
userMap
=
new
HashMap
<
String
,
Object
>();
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
View file @
cdf16803
...
...
@@ -1216,6 +1216,13 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
}
@JavascriptInterface
public
String
getUserInfoList
(
String
shopMemberIds
)
{
String
userIds
=
shopMemberIds
;
String
UserInfoList
=
communicationLogic
.
getUserList
(
shopMemberIds
);
return
UserInfoList
;
}
@JavascriptInterface
public
String
getArchiveDetail
(
String
archiveId
)
{
String
archiveListStr
=
communicationLogic
.
getArchiveDetail
(
Integer
.
parseInt
(
archiveId
));
return
archiveListStr
;
...
...
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