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
b18009f9
Commit
b18009f9
authored
Feb 15, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
連絡先画面修正
parent
2a46bae2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
4 deletions
+48
-4
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
+2
-2
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/AcmsParameters.java
+11
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/tables/RChatRoomShopMember.java
+34
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
+1
-2
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
View file @
b18009f9
...
...
@@ -565,8 +565,8 @@ public class AcmsClient implements AcmsClientResponseListener {
* @throws NetworkDisconnectedException
* @throws AcmsException
*/
public
GroupListJSON
getGroupInfo
(
String
sid
)
throws
NetworkDisconnectedException
,
AcmsException
{
HttpResponse
response
=
send
(
AcmsApis
.
ApigetUser
,
new
AcmsParameters
(
sid
,
AcmsApis
.
Cmds
.
getGroupInfo
));
public
GroupListJSON
getGroupInfo
(
String
sid
,
String
groupId
)
throws
NetworkDisconnectedException
,
AcmsException
{
HttpResponse
response
=
send
(
AcmsApis
.
ApigetUser
,
new
AcmsParameters
(
sid
,
AcmsApis
.
Cmds
.
getGroupInfo
,
groupId
));
GroupListJSON
json
=
new
GroupListJSON
(
response
.
httpResponseBody
);
return
json
;
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/AcmsParameters.java
View file @
b18009f9
...
...
@@ -15,6 +15,7 @@ public class AcmsParameters extends HttpParameterObject {
*/
private
String
sid
;
private
String
cmd
;
private
String
groupId
;
/**
* {@link AcmsParameters} のインスタンスを初期化します。
* @param sid ログインした時のセッションIDです。
...
...
@@ -35,6 +36,12 @@ public class AcmsParameters extends HttpParameterObject {
this
.
cmd
=
cmd
;
}
public
AcmsParameters
(
String
sid
,
String
cmd
,
String
groupId
)
{
this
.
sid
=
sid
;
this
.
cmd
=
cmd
;
this
.
groupId
=
groupId
;
}
/**
* セッションIDを返します。
* @return ログインした時のセッションIDです。
...
...
@@ -52,4 +59,8 @@ public class AcmsParameters extends HttpParameterObject {
public
String
getCmd
()
{
return
cmd
;
}
public
String
getGroupId
()
{
return
groupId
;
}
}
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/tables/RChatRoomShopMember.java
0 → 100644
View file @
b18009f9
package
jp
.
agentec
.
abook
.
abv
.
bl
.
data
.
tables
;
import
java.util.ArrayList
;
import
java.util.List
;
import
jp.agentec.abook.abv.bl.common.db.SQLiteDatabase
;
public
class
RChatRoomShopMember
extends
SQLiteTableScript
{
public
RChatRoomShopMember
()
{
}
@Override
public
List
<
String
>
getCreateScript
(
int
version
)
{
List
<
String
>
ddl
=
new
ArrayList
();
StringBuffer
sql
=
new
StringBuffer
();
sql
.
append
(
" create table r_chat_room_shop_member ( "
);
sql
.
append
(
" chat_room_id INTEGER NOT NULL "
);
sql
.
append
(
" , shop_member_id INTEGER NOT NULL "
);
sql
.
append
(
" , PRIMARY KEY (chat_room_id, shop_member_id) "
);
sql
.
append
(
" ) "
);
ddl
.
add
(
sql
.
toString
());
return
ddl
;
}
@Override
public
List
<
String
>
getUpgradeScript
(
int
oldVersion
,
int
newVersion
)
{
return
null
;
}
@Override
public
List
<
String
>
getMigrationScript
(
SQLiteDatabase
databaseConnection
,
int
oldVersion
,
int
newVersion
,
Object
...
params
)
{
return
null
;
}
}
\ No newline at end of file
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
View file @
b18009f9
...
...
@@ -711,8 +711,7 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
@JavascriptInterface
public
void
updateGroupInfo
()
throws
NetworkDisconnectedException
,
AcmsException
{
GroupListJSON
resultJson
=
AcmsClient
.
getInstance
(
ABVEnvironment
.
getInstance
().
networkAdapter
).
getGroupInfo
(
sid
);
GroupListJSON
resultJson
=
AcmsClient
.
getInstance
(
ABVEnvironment
.
getInstance
().
networkAdapter
).
getGroupInfo
(
sid
,
"0"
);
communicationLogic
.
updateGroup
(
resultJson
.
groupList
);
}
}
...
...
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