@Component @Scope(value="prototype") public class WsAgreementPeriodEditCalendarLogic extends Object
コンストラクタと説明 |
---|
WsAgreementPeriodEditCalendarLogic() |
protected static final String JSP_AREA_WS_AGREEMENT_INFO
protected static final String JSP_AREA_EDIT_CALENDAR_LIST
protected static final String JSP_AREA_FLEX_WSA
@Autowired public DateHelper dateHelper
@Autowired public LaborDateHelper laborDateHelper
@Autowired public ContextHelper contextHelper
@Autowired public PropertyHelper propertyHelper
@Autowired public CalendarInfoManagerHelper calendarInfoManagerHelper
@Autowired public WsAgreementManager wsAgreementManager
@Autowired public WsAgreementTermManager wsAgreementTermManager
@Autowired public WsAgreementAttManager wsAgreementAttManager
@Autowired public WsAgrDailyManager wsAgrDailyManager
@Autowired public LbrDayTypeManager lbrDayTypeManager
@Autowired public LbrCalendarManager lbrCalendarManager
@Autowired public LbrCalendarRuleManager lbrCalendarRuleManager
@Autowired public WsAgreementConductor wsAgreementConductor
@Autowired public WsAgrPeriodManager wsAgrPeriodManager
@Autowired public WsAgrPeriodFlexManager wsAgrPeriodFlexManager
@Autowired public WsAgreementFlexManager wsAgreementFlexManager
@Transactional public LogicResultDto selectAjax(WsAgreementPeriodEditCalendarForm form)
form
- 画面から送信された値@Transactional public LogicResultDto selectDefaultSettingDataAjax(WsAgreementPeriodEditCalendarForm form)
利用カレンダーが未設定の場合、デフォルト勤務日付区分を設定して返却します。
勤務体系カテゴリコード = WsCategory.FLEX
の場合は
「清算期間における総労働時間」と「繰越上限時間」を算出して返却します。
form
- 画面から送信された値@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto entryAjax(WsAgreementPeriodEditCalendarForm form) throws KaidenHaventAuthorityToCompanyException, KaidenDuplicationEntryException, KaidenOptimisticLockException
日別情報展開(K31C_WS_AGR_DAILY)を登録します。
対象データが存在する場合は、更新します。
フレックス月別定義(K31C_WS_AGR_PERIOD_FLEX)を登録します。
対象データが存在する場合は、更新します。
form
- 画面から送信された値 ※criteriaJsonのみ利用KaidenDuplicationEntryException
- データ重複KaidenOptimisticLockException
- 更新対象データが見つからない/楽観排他エラーKaidenHaventAuthorityToCompanyException
- 権限のない会社への更新@Transactional public LogicResultDto selectPrescribedWorkingHoursAjax(WsAgreementPeriodEditCalendarForm form)
form
- 画面から送信された値@Transactional public LogicResultDto selectDefaultShortageCarryFwdMaxAjax(WsAgreementPeriodEditCalendarForm form)
form
- 画面から送信された値@Transactional public String covDate(WsAgreementPeriodEditCalendarForm form)
form
- 画面から送信された値public KaidenValidateResult validateTargetDate(List<WsAgrDailyManagerDto> wsaDailyList, Short lbrYearStartD)
対象日の初日と年度開始日が異なる場合は判定:偽とします。
検証前に 対象日の昇順でソートします。
wsaDailyList
- 日別情報展開データlbrYearStartD
- 年度開始日protected Map<String,String> getSurfaces()
■設定値一覧
設定キー | 設定値 |
companyCd | 会社 |
wsAgreementCd | 勤務体系コード |
targetDate | 対象日 |
lbrDayTypeCd | 勤務日付区分 |
prescribedWorkingHours | 清算期間における総労働時間 |
shortageCarryFwdMax | 繰越上限時間 |
protected AuthorityCriteriaDto getReadAuthCriteria()
protected AuthorityCriteriaDto getWriteAuthCriteria()
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.