@@ -173,9 +173,15 @@ type (
173
173
174
174
// OtInfo 加班信息
175
175
OtInfo struct {
176
- OtStatus int64 `json:"ot_status"`
177
- OtDuration int64 `json:"ot_duration"`
178
- ExceptionDuration []uint64 `json:"exception_duration"`
176
+ OtStatus int64 `json:"ot_status"`
177
+ OtDuration int64 `json:"ot_duration"`
178
+ ExceptionDuration []uint64 `json:"exception_duration"`
179
+ WorkdayOverAsVacation int64 `json:"workday_over_as_vacation"`
180
+ WorkdayOverAsMoney int64 `json:"workday_over_as_money"`
181
+ RestdayOverAsVacation int64 `json:"restday_over_as_vacation"`
182
+ RestdayOverAsMoney int64 `json:"restday_over_as_money"`
183
+ HolidayOverAsVacation int64 `json:"holiday_over_as_vacation"`
184
+ HolidayOverAsMoney int64 `json:"holiday_over_as_money"`
179
185
}
180
186
)
181
187
@@ -237,13 +243,20 @@ type (
237
243
RegularDays int64 `json:"regular_days"`
238
244
RegularWorkSec int64 `json:"regular_work_sec"`
239
245
StandardWorkSec int64 `json:"standard_work_sec"`
246
+ RestDays int64 `json:"rest_days"`
240
247
}
241
248
242
249
// OverWorkInfo 加班情况
243
250
OverWorkInfo struct {
244
- WorkdayOverSec int64 `json:"workday_over_sec"`
245
- HolidayOverSec int64 `json:"holidays_over_sec"`
246
- RestDayOverSec int64 `json:"restdays_over_sec"`
251
+ WorkdayOverSec int64 `json:"workday_over_sec"`
252
+ HolidayOverSec int64 `json:"holidays_over_sec"`
253
+ RestDayOverSec int64 `json:"restdays_over_sec"`
254
+ WorkdaysOverAsVacation int64 `json:"workdays_over_as_vacation"`
255
+ WorkdaysOverAsMoney int64 `json:"workdays_over_as_money"`
256
+ RestdaysOverAsVacation int64 `json:"restdays_over_as_vacation"`
257
+ RestdaysOverAsMoney int64 `json:"restdays_over_as_money"`
258
+ HolidaysOverAsVacation int64 `json:"holidays_over_as_vacation"`
259
+ HolidaysOverAsMoney int64 `json:"holidays_over_as_money"`
247
260
}
248
261
)
249
262
@@ -304,6 +317,10 @@ type CorpOptionGroup struct {
304
317
BukaRestriction int64 `json:"buka_restriction"`
305
318
ScheduleList []ScheduleList `json:"schedulelist"`
306
319
OffWorkIntervalTime int64 `json:"offwork_interval_time"`
320
+ SpanDayTime int64 `json:"span_day_time"`
321
+ StandardWorkDuration int64 `json:"standard_work_duration"`
322
+ OpenSpCheckin bool `json:"open_sp_checkin"`
323
+ CheckinMethodType int64 `json:"checkin_method_type"`
307
324
}
308
325
309
326
// GroupCheckinDate 打卡时间,当规则类型为排班时没有意义
@@ -505,6 +522,7 @@ type OptionInfo struct {
505
522
type OptionGroup struct {
506
523
GroupType int64 `json:"grouptype"`
507
524
GroupID int64 `json:"groupid"`
525
+ OpenSpCheckin bool `json:"open_sp_checkin"`
508
526
GroupName string `json:"groupname"`
509
527
CheckinDate []OptionCheckinDate `json:"checkindate"`
510
528
SpeWorkdays []SpeWorkdays `json:"spe_workdays"`
@@ -518,6 +536,10 @@ type OptionGroup struct {
518
536
LocInfos []LocInfos `json:"loc_infos"`
519
537
ScheduleList []ScheduleList `json:"schedulelist"`
520
538
BukaRestriction int64 `json:"buka_restriction"`
539
+ SpanDayTime int64 `json:"span_day_time"`
540
+ StandardWorkDuration int64 `json:"standard_work_duration"`
541
+ OffWorkIntervalTime int64 `json:"offwork_interval_time"`
542
+ CheckinMethodType int64 `json:"checkin_method_type"`
521
543
}
522
544
523
545
// OptionCheckinDate 打卡时间配置
0 commit comments