public class DeductionRecordManagerImpl extends AbstractGenericManager<DeductionRecordManagerDto> implements DeductionRecordManager
本APIは、主にデータベース操作を行いますが、より業務的な機能を付加した操作を提供します。
使用する際には、DeductionRecordManagerDto
クラスまたはそのリストをパラメータとして渡すと、
DeductionRecordManagerDto
クラスまたはそのリストが戻り値として返却されます。
(一部例外あり。各APIを参照。)
機能一覧
機能概要 | メソッド |
一覧検索 | selectList |
日次データ検索(実績/予定) | selectListCurrentDeductionRecord |
日次データ検索(予定) | selectListPlanDeductionRecord |
日次データ検索(実績) | selectListActualDeductionRecord |
登録 | entry |
マージ | margeOfDelIns |
削除 | deleteOfMatterId |
● | :必須 |
△ | :任意、検索時完全一致条件 |
▲ | :任意、検索時部分一致条件 |
× | :不要(設定されていても無視します。) |
☆ | :各APIの説明を参照 |
- | :対象外 |
○ | :あり |
× | :なし |
- | :対象外 |
AbstractGenericManager.KeywordsSearchFilterImpl
修飾子とタイプ | フィールドと説明 |
---|---|
jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tDeductionRecordService |
k31tDeductionRecordService
K31tDeductionRecordService.
|
contextHelper, dtoClass, systemLocaleHelper
コンストラクタと説明 |
---|
DeductionRecordManagerImpl() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
deleteBatch(String userCd,
Timestamp startDate,
Timestamp endDate)
条件にマッチするデータを一括削除.
|
void |
deleteOfMatterId(String systemMatterId,
String userDataId)
システム案件ID・ユーザデータIDを基にデータを削除.
|
int |
entry(List<DeductionRecordManagerDto> dataList)
データを登録.
|
int |
margeOfDelIns(List<DeductionRecordManagerDto> dataList)
データをマージ(delete-insert方式).
|
List<DeductionRecordManagerDto> |
selectList(DeductionRecordManagerDto criteria,
List<OrderDto> order)
一覧検索.
|
List<DeductionRecordManagerDto> |
selectListActualDeductionRecord(String userCd,
Date targetDate)
休憩・控除・時間年休一覧を、登録されている最新の勤務実績データから検索.
|
List<DeductionRecordManagerDto> |
selectListCurrentDeductionRecord(String userCd,
Date targetDate)
休憩・控除・時間年休一覧を、登録されている最新の勤務データ(予定もしくは実績)から検索.
|
List<DeductionRecordManagerDto> |
selectListPlanDeductionRecord(String userCd,
Date targetDate)
休憩・控除・時間年休一覧を、登録されている最新の勤務予定データから検索.
|
_getFilterTargetFields, delete, deleteBatch, getCount, getCount, getCount, getCountBySql, getCountBySql, getCountBySql, getCriteria4Sql, getCriteria4SqlParmitCompany, getCriteria4SqlParmitCompany, getPkCriteria4Sql, getPkCriteria4SqlParmitCompany, insert, insertBatch, parameterCheck, selectBeanMapListBySql, selectBeanMapListBySqlFilter, selectBeanMapListBySqlFilter, selectBeanMapListBySqlFilterIgnoreAuthority, selectBeanMapListBySqlIgnoreAuthority, selectByPk, selectByPk4Update, selectByPkIgnoreAuth4Update, selectByPkIgnoreAuthority, selectBySql, selectBySql, selectBySqlFilter, selectBySqlFilter, selectBySqlIgnoreAuthority, selectBySqlIgnoreAuthority, selectList, selectListByFilter, selectListByKeywords, selectListByKeywordsFilter, selectListByKeywordsIgnoreAuthority, selectListBySqlFilter, selectListBySqlFilterIgnoreAuthority, selectListIgnoreAuthority, setFilterTargetField, update, update, updateBatch, updateBatch, updateBySqlFile, updateBySqlFile, updateBySqlFile, updateIncludesBatch, validAccessAuthority, validAccessAuthority
@Autowired public jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tDeductionRecordService k31tDeductionRecordService
public List<DeductionRecordManagerDto> selectList(DeductionRecordManagerDto criteria, List<OrderDto> order)
会社認可は判定しません
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
システム案件id(*) | systemMatterId | △ | ○ |
ユーザデータid(*) | userDataId | △ | ○ |
休憩・控除・時間年休seq(*) | deductionSeq | △ | ○ |
休憩・控除・時間年休コード | deductionCd | △ | ○ |
開始日時 | deductionStartDatetime | △ | ○ |
終了日時 | deductionEndDatetime | △ | ○ |
備考 | note | △ | ○ |
予備項目A~J | extensionA~J | △ | ○ |
登録日時 | entryTs | △ | ○ |
登録者コード | entryUserCd | △ | ○ |
更新カウンタ | renewCnt | △ | ○ |
更新日時 | renewTs | △ | ○ |
更新者コード | renewUserCd | △ | ○ |
休憩・控除・時間年休名 | deductionName | × | × |
selectList
インタフェース内 DeductionRecordManager
criteria
- 検索条件order
- ソート条件public List<DeductionRecordManagerDto> selectListCurrentDeductionRecord(String userCd, Date targetDate)
会社認可は判定しません
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
システム案件id(*) | systemMatterId | - | ○ |
ユーザデータid(*) | userDataId | - | ○ |
休憩・控除・時間年休seq(*) | deductionSeq | - | ○ |
休憩・控除・時間年休コード | deductionCd | - | ○ |
開始日時 | deductionStartDatetime | - | ○ |
終了日時 | deductionEndDatetime | - | ○ |
備考 | note | - | ○ |
予備項目A~J | extensionA~J | - | × |
登録日時 | entryTs | - | × |
登録者コード | entryUserCd | - | × |
更新カウンタ | renewCnt | - | × |
更新日時 | renewTs | - | × |
更新者コード | renewUserCd | - | × |
休憩・控除・時間年休名 | deductionName | - | × |
selectListCurrentDeductionRecord
インタフェース内 DeductionRecordManager
userCd
- ユーザコードtargetDate
- 対象日public List<DeductionRecordManagerDto> selectListPlanDeductionRecord(String userCd, Date targetDate)
会社認可は判定しません
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
システム案件id(*) | systemMatterId | - | ○ |
ユーザデータid(*) | userDataId | - | ○ |
休憩・控除・時間年休seq(*) | deductionSeq | - | ○ |
休憩・控除・時間年休コード | deductionCd | - | ○ |
開始日時 | deductionStartDatetime | - | ○ |
終了日時 | deductionEndDatetime | - | ○ |
備考 | note | - | ○ |
予備項目A~J | extensionA~J | - | × |
登録日時 | entryTs | - | × |
登録者コード | entryUserCd | - | × |
更新カウンタ | renewCnt | - | × |
更新日時 | renewTs | - | × |
更新者コード | renewUserCd | - | × |
休憩・控除・時間年休名 | deductionName | - | × |
selectListPlanDeductionRecord
インタフェース内 DeductionRecordManager
userCd
- ユーザコードtargetDate
- 対象日public List<DeductionRecordManagerDto> selectListActualDeductionRecord(String userCd, Date targetDate)
会社認可は判定しません
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
システム案件id(*) | systemMatterId | - | ○ |
ユーザデータid(*) | userDataId | - | ○ |
休憩・控除・時間年休seq(*) | deductionSeq | - | ○ |
休憩・控除・時間年休コード | deductionCd | - | ○ |
開始日時 | deductionStartDatetime | - | ○ |
終了日時 | deductionEndDatetime | - | ○ |
備考 | note | - | ○ |
予備項目A~J | extensionA~J | - | × |
登録日時 | entryTs | - | × |
登録者コード | entryUserCd | - | × |
更新カウンタ | renewCnt | - | × |
更新日時 | renewTs | - | × |
更新者コード | renewUserCd | - | × |
休憩・控除・時間年休名 | deductionName | - | × |
selectListActualDeductionRecord
インタフェース内 DeductionRecordManager
userCd
- ユーザコードtargetDate
- 対象日public int entry(List<DeductionRecordManagerDto> dataList)
一回の登録で、異なる主キー(システム案件ID・ユーザデータID)を混在させないでください。
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
システム案件id(*) | systemMatterId | ● | - |
ユーザデータid(*) | userDataId | ● | - |
休憩・控除・時間年休seq(*) | deductionSeq | ● | - |
休憩・控除・時間年休コード | deductionCd | ● | - |
開始日時 | deductionStartDatetime | ● | - |
終了日時 | deductionEndDatetime | ● | - |
備考 | note | △ | - |
予備項目A~J | extensionA~J | △ | - |
登録日時 | entryTs | - | - |
登録者コード | entryUserCd | - | - |
更新カウンタ | renewCnt | - | - |
更新日時 | renewTs | - | - |
更新者コード | renewUserCd | - | - |
休憩・控除・時間年休名 | deductionName | - | - |
entry
インタフェース内 DeductionRecordManager
dataList
- 登録データpublic int margeOfDelIns(List<DeductionRecordManagerDto> dataList)
一回の登録で、異なる主キー(システム案件ID・ユーザデータID)を混在させないでください。
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
システム案件id(*) | systemMatterId | ● | - |
ユーザデータid(*) | userDataId | ● | - |
休憩・控除・時間年休seq(*) | deductionSeq | ● | - |
休憩・控除・時間年休コード | deductionCd | ● | - |
開始日時 | deductionStartDatetime | ● | - |
終了日時 | deductionEndDatetime | ● | - |
備考 | note | △ | - |
予備項目A~J | extensionA~J | △ | - |
登録日時 | entryTs | - | - |
登録者コード | entryUserCd | - | - |
更新カウンタ | renewCnt | - | - |
更新日時 | renewTs | - | - |
更新者コード | renewUserCd | - | - |
休憩・控除・時間年休名 | deductionName | - | - |
margeOfDelIns
インタフェース内 DeductionRecordManager
dataList
- 登録データpublic void deleteOfMatterId(String systemMatterId, String userDataId)
deleteOfMatterId
インタフェース内 DeductionRecordManager
systemMatterId
- システム案件IDuserDataId
- ユーザデータIDpublic int deleteBatch(String userCd, Timestamp startDate, Timestamp endDate)
本削除処理は、勤務管理データ制御テーブル(K31T_WREC_CONTROL)を参照していますので、
必ず勤務管理データ制御テーブルより前に実行してください。
deleteBatch
インタフェース内 DeductionRecordManager
userCd
- 会社コードstartDate
- 開始日endDate
- 終了日Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.