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
01d1e81a
Commit
01d1e81a
authored
Jan 24, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ロック周りの不具合修正
parent
368658bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/UnlockReportParameters.java
+8
-5
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/LockReportLogic.java
+3
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/UnlockReportLogic.java
+3
-1
ABVJE_Launcher_Android/assets/dashboard
+1
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/UnlockReportParameters.java
View file @
01d1e81a
...
...
@@ -2,6 +2,9 @@ package jp.agentec.abook.abv.bl.acms.client.parameters;
import
java.util.Date
;
import
jp.agentec.adf.util.DateTimeFormat
;
import
jp.agentec.adf.util.DateTimeUtil
;
/**
* checkapi/unlockReport/のリクエストに使うパラメータ
*/
...
...
@@ -9,7 +12,7 @@ public class UnlockReportParameters extends AcmsParameters {
private
String
taskKey
;
private
Long
taskReportId
;
private
Date
reportStartDate
;
private
String
reportStartDate
;
// 書式の問題があるので、あえて文字列
public
UnlockReportParameters
(
String
sid
,
...
...
@@ -21,18 +24,18 @@ public class UnlockReportParameters extends AcmsParameters {
this
.
taskKey
=
taskKey
;
this
.
taskReportId
=
taskReportId
;
this
.
reportStartDate
=
reportStartDate
;
this
.
reportStartDate
=
DateTimeUtil
.
toString
(
reportStartDate
,
DateTimeFormat
.
yyyyMMddHHmmssSSS_hyphen
)
;
}
String
getTaskKey
()
{
public
String
getTaskKey
()
{
return
taskKey
;
}
Long
getTaskReportId
()
{
public
Long
getTaskReportId
()
{
return
taskReportId
;
}
Date
getReportStartDate
()
{
public
String
getReportStartDate
()
{
return
reportStartDate
;
}
}
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/LockReportLogic.java
View file @
01d1e81a
...
...
@@ -23,7 +23,9 @@ public class LockReportLogic extends AbstractLogic {
public
Result
lock
(
String
taskKey
,
Long
taskReportId
,
Date
reportStartDate
)
{
Result
r
=
sendLockReport
(
taskKey
,
taskReportId
,
reportStartDate
);
updateLocalDB
(
taskKey
,
reportStartDate
,
r
.
getExtParam
().
reportStatus
);
if
(
r
.
result
==
0
)
{
updateLocalDB
(
taskKey
,
reportStartDate
,
r
.
getExtParam
().
reportStatus
);
}
return
r
;
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/UnlockReportLogic.java
View file @
01d1e81a
...
...
@@ -25,7 +25,9 @@ public class UnlockReportLogic extends AbstractLogic {
public
Result
unlock
(
String
taskKey
,
Long
taskReportId
,
Date
reportStartDate
)
{
String
loginId
=
cache
.
getMemberInfo
().
loginId
;
Result
r
=
sendUnlockReport
(
taskKey
,
taskReportId
,
reportStartDate
);
updateLocalDB
(
taskKey
,
reportStartDate
,
r
.
extParam
.
getReportStatus
(),
loginId
);
if
(
r
.
result
==
0
)
{
updateLocalDB
(
taskKey
,
reportStartDate
,
r
.
extParam
.
getReportStatus
(),
loginId
);
}
return
r
;
}
...
...
dashboard
@
30c9f2ce
Subproject commit
1814792895150146df8e38612247fc6f5c2ce69d
Subproject commit
30c9f2ce9b4bb74e8851afb11b2b4670bca6ce68
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