forked from wangziqi/gongxue-base
fix(attendance): normalize DingTalk match statuses
Store and validate stable English status codes for unmatched, pending, and matched attendance records so import, filtering, and auto-match use the same values.
This commit is contained in:
@@ -78,7 +78,7 @@ export class AttendanceCalendarQueryDto {
|
||||
export class QueryDingRawDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@IsIn(['未处理', '已匹配', '待匹配'])
|
||||
@IsIn(['unmatched', 'pending', 'matched'])
|
||||
matchStatus?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user