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
4402dd75
Commit
4402dd75
authored
Mar 30, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
カテゴリを絞った際にも、一時保存の件数を加算するようにした。
parent
09c95755
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/OperationGroupMasterListHelper.java
+14
-1
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/OperationGroupMasterListHelper.java
View file @
4402dd75
package
jp
.
agentec
.
abook
.
abv
.
ui
.
home
.
helper
;
import
java.util.List
;
import
java.util.Map
;
import
jp.agentec.abook.abv.bl.acms.type.OperationSortingType
;
import
jp.agentec.abook.abv.bl.common.ABVEnvironment
;
import
jp.agentec.abook.abv.bl.common.log.Logger
;
import
jp.agentec.abook.abv.bl.data.dao.AbstractDao
;
import
jp.agentec.abook.abv.bl.data.dao.OperationGroupMasterDao
;
import
jp.agentec.abook.abv.bl.data.dao.WorkingReportDao
;
import
jp.agentec.abook.abv.bl.dto.OperationDto
;
import
jp.agentec.abook.abv.bl.dto.OperationGroupMasterDto
;
import
jp.agentec.abook.abv.bl.logic.AbstractLogic
;
...
...
@@ -82,7 +84,18 @@ public class OperationGroupMasterListHelper extends CategoryOperationListHelper<
// 報告 or 定期点検
String
reportTypeStr
=
getUserPref
(
mAppActivity
,
AppDefType
.
UserPrefKey
.
OPERATION_REPORT_TYPES
,
null
);
return
mOperationGroupMasterLogic
.
getOperationByOperationGroupMasterId
(
peekOperationGroupMasterDto
.
operationGroupMasterId
,
reportTypeStr
,
operationSortingType
);
List
<
OperationDto
>
list
=
mOperationGroupMasterLogic
.
getOperationByOperationGroupMasterId
(
peekOperationGroupMasterDto
.
operationGroupMasterId
,
reportTypeStr
,
operationSortingType
);
// ローカル保存している分を補正する
WorkingReportDao
dao
=
AbstractDao
.
getDao
(
WorkingReportDao
.
class
);
Map
<
Long
,
Integer
>
working
=
dao
.
getWorkingTaskReportCounts
();
for
(
OperationDto
dto
:
list
)
{
Integer
workingCount
=
working
.
get
(
dto
.
operationId
);
if
(
workingCount
!=
null
)
{
dto
.
statusNotStartedCount
+=
workingCount
;
}
}
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