260812_01_ENH: 배정·진행 현황 개선 및 예약/이벤트 이력 기능 추가
- 프로젝트별 외주사·필드워커 배정 현황 API 추가 - 진행 현황을 리스트 배정 기준으로 변경 및 미배정 집계 추가 - 마지막 이벤트 일자 필터·정렬 추가 - 예약 알림·기간 조회·확인 API 추가 - 이벤트 이력 단건 삭제 기능 추가 - 일반 리스트 헤더 ID를 101부터 생성 - 비밀번호 검증 규칙 완화
This commit is contained in:
@@ -241,6 +241,8 @@ public class UserService {
|
||||
throw BusinessException.notFound("USER_NOT_FOUND", "사용자를 찾을 수 없습니다.")
|
||||
.with("userId", userId);
|
||||
}
|
||||
|
||||
assignService.deleteListAssignWithUser(userId);
|
||||
}
|
||||
|
||||
/*******************************private*******************************/
|
||||
@@ -308,12 +310,14 @@ public class UserService {
|
||||
));
|
||||
} else {
|
||||
// 예시: 8~20자, 영문 + 숫자 반드시 포함, 특수문자 허용
|
||||
String pwPattern = "^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d!@#$%^&*()_+\\-={}\\[\\]:;\"'<>,.?/]{8,20}$";
|
||||
//String pwPattern = "^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d!@#$%^&*()_+\\-={}\\[\\]:;\"'<>,.?/]{8,20}$";
|
||||
// 1~20자, 영문·숫자·특수문자 허용
|
||||
String pwPattern = "^[A-Za-z\\d!@#$%^&*()_+\\-={}\\[\\]:;\"'<>,.?/]{1,20}$";
|
||||
if (!userPw.matches(pwPattern)) {
|
||||
result.add(new DataVerificationDto(
|
||||
false,
|
||||
"사용자 PW",
|
||||
"비밀번호는 영문과 숫자를 포함한 8~20자로 입력해야 합니다."
|
||||
"비밀번호는 영문, 숫자, 허용된 특수문자를 사용하여 1~20자로 입력해야 합니다."
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user