public class EntryDataRemoveConductorImpl extends Object implements EntryDataRemoveConductor
コンストラクタと説明 |
---|
EntryDataRemoveConductorImpl() |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
allowWsaAttachChange(String userCd,
String termCd,
String wsAgreementCd,
Timestamp newStartDate,
Timestamp newEndDate)
勤務体系所属の期間変更が可能かを判定.
|
boolean |
allowWsaAttachRemove(String userCd,
String termCd)
勤務体系所属の削除が可能かを判定.
|
boolean |
allowWsAgreementOpenCancel(String companyCd,
String wsAgreementCd,
String periodIdCd)
締め期間のオープンをキャンセル可能かを判定.
|
Map<String,Integer> |
deleteEntried4Archive2nd(String companyCd,
String wsAgreementCd,
String periodIdCd,
String execUserCd)
登録済みデータの一括削除(アーカイブ(過去実績削除用)).
|
void |
deleteEntried4WsaAttachChange(String userCd,
String termCd,
String wsAgreementCd,
Timestamp newStartDate,
Timestamp newEndDate)
登録済みデータの一括削除(勤務体系所属の期間変更).
|
void |
deleteEntried4WsaAttachRemove(String userCd,
String termCd)
登録済み勤務実績データの一括削除(勤務体系所属の削除).
|
void |
deleteEntried4WsAgreementOpenCancel(String companyCd,
String wsAgreementCd,
String periodIdCd,
String execUserCd)
登録済みデータの一括削除(勤務体系締め期間OPENキャンセル).
|
@Autowired public KlwDailyManager klwDailyManager
@Autowired public KlwWorkReportManager klwWorkReportManager
@Autowired public WorkRecordManager workRecordManager
@Autowired public DeductionRecordManager deductionRecordManager
@Autowired public LbrAllowanceRecordManager lbrAllowanceRecordManager
@Autowired public WrecControlManager wrecControlManager
@Autowired public LeaveManager leaveManager
@Autowired public DeptClsStatusManager deptClsStatusManager
@Autowired public WsAgrPeriodManager wsAgrPeriodManager
@Autowired public EmpWsAgreementManager empWsAgreementManager
@Autowired public DateHelper dateHelper
@Autowired public ContextHelper contextHelper
@Autowired public SubstitutionWorkAndHolidayManager substitutionWorkAndHolidayManagerImpl
@Autowired public ViolationManager violationManager
@Autowired public ObjectiveTimeManager objectiveTimeManager
@Autowired public SummaryManager summaryManager
@Autowired public Summary summary
@Autowired protected WsAgreementManager wsAgreementManager
public void deleteEntried4WsAgreementOpenCancel(String companyCd, String wsAgreementCd, String periodIdCd, String execUserCd)
以下の手順で削除を行います。
KlwDailyManager.getDeleteEntriedTargetAndLock(String, String, String)
にて削除対象データを取得WorkRecordManager.deleteBatch(String, Timestamp, Timestamp)
DeductionRecordManager.deleteBatch(String, Timestamp, Timestamp)
LbrAllowanceRecordManager#deleteBatch(String, Timestamp, Timestamp)
WrecControlManager.deleteBatch(String, Timestamp, Timestamp)
LeaveManager.leaveCancelBatch(String, String, Timestamp, Timestamp)
※
LeaveManager.refreshBalance(String, String)
にて残数再計算SubstitutionWorkAndHolidayManager.cancelSubstitutionWorkAndHoliday(String, String, Timestamp, String)
KlwDailyManager.deleteEntriedData(String, String, String)
にて申請(日次)情報を削除KlwWorkReportManager.deleteEntriedData(String, String, String)
にて申請(勤務表)情報を削除DeptClsStatusManager.deleteBatch(String, String)
にて組織締め履歴を削除deleteEntried4WsAgreementOpenCancel
インタフェース内 EntryDataRemoveConductor
companyCd
- 会社コードwsAgreementCd
- 勤務体系コードperiodIdCd
- 締め期間IDexecUserCd
- 実行ユーザコードpublic boolean allowWsAgreementOpenCancel(String companyCd, String wsAgreementCd, String periodIdCd)
allowWsAgreementOpenCancel
インタフェース内 EntryDataRemoveConductor
companyCd
- 会社コードwsAgreementCd
- 勤務体系コードperiodIdCd
- 締め期間コードpublic boolean allowWsaAttachChange(String userCd, String termCd, String wsAgreementCd, Timestamp newStartDate, Timestamp newEndDate)
変更され影響のある期間に保存/予定申請/実績申請のデータがある場合にはfalseを返却。
データがない(もしくはすべて取消し済)の場合にtrueを返却。
勤務体系所属マスタを変更する前に、本メソッドで検査してください
allowWsaAttachChange
インタフェース内 EntryDataRemoveConductor
userCd
- ユーザコードtermCd
- 勤務体系所属マスタの期間コードwsAgreementCd
- 勤務体系コードnewStartDate
- 新開始日newEndDate
- 新終了日public boolean allowWsaAttachRemove(String userCd, String termCd)
削除され影響のある期間に保存/予定申請/実績申請のデータがある場合にはfalseを返却。
データがない(もしくはすべて取消し済)の場合にtrueを返却。
勤務体系所属マスタを変更する前に、本メソッドで検査してください
allowWsaAttachRemove
インタフェース内 EntryDataRemoveConductor
userCd
- ユーザコードtermCd
- 勤務体系所属マスタの期間コードpublic void deleteEntried4WsaAttachChange(String userCd, String termCd, String wsAgreementCd, Timestamp newStartDate, Timestamp newEndDate)
影響のある日のデータがないもしくはすべて取消し済みである必要があります
以下の手順で削除します
EmpWsAgreementManager#selectIgnoreAuth(EmpWsAgreementManagerDto)
で変更前内容を取得deleteEntried4WsaAttachChange
インタフェース内 EntryDataRemoveConductor
userCd
- ユーザコードtermCd
- 勤務体系所属マスタの期間コードwsAgreementCd
- 新勤務体系コードnewStartDate
- 新開始日newEndDate
- 新終了日public void deleteEntried4WsaAttachRemove(String userCd, String termCd)
影響のある日の勤務実績データが存在しない、もしくは、すべて取消し済みである必要があります。
以下の手順で削除します。
EmpWsAgreementManager#selectIgnoreAuth(EmpWsAgreementManagerDto)
で変更前内容を取得deleteEntried4WsaAttachRemove
インタフェース内 EntryDataRemoveConductor
userCd
- ユーザコードtermCd
- 勤務体系所属マスタの期間コードpublic Map<String,Integer> deleteEntried4Archive2nd(String companyCd, String wsAgreementCd, String periodIdCd, String execUserCd)
EntryDataRemoveConductor
deleteEntried4Archive2nd
インタフェース内 EntryDataRemoveConductor
companyCd
- 会社コードwsAgreementCd
- 勤務体系コードperiodIdCd
- 締め期間コードexecUserCd
- 実行ユーザIDCopyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.