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
f7a0f2da
Commit
f7a0f2da
authored
Jun 05, 2019
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #33933【SATO Android 1.0.0】翌日になっても更新ボタンが表示されない
parent
bac976e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+13
-6
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
f7a0f2da
...
@@ -1058,16 +1058,23 @@ public class OperationLogic extends AbstractLogic {
...
@@ -1058,16 +1058,23 @@ public class OperationLogic extends AbstractLogic {
mTaskReportDao
.
isExistUpdateTargetHotSpotTaskData
(
operationDto
.
operationId
))
{
mTaskReportDao
.
isExistUpdateTargetHotSpotTaskData
(
operationDto
.
operationId
))
{
updateFlg
=
true
;
updateFlg
=
true
;
}
}
//情報更新ボタンの仕様変更で以下の処理はコメント(復活する可能性がするため)
//定期点検のみ同期ボタンタップの日付と現在の日付が異なる且つ、作業するデータが存在しない場合
// //定期点検のみ同期ボタンタップの日付と現在の日付が異なる且つ、作業するデータが存在しない場合
// if (operationDto.reportType == Constant.ReportType.RoutineTask) {
// if (StringUtil.isNullOrEmpty(operationDto.reportPeriod) && !syncedDate.equals(DateTimeUtil.toString(DateTimeUtil.getCurrentSqlDate(), DateTimeFormat.yyyyMMdd_none))) {
// //営業時間以後、情報更新可能とする。
// if (checkServiceOptionOperaionChangeTime()) {
// updateFlg = true;
// }
// }
// }
//情報更新ボタンの仕様変更(定期点検のみ、データがない場合は情報更新ボタン表示)
if
(
operationDto
.
reportType
==
Constant
.
ReportType
.
RoutineTask
)
{
if
(
operationDto
.
reportType
==
Constant
.
ReportType
.
RoutineTask
)
{
if
(
StringUtil
.
isNullOrEmpty
(
operationDto
.
reportPeriod
)
&&
!
syncedDate
.
equals
(
DateTimeUtil
.
toString
(
DateTimeUtil
.
getCurrentSqlDate
(),
DateTimeFormat
.
yyyyMMdd_none
)))
{
if
(
StringUtil
.
isNullOrEmpty
(
operationDto
.
reportPeriod
))
{
//営業時間以後、情報更新可能とする。
if
(
checkServiceOptionOperaionChangeTime
())
{
updateFlg
=
true
;
updateFlg
=
true
;
}
}
}
}
}
if
(
updateFlg
)
{
if
(
updateFlg
)
{
operationDto
.
needSyncFlg
=
true
;
operationDto
.
needSyncFlg
=
true
;
...
...
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