public class DailySum
extends jp.co.intra_mart.foundation.asynchronous.AbstractTask
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
ARGS_JOIN_CHAR
メッセージ引数結合文字列.
|
protected CacheHelper |
cacheHelper
CacheHelper.
|
protected DateHelper |
dateHelper
DateHelper.
|
protected IdentifierHelper |
identifierHelper
IdentifierHelper.
|
protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31cWrecSumDailyIxService |
k31cWrecSumDailyIxService
K31cWrecSumDailyIxService.
|
protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tViolationService |
k31tViolationService
k31tViolationService.
|
protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tWrecSumDailyService |
k31tWrecSumDailyService
K31tWrecSumDailyService.
|
protected String |
resultKey
結果格納キー.
|
protected SumDefInfoHelper |
sumDefInfoHelper
SumDefInfoHelper .
|
protected SumDto |
sumDto
集計DTO.
|
protected SumkeyAttManager |
sumkeyAttManager
SumkeyAttManager.
|
コンストラクタと説明 |
---|
DailySum() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected Map<String,Object> |
createResult(Map<String,BigDecimal> sumData,
List<SumCheckResult> chkRsList,
STD sumPeriodDto)
集計処理結果を作成処理.
|
Map<String,Object> |
execute(SumDto _sumDto,
STD sumPeriodDto)
集計単位に応じた集計処理を行います.
|
protected List<String> |
getManegementIgnoreSumkey()
管理監督者集計除外キーリストを返却.
|
protected String |
getSumDiv()
集計区分を返却.
|
protected Map<String,String> |
getSumIxMappingExtraColDef(String companyCd,
String sumDiv)
集計検索用テーブル拡張カラム定義キーを返却.
|
protected void |
insertViolation(List<SumCheckResult> chkRsList,
STD sumPeriodDto)
違反管理テーブルの登録処理.
|
protected boolean |
isEntry()
登録有無を返却.
|
protected boolean |
isIgnoreEntrySumkey(String sumKey,
BigDecimal sumValue,
boolean isManager)
集計キーがテーブルに登録除外対象かどうかを返却.
|
protected boolean |
isSum()
集計有無を返却.
|
protected boolean |
isSumCheck()
集計チェック有無を返却.
|
protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.entity.K31tViolation |
makeInsertEntity(jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.entity.K31tViolation base,
SumCheckResult rs)
登録対象違反管理テーブルを返却.
|
protected String |
makeResultKey(Timestamp start,
Timestamp end)
結果格納キーを返却.
|
protected <ENTITY extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
makeSumDataList(ENTITY base,
Map<String,BigDecimal> sumData,
boolean isManager)
登録対象集計データEntityリストを返却.
|
protected void |
setResultKey(STD sumPeriodDto)
結果格納キーを生成します.
|
protected Map<String,Object> |
sumCheckMain(Map<String,BigDecimal> sumData,
STD sumPeriodDto)
集計単位ごとの集計チェックを行う.
|
protected Map<String,BigDecimal> |
sumMain(SumDto.DailySumDto dailySumDto)
日次単位の集計処理.
|
@Autowired protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tWrecSumDailyService k31tWrecSumDailyService
@Autowired protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31cWrecSumDailyIxService k31cWrecSumDailyIxService
@Autowired protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tViolationService k31tViolationService
@Autowired protected DateHelper dateHelper
@Autowired protected IdentifierHelper identifierHelper
@Autowired protected SumkeyAttManager sumkeyAttManager
@Autowired protected CacheHelper cacheHelper
@Autowired protected SumDefInfoHelper sumDefInfoHelper
protected SumDto sumDto
protected String resultKey
protected Map<String,BigDecimal> sumMain(SumDto.DailySumDto dailySumDto)
dailySumDto
- 日次集計処理DTOprotected String getSumDiv()
protected boolean isSum()
protected boolean isSumCheck()
public Map<String,Object> execute(SumDto _sumDto, STD sumPeriodDto)
execute
インタフェース内 SummaryIF<STD extends SumDto.SumPeriodDto>
_sumDto
- 集計処理DTOsumPeriodDto
- 集計単位固有の引数protected Map<String,Object> sumCheckMain(Map<String,BigDecimal> sumData, STD sumPeriodDto)
sumData
- 集計データsumPeriodDto
- 集計単位固有の引数protected void insertViolation(List<SumCheckResult> chkRsList, STD sumPeriodDto)
集計区分が日次の場合、対象のテーブルを削除します.
chkRsList
- 集計チェック結果sumPeriodDto
- 集計単位固有の情報protected void setResultKey(STD sumPeriodDto)
sumPeriodDto
- 集計単位固有の情報protected String makeResultKey(Timestamp start, Timestamp end)
start
- 期間開始end
- 期間終了protected <ENTITY extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> List<ENTITY> makeSumDataList(ENTITY base, Map<String,BigDecimal> sumData, boolean isManager)
ENTITY
- 登録対象ENTITY型base
- 基本情報を含んだ登録対象ENTITYsumData
- 集計データisManager
- 管理監督者protected boolean isIgnoreEntrySumkey(String sumKey, BigDecimal sumValue, boolean isManager)
以下のいずれかに該当する場合、集計除外対象と判定する. ・ 集計キーが null または 空("") ・ 集計値が null または ZERO ・ 集計対象となる従業員が所属している勤務体系の設定が管理監督者 かつ 集計対象外の集計キーと一致
sumKey
- 集計キーsumValue
- 集計値isManager
- 管理監督者protected jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.entity.K31tViolation makeInsertEntity(jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.entity.K31tViolation base, SumCheckResult rs)
base
- 基準違反管理テーブルrs
- 集計チェック実行結果protected Map<String,Object> createResult(Map<String,BigDecimal> sumData, List<SumCheckResult> chkRsList, STD sumPeriodDto)
sumData
- 集計データchkRsList
- 集計チェック結果sumPeriodDto
- 集計単位固有の情報protected boolean isEntry()
protected List<String> getManegementIgnoreSumkey()
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.