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
03e9c11f
Commit
03e9c11f
authored
Feb 16, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ローカル保存している件数の補正を外した(復活させるかもしれない)。
parent
32a1d389
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+11
-11
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
03e9c11f
...
@@ -1226,17 +1226,17 @@ public class OperationLogic extends AbstractLogic {
...
@@ -1226,17 +1226,17 @@ public class OperationLogic extends AbstractLogic {
WorkingReportDao
dao
=
AbstractDao
.
getDao
(
WorkingReportDao
.
class
);
WorkingReportDao
dao
=
AbstractDao
.
getDao
(
WorkingReportDao
.
class
);
// ローカル保存している分を補正する
// ローカル保存している分を補正する
Map
<
Long
,
Integer
>
working
=
dao
.
getWorkingTaskReportCounts
();
//
Map<Long, Integer> working = dao.getWorkingTaskReportCounts();
for
(
OperationDto
dto
:
list
)
{
//
for (OperationDto dto : list) {
Integer
workingCount
=
working
.
get
(
dto
.
operationId
);
//
Integer workingCount = working.get(dto.operationId);
if
(
workingCount
!=
null
)
{
//
if (workingCount != null) {
if
(
dto
.
reportType
==
1
)
{
//
if (dto.reportType == 1) {
// 定期点検の場合は、先にレポートが作られるので、その分を差し引く
//
// 定期点検の場合は、先にレポートが作られるので、その分を差し引く
dto
.
statusNotStartedCount
-=
workingCount
;
//
dto.statusNotStartedCount -= workingCount;
}
//
}
dto
.
statusWorkingCount
+=
workingCount
;
//
dto.statusWorkingCount += workingCount;
}
//
}
}
//
}
return
list
;
return
list
;
}
}
...
...
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