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
1c84e4cb
Commit
1c84e4cb
authored
Mar 20, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一時保存時にtaskStatusを設問に含まれる情報から取り出すようにした。
parent
02b212b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookCheckWebViewHelper.java
+15
-3
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookCheckWebViewHelper.java
View file @
1c84e4cb
...
...
@@ -16,9 +16,9 @@ import java.io.FileOutputStream;
import
java.io.IOException
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
import
jp.agentec.abook.abv.bl.common.ABVEnvironment
;
import
jp.agentec.abook.abv.bl.common.Callback
;
...
...
@@ -373,6 +373,18 @@ public class ABookCheckWebViewHelper extends ABookHelper {
// task登録・更新処理
mOperationLogic
.
registTaskData
(
taskKey
,
operationId
,
hotSpotInfo
,
taskJson
);
int
taskStatus
=
0
;
if
(
localSavedFlg
)
{
// 一時保存の場合、q_3_???の値でtaskStatusを取り出す
Iterator
<
String
>
keys
=
taskJson
.
keys
();
while
(
keys
.
hasNext
())
{
String
key
=
keys
.
next
();
if
(
key
.
startsWith
(
"q_3_"
))
{
taskStatus
=
taskJson
.
getInt
(
key
);
}
}
}
TaskReportDto
taskReportDto
=
mOperationLogic
.
getTaskReport
(
taskKey
,
taskReportLevel
);
if
(
taskReportDto
!=
null
)
{
// 更新
...
...
@@ -389,7 +401,7 @@ public class ABookCheckWebViewHelper extends ABookHelper {
localSavedFlg
,
taskReportDto
.
getSendBackInfo
(),
taskReportDto
.
getLockInfo
(),
task
ReportDto
.
task
Status
taskStatus
);
}
else
{
// 登録
...
...
@@ -406,7 +418,7 @@ public class ABookCheckWebViewHelper extends ABookHelper {
localSavedFlg
,
null
,
null
,
0
taskStatus
);
}
mOperationLogic
.
createJsonForOperationContent
(
operationId
,
contentPath
,
false
);
...
...
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