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
e48657c1
Commit
e48657c1
authored
Aug 30, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#49091, #49092, #49093 implement params: directPage, backPage, directTaskKey
parent
b78c6b05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
1 deletions
+36
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookKeys.java
+6
-0
ABVJE_Launcher_Android/assets/check
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+29
-0
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookKeys.java
View file @
e48657c1
...
...
@@ -250,4 +250,10 @@ public class ABookKeys {
public
static
final
String
PUSH_MESSAGE_ID
=
"pushMessageId"
;
public
static
final
String
PUSH_MESSAGE_ACTION
=
"pushMessageAction"
;
public
static
class
GO_OPERATION_KEY
{
public
static
final
String
DIRECT_PAGE
=
"directPage"
;
public
static
final
String
BACK_PAGE
=
"backPage"
;
public
static
final
String
DIRECT_TASK_KEY
=
"directTaskKey"
;
}
}
check
@
b491f777
Subproject commit
5fb3d18c66297d4a79b13dea06fb5865210e43f6
Subproject commit
b491f77706e90f0cfcd3593dc6d9b2dd593162fa
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
e48657c1
...
...
@@ -157,6 +157,11 @@ public class OperationListActivity extends ABVUIActivity {
private
Integer
mScanType
;
//redirect page
private
String
directPage
;
private
String
backPage
;
private
String
directTaskKey
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
...
@@ -325,6 +330,21 @@ public class OperationListActivity extends ABVUIActivity {
if
(
jsonParam
.
has
(
ABookKeys
.
SCAN_TYPE
))
{
mScanType
=
jsonParam
.
getInt
(
ABookKeys
.
SCAN_TYPE
);
}
directPage
=
null
;
if
(
jsonParam
.
has
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_PAGE
)
&&
!
jsonParam
.
isNull
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_PAGE
))
{
directPage
=
jsonParam
.
getString
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_PAGE
);
}
backPage
=
null
;
if
(
jsonParam
.
has
(
ABookKeys
.
GO_OPERATION_KEY
.
BACK_PAGE
)
&&
!
jsonParam
.
isNull
(
ABookKeys
.
GO_OPERATION_KEY
.
BACK_PAGE
))
{
backPage
=
jsonParam
.
getString
(
ABookKeys
.
GO_OPERATION_KEY
.
BACK_PAGE
);
}
directTaskKey
=
null
;
if
(
jsonParam
.
has
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_TASK_KEY
)
&&
!
jsonParam
.
isNull
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_TASK_KEY
))
{
directTaskKey
=
jsonParam
.
getString
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_TASK_KEY
);
}
final
OperationDto
tempOperationDto
=
mOperationDao
.
getOperationJoinContent
(
jsonParam
.
getInt
(
ABookKeys
.
OPERATION_ID
));
if
(
tempOperationDto
.
operationType
==
Constant
.
operationType
.
CONTENT360
&&
tempOperationDto
.
contentId
==
null
)
{
...
...
@@ -885,6 +905,15 @@ public class OperationListActivity extends ABVUIActivity {
path
.
append
(
"&sid="
+
ABVDataCache
.
getInstance
().
getMemberInfo
().
sid
);
path
.
append
(
"&quickReport="
+
operationDto
.
quickReport
);
path
.
append
(
"&shopName="
+
ABVDataCache
.
getInstance
().
getUrlPath
());
if
(
directPage
!=
null
&&
directPage
.
length
()
>
0
)
{
path
.
append
(
"&directPage="
+
directPage
);
}
if
(
backPage
!=
null
&&
backPage
.
length
()
>
0
)
{
path
.
append
(
"&backPage="
+
backPage
);
}
if
(
directTaskKey
!=
null
&&
directTaskKey
.
length
()
>
0
)
{
path
.
append
(
"&directTaskKey="
+
directTaskKey
);
}
path
.
append
(
"&acmsAddress="
+
ABVEnvironment
.
getInstance
().
acmsAddress
);
if
(
mScanType
!=
null
)
{
String
scanTypeKey
=
null
;
...
...
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