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
09c839fb
Commit
09c839fb
authored
Feb 27, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作業一覧で、ローカル保存している報告数の補正を行うようにした。
parent
7e835fee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+7
-11
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
09c839fb
...
@@ -1271,17 +1271,13 @@ public class OperationLogic extends AbstractLogic {
...
@@ -1271,17 +1271,13 @@ 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) {
dto
.
statusNotStartedCount
+=
workingCount
;
// // 定期点検の場合は、先にレポートが作られるので、その分を差し引く
}
// dto.statusNotStartedCount -= 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