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
3780dde1
Commit
3780dde1
authored
Sep 01, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMD 'goOperation': add param: directPhaseNo
parent
a5d42b9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookKeys.java
+1
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+9
-0
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookKeys.java
View file @
3780dde1
...
...
@@ -254,6 +254,7 @@ public class ABookKeys {
public
static
final
String
DIRECT_PAGE
=
"directPage"
;
public
static
final
String
BACK_PAGE
=
"backPage"
;
public
static
final
String
DIRECT_TASK_KEY
=
"directTaskKey"
;
public
static
final
String
DIRECT_PHASE_NO
=
"directPhaseNo"
;
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
3780dde1
...
...
@@ -161,6 +161,7 @@ public class OperationListActivity extends ABVUIActivity {
private
String
directPage
;
private
String
backPage
;
private
String
directTaskKey
;
private
String
directPhaseNo
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
...
@@ -345,6 +346,11 @@ public class OperationListActivity extends ABVUIActivity {
&&
!
jsonParam
.
isNull
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_TASK_KEY
))
{
directTaskKey
=
jsonParam
.
getString
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_TASK_KEY
);
}
directPhaseNo
=
null
;
if
(
jsonParam
.
has
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_PHASE_NO
)
&&
!
jsonParam
.
isNull
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_PHASE_NO
))
{
directPhaseNo
=
jsonParam
.
getString
(
ABookKeys
.
GO_OPERATION_KEY
.
DIRECT_PHASE_NO
);
}
final
OperationDto
tempOperationDto
=
mOperationDao
.
getOperationJoinContent
(
jsonParam
.
getInt
(
ABookKeys
.
OPERATION_ID
));
if
(
tempOperationDto
.
operationType
==
Constant
.
operationType
.
CONTENT360
&&
tempOperationDto
.
contentId
==
null
)
{
...
...
@@ -914,6 +920,9 @@ public class OperationListActivity extends ABVUIActivity {
if
(
directTaskKey
!=
null
&&
directTaskKey
.
length
()
>
0
)
{
path
.
append
(
"&directTaskKey="
+
directTaskKey
);
}
if
(
directPhaseNo
!=
null
&&
directPhaseNo
.
length
()
>
0
)
{
path
.
append
(
"&directPhaseNo="
+
directPhaseNo
);
}
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