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
a1b7572e
Commit
a1b7572e
authored
Feb 20, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
他の端末で追加したデータのレコードをinsertする際、taskStatusが渡されていなかった
parent
52d672c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
5 deletions
+28
-5
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+14
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+12
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookCheckWebViewHelper.java
+2
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
a1b7572e
...
...
@@ -295,7 +295,19 @@ public class OperationLogic extends AbstractLogic {
* @param localSavedFlg
* @throws IOException
*/
public
void
insertTaskReport
(
String
taskKey
,
long
operationId
,
long
contentId
,
int
reportLevel
,
int
enableReport
,
JSONObject
taskReportJson
,
String
localAttachedFileName
,
boolean
attachedChangeFlag
,
boolean
dataSendFlg
,
boolean
localSavedFlg
)
throws
IOException
{
public
void
insertTaskReport
(
String
taskKey
,
long
operationId
,
long
contentId
,
int
reportLevel
,
int
enableReport
,
JSONObject
taskReportJson
,
String
localAttachedFileName
,
boolean
attachedChangeFlag
,
boolean
dataSendFlg
,
boolean
localSavedFlg
,
int
taskStatus
)
throws
IOException
{
TaskDto
taskDto
=
mTaskDao
.
getTaskByTaskKey
(
taskKey
);
if
(
taskDto
==
null
)
{
//TODO error
...
...
@@ -325,6 +337,7 @@ public class OperationLogic extends AbstractLogic {
if
(
localAttachedFileName
!=
null
)
{
taskReportDto
.
localAttachedFileName
=
localAttachedFileName
;
}
taskReportDto
.
taskStatus
=
taskStatus
;
mTaskReportDao
.
insert
(
taskReportDto
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
a1b7572e
...
...
@@ -1050,9 +1050,18 @@ public class OperationListActivity extends OperationActivity {
}
if
(
localTaskReportDto
==
null
)
{
// 登録
mOperationLogic
.
insertTaskReport
(
serverTaskDto
.
taskKey
,
operationId
,
operationContentDto
.
contentId
,
serverTaskReportDto
.
taskReportLevel
,
serverTaskReportDto
.
enableReport
,
taskReportJson
,
attachedFileName
,
false
,
false
,
false
);
mOperationLogic
.
insertTaskReport
(
serverTaskDto
.
taskKey
,
operationId
,
operationContentDto
.
contentId
,
serverTaskReportDto
.
taskReportLevel
,
serverTaskReportDto
.
enableReport
,
taskReportJson
,
attachedFileName
,
false
,
false
,
false
,
serverTaskDto
.
taskStatus
);
}
else
{
// 更新
// jsonDataが空で入る場合、taskReportJsonをnullで登録
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookCheckWebViewHelper.java
View file @
a1b7572e
...
...
@@ -397,7 +397,8 @@ public class ABookCheckWebViewHelper extends ABookHelper {
null
,
attachedChangeFlag
,
localSavedFlg
?
false
:
true
,
localSavedFlg
localSavedFlg
,
1
//todo
);
}
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