Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat : 직위 추가 ddl 수정, 교직원 스크랩 로직 및 주기 변경 #224

Merged
merged 4 commits into from
Dec 21, 2024

Conversation

rlagkswn00
Copy link
Collaborator

@rlagkswn00 rlagkswn00 commented Dec 15, 2024

관련 이슈

#149

📝작업 내용

1. ddl default 값 수정

이전 PR에서 default 값이 잘못 들어가서 "0"으로 들어가는 현상을 수정하기 위해 ddl수정했습니닷.
PR머지 전 dev 서버DB에서 flyway 기록 삭제, 만들어져있는 position column 삭제하려고 합니당

2. 이전까진 학과 이름이 변경된 경우 DB에서 조회 되지 않아 스크랩한 내용과 비교가 불가능해 삭제되지 않는 현상

이를 위해 DB에 있는 전체학과를 조회하여 비교하도록 구현했습니다. 로컬에서 정상적으로 비교, 삭제되는것 확인했습니다!

3. 교직원 스크랩 주기를 배포를 위해 30일로 다시 변경했습니닷

@rlagkswn00 rlagkswn00 added 🐛 Bug Something isn't working ⭐ Feat labels Dec 15, 2024
@rlagkswn00 rlagkswn00 self-assigned this Dec 15, 2024
Copy link

github-actions bot commented Dec 15, 2024

Unit Test Results

  48 files    48 suites   49s ⏱️
252 tests 251 ✔️ 1 💤 0
255 runs  254 ✔️ 1 💤 0

Results for commit a00c324.

♻️ This comment has been updated with latest results.

Copy link
Member

@zbqmgldjfh zbqmgldjfh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다~~
테스트만 잘 확인해주시구~~ merge하시쥬~

return staffCompareSupport.compareAllDepartmentsAndUpdateExistStaff(scrapResults.kuStaffDTOMap(), originStaffStorage);
}

private void synchronizationWithDb(StaffCompareResults compareResults) {
System.out.println(compareResults.toString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인용 출력문은 제거 부탁해요~

@rlagkswn00 rlagkswn00 merged commit 595d7d4 into develop Dec 21, 2024
5 checks passed
@zbqmgldjfh zbqmgldjfh deleted the feat/staff-scrap#149 branch December 21, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working ⭐ Feat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants