public class WdDeptClsStatusManagerImpl extends AbstractGenericManager<WdDeptClsStatusManagerDto> implements WdDeptClsStatusManager
本APIは、主にデータベース操作を行いますが、より業務的な機能を付加した操作を提供します。
使用する際には、WdDeptClsStatusManagerDto
クラスまたはそのリストをパラメータとして渡すと、
WdDeptClsStatusManagerDto
クラスまたはそのリストが戻り値として返却されます。
(一部例外あり。各APIを参照。)
機能一覧
機能概要 | メソッド |
締め処理 | fixPeriod |
締め解除処理 | unfixPeriod |
主キー検索(認可設定無視)(ロック) | select4Update |
会社締め期間一覧検索 | selectClosingTermList |
組織締め状況一覧検索 | selectDeptDetailList |
組織締め状況一覧検索(認可無視) | selectDeptDetailListIgnoreAuthority |
上位組織締め状況一覧検索 | selectUpperDeptDetailList |
従業員検索 | selectEmployeeList |
締め処理可能組織検索 | getAuthorizedDepartmentList |
締め処理可能組織検索(認可無視) | getAuthorizedDepartmentListIgnoreAuthority |
処理可能組織検索 | getAuthorizedDepartmentList2 |
更新 | updateDeptClsStatusAndEntryHistory4Export |
データ削除 | deleteBatch |
一括削除 | deleteBatchTargetPeriod |
AbstractGenericManager.KeywordsSearchFilterImpl
WdDeptClsStatusManager.ClosingTermSearchResultFieldName, WdDeptClsStatusManager.EmployeeSearchConstants, WdDeptClsStatusManager.WdAuthorizedAccessDepartmentDto, WdDeptClsStatusManager.WdDeptSearchResultFieldName
修飾子とタイプ | フィールドと説明 |
---|---|
CompanyManagerHelper |
companyManagerHelper
CompanyManagerHelper.
|
CompanySettingsHelper |
companySettingsHelper
CompanySettingsHelper.
|
DateHelper |
dateHelper
DateHelper.
|
jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tWdDeptClsHistoryService |
k31tWdDeptClsHistoryService
K31tWdDeptClsHistoryService.
|
jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tWdDeptClsStatusService |
k31tWdDeptClsStatusService
K31tWdDeptClsStatus.
|
protected static String |
SQL_DELETE_BATCH
一括削除用SQLファイル.
|
protected static String |
SQL_SELECT_AUTHDEPARTMENT_LIST
処理可能組織一覧取得用SQLファイル.
|
protected static String |
SQL_SELECT_AUTHDEPARTMENT_LIST_POSSIBLE_MULTI_AUTHORITYID
処理可能組織一覧取得用SQLファイル(下位組織フィルタ版).
|
protected static String |
SQL_SELECT_DEPT_DETAIL_LIST
組織別明細一覧取得用SQLファイル.
|
protected static String |
SQL_SELECT_EMPLOYEE_LIST
従業員一覧取得用SQLファイル.
|
protected static String |
SQL_SELECT_UPPER_DEPT_DETAIL_LIST
上位組織一覧取得用SQLファイル.
|
WdDeptClsHistoryManager |
wdDeptClsHistoryManager
DeptClsHistoryManager.
|
contextHelper, dtoClass, systemLocaleHelper
LABOR_WORK_DATA_CLOSE, LABOR_WORK_DATA_DEPT_CLOSE
コンストラクタと説明 |
---|
WdDeptClsStatusManagerImpl() |
_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
protected static final String SQL_SELECT_DEPT_DETAIL_LIST
protected static final String SQL_SELECT_EMPLOYEE_LIST
protected static final String SQL_SELECT_UPPER_DEPT_DETAIL_LIST
protected static final String SQL_SELECT_AUTHDEPARTMENT_LIST
protected static final String SQL_SELECT_AUTHDEPARTMENT_LIST_POSSIBLE_MULTI_AUTHORITYID
@Autowired public DateHelper dateHelper
@Autowired public jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tWdDeptClsStatusService k31tWdDeptClsStatusService
@Autowired public jp.co.slcs.kaiden.v2.product_labormgr.foundation.model.service.K31tWdDeptClsHistoryService k31tWdDeptClsHistoryService
@Autowired public WdDeptClsHistoryManager wdDeptClsHistoryManager
@Autowired public CompanyManagerHelper companyManagerHelper
@Autowired public CompanySettingsHelper companySettingsHelper
public int fixPeriod(WdDeptClsStatusManagerDto dto)
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
会社コード(*) | companyCd | ● | - |
組織セットコード(*) | departmentSetCd | ● | - |
組織コード(*) | departmentCd | ● | - |
締め期間(*) | targetMonth | ● | - |
締め期間開始日 | startDate | ● | - |
締め期間終了日 | endDate | ● | - |
締めステータス | closingStatus | × | - |
実行者コード | executeUserCd | × | - |
処理日時 | processTs | × | - |
WDデータ出力ステータス | wdExportStatus | △ | - |
WDデータ出力者社員コード | wdExportUserCd | △ | - |
WDデータ出力日 | wdExportTs | △ | - |
予備項目A~J | extensionA~J | △ | - |
登録日時 | entryTs | - | - |
登録者コード | entryUserCd | - | - |
更新カウンタ | renewCnt | - | - |
更新日時 | renewTs | - | - |
更新者コード | renewUserCd | - | - |
ロケールID | localeId | - | - |
検索基準日 | searchCriteriaDate | - | - |
検索基準会社コード | searchCriteriaCompanyCd | - | - |
fixPeriod
インタフェース内 WdDeptClsStatusManager
dto
- 更新対象DTOpublic int openPeriod(WdDeptClsStatusManagerDto dto)
WdDeptClsStatusManager
openPeriod
インタフェース内 WdDeptClsStatusManager
dto
- 更新対象DTOpublic int unfixPeriod(WdDeptClsStatusManagerDto dto)
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
会社コード(*) | companyCd | ● | - |
組織セットコード(*) | departmentSetCd | ● | - |
組織コード(*) | departmentCd | ● | - |
締め期間(*) | targetMonth | ● | - |
締め期間開始日 | startDate | ● | - |
締め期間終了日 | endDate | ● | - |
締めステータス | closingStatus | × | - |
実行者コード | executeUserCd | × | - |
処理日時 | processTs | × | - |
WDデータ出力ステータス | wdExportStatus | △ | - |
WDデータ出力者社員コード | wdExportUserCd | △ | - |
WDデータ出力日 | wdExportTs | △ | - |
予備項目A~J | extensionA~J | △ | - |
登録日時 | entryTs | - | - |
登録者コード | entryUserCd | - | - |
更新カウンタ | renewCnt | - | - |
更新日時 | renewTs | - | - |
更新者コード | renewUserCd | - | - |
ロケールID | localeId | - | - |
検索基準日 | searchCriteriaDate | - | - |
検索基準会社コード | searchCriteriaCompanyCd | - | - |
unfixPeriod
インタフェース内 WdDeptClsStatusManager
dto
- 更新対象DTOpublic int suspendPeriod(WdDeptClsStatusManagerDto dto)
WdDeptClsStatusManager
suspendPeriod
インタフェース内 WdDeptClsStatusManager
dto
- 更新対象DTOpublic WdDeptClsStatusManagerDto select4Update(WdDeptClsStatusManagerDto dto)
本メソッドのI/Oは下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I | O |
会社コード(*) | companyCd | ● | ○ |
組織セットコード(*) | departmentSetCd | ● | ○ |
組織コード(*) | departmentCd | ● | ○ |
締め期間(*) | targetMonth | ● | ○ |
締め期間開始日 | startDate | - | ○ |
締め期間終了日 | endDate | - | ○ |
締めステータス | closingStatus | - | ○ |
実行者コード | executeUserCd | - | ○ |
処理日時 | processTs | - | ○ |
WDデータ出力ステータス | wdExportStatus | - | ○ |
WDデータ出力者社員コード | wdExportUserCd | - | ○ |
WDデータ出力日 | wdExportTs | - | ○ |
予備項目A~J | extensionA~J | - | ○ |
登録日時 | entryTs | - | ○ |
登録者コード | entryUserCd | - | ○ |
更新カウンタ | renewCnt | - | ○ |
更新日時 | renewTs | - | ○ |
更新者コード | renewUserCd | - | ○ |
ロケールID | localeId | - | - |
検索基準日 | searchCriteriaDate | - | - |
検索基準会社コード | searchCriteriaCompanyCd | - | - |
select4Update
インタフェース内 WdDeptClsStatusManager
dto
- 検索条件DTOpublic List<Map<String,Object>> selectDeptDetailList(WdDeptClsStatusManagerDto criteria, List<OrderDto> order, AuthorityCriteriaDto authCriteria)
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
ロケールID | localeId | ● |
締め期間 | targetMonth | ● |
締め期間開始日 | startDate | ● |
締め期間終了日 | endDate | ● |
selectDeptDetailList
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件order
- ソート条件authCriteria
- 認可条件public List<Map<String,Object>> selectDeptDetailListIgnoreAuthority(WdDeptClsStatusManagerDto criteria, List<OrderDto> order)
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
ロケールID | localeId | ● |
締め期間 | targetMonth | ● |
締め期間開始日 | startDate | ● |
締め期間終了日 | endDate | ● |
selectDeptDetailListIgnoreAuthority
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件order
- ソート条件public List<Map<String,Object>> selectUpperDeptDetailList(WdDeptClsStatusManagerDto criteria, List<OrderDto> order, AuthorityCriteriaDto authCriteria)
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
ロケールID | localeId | ● |
締め期間コード | targetMonth | ● |
締め期間開始日 | startDate | ● |
締め期間終了日 | endDate | ● |
selectUpperDeptDetailList
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件order
- ソート条件authCriteria
- 認可条件public Map<String,Object> selectEmployeeList(WdDeptClsStatusManagerDto criteria, AuthorityCriteriaDto authCriteria, List<OrderDto> order)
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
ロケールID | localeId | ● |
締め期間 | targetMonth | ● |
締め期間開始日 | startDate | ● |
締め期間終了日 | endDate | ● |
従業員コード | userCd | △ |
違反/警告 勤務表 | existsViolationReport | △※2 |
selectEmployeeList
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件authCriteria
- 認可条件order
- ソート条件public List<WdDeptClsStatusManager.WdAuthorizedAccessDepartmentDto> getAuthorizedDepartmentListToFixPeriodOrCancelList(WdDeptClsStatusManagerDto criteria, AuthorityCriteriaDto authCriteria, List<OrderDto> order)
指定されたユーザが会社組織締め
、個人締め解除
のいづれかについて管理権限を保有する組織を返却します。
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
検索基準日 | searchCriteriaDate | ● |
ユーザコード | userCd | ● |
getAuthorizedDepartmentListToFixPeriodOrCancelList
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件authCriteria
- 認可条件order
- ソート条件public List<WdDeptClsStatusManager.WdAuthorizedAccessDepartmentDto> getAuthorizedDepartmentListToFixPeriodOrCancelIgnoreAuthority(WdDeptClsStatusManagerDto criteria, List<OrderDto> order)
指定されたユーザが会社組織締め
、個人締め解除
のいづれかについて管理権限を保有する組織を返却します。
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
検索基準日 | searchCriteriaDate | ● |
ユーザコード | userCd | ● |
getAuthorizedDepartmentListToFixPeriodOrCancelIgnoreAuthority
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件order
- ソート条件public List<WdDeptClsStatusManager.WdAuthorizedAccessDepartmentDto> getAuthorizedDepartmentListPossibleMultiAuthorityId(WdDeptClsStatusManagerDto criteria, AuthorityCriteriaDto authCriteria, List<OrderDto> order)
指定されたユーザが指定された処理について管理権限を保有する組織を返却します。
対象権限コードは複数指定が可能です。
本メソッドで検索条件として利用可能な項目は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | I |
検索基準会社コード | searchCriteriaCompanyCd | ● |
組織セットコード | departmentSetCd | ● |
組織コード | departmentCd | △ |
検索基準日 | searchCriteriaDate | ● |
ユーザコード | userCd | ● |
ロケールID | localeId | ● |
対象権限リスト | listAuthorityIdCd | ● |
getAuthorizedDepartmentListPossibleMultiAuthorityId
インタフェース内 WdDeptClsStatusManager
criteria
- 検索条件authCriteria
- 認可条件order
- ソート条件protected Map<String,Object> createCriteriaMap(WdDeptClsStatusManagerDto criteria)
criteria
- 検索条件DTOprotected List<Map<String,Object>> complementEndDateForDisp(List<Map<String,Object>> dataList, List<String> fields)
画面表示用の日付項目補正を行います。
指定された日付項目をマイナス1日して戻します。
dataList
- 対象データfields
- 対象日付項目フィールド名protected KaidenDto complementEndDateForDb(KaidenDto dto, List<String> fields)
指定された日付項目を1日して加算して戻します。
dto
- 対象データfields
- 対象日付項目フィールド名protected Map<String,Object> complementEndDateMapForDb(KaidenDto dto, List<String> fields)
指定された日付項目を1日して加算して戻します。
dto
- 対象データfields
- 対象日付項目フィールド名public void deleteBatch(String companyCd, String targetMonth)
本データおよび会社組織締め履歴管理(K31T_WD_DEPT_CLS_HISTORY)のデータを一括削除します
deleteBatch
インタフェース内 WdDeptClsStatusManager
companyCd
- 会社コードtargetMonth
- 締め期間public void updateDeptClsStatusAndEntryHistory4Export(List<WdDeptClsStatusManagerDto> criteriaList)
更新対象リストにUniqueKeyが指定されない場合はKaidenIllegalParametersException
をthrowします。
updateDeptClsStatusAndEntryHistory4Export
インタフェース内 WdDeptClsStatusManager
criteriaList
- 会社組織締め状況管理更新対象リストpublic boolean isFixedDepartment(String targetUserCd, Timestamp endDate, String companyCd, String targetMonth)
isFixedDepartment
インタフェース内 WdDeptClsStatusManager
targetUserCd
- 対象ユーザendDate
- 締め終了日companyCd
- 締め期間targetMonth
- 会社コードpublic boolean isFixedDepartment(String companyCd, String departmentSetCd, String targetMonth)
isFixedDepartment
インタフェース内 WdDeptClsStatusManager
companyCd
- 会社コードdepartmentSetCd
- 組織セットコードtargetMonth
- 締め期間public Map<String,Integer> deleteBatchTargetMonth(String companyCd, String targetMonth)
deleteBatchTargetMonth
インタフェース内 WdDeptClsStatusManager
companyCd
- 会社コードtargetMonth
- 締め期間public boolean isFixTargetablePeriod(String companyCd, String departmentSetCd, String targetMonth)
所属する従業員の勤務表提出状況は鑑みません。
isFixTargetablePeriod
インタフェース内 WdDeptClsStatusManager
companyCd
- 会社コードdepartmentSetCd
- 組織セットコードtargetMonth
- 締め期間public boolean selectDepartmentStatus(String companyCd, String departmentSetCd, String departmentCd, String targetMonth, Timestamp startDate)
指定した組織の締め状態を判定します。
selectDepartmentStatus
インタフェース内 WdDeptClsStatusManager
companyCd
- 会社コードdepartmentSetCd
- 組織セットコードdepartmentCd
- 組織コードtargetMonth
- 対象年月startDate
- 開始日public boolean checkNextMonthClosed(WdDeptClsStatusManagerDto crt)
WdDeptClsStatusManager
checkNextMonthClosed
インタフェース内 WdDeptClsStatusManager
crt
- 検索条件Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.