## ๐ PR ์ ๋ชฉ feat | sprint2 | ํตํฉ | ์์ ์ ๊ด๋ฆฌ ๊ธฐ๋ฅ ๊ตฌํ (์์ ์ ์์ฑ, ์์น ์ถ์ , ๊ณต๊ฐ ๋ด๋น์ ์ง์ ) | ์ค๋ค์ธ #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
๐ PR ์ ๋ชฉ
feat | sprint2 | ํตํฉ | ์์ ์ ๊ด๋ฆฌ ๊ธฐ๋ฅ ๊ตฌํ (์์ ์ ์์ฑ, ์์น ์ถ์ , ๊ณต๊ฐ ๋ด๋น์ ์ง์ ) | ์ค๋ค์ธ
โจ ๋ณ๊ฒฝ ์ฌํญ
1. ์์ ์ ์์ฑ ๊ธฐ๋ฅ
worker_zoneํ ์ด๋ธ ๋งคํ)POST /api/workers์๋ํฌ์ธํธ ๊ตฌํ2. ์์ ์ ์์น ์ถ์ ์์คํ
POST /api/worker-locations/update์๋ํฌ์ธํธ ๊ตฌํzone_histํ ์ด๋ธ์ ํตํ ์์ ์ ์์น ์ด๋ ฅ ๊ด๋ฆฌ ์์คํ ๊ตฌํ3. ๊ณต๊ฐ ๋ด๋น์ ๊ด๋ฆฌ ๊ธฐ๋ฅ
WorkerManagerService๊ตฌํ์ผ๋ก ๋ด๋น์ ๊ด๋ จ ๋น์ฆ๋์ค ๋ก์ง ๋ถ๋ฆฌโ ์ฒดํฌ๋ฆฌ์คํธ
๐ ๊ด๋ จ ์ด์
๐ฌ ์ถ๊ฐ ์ค๋ช
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ณ๊ฒฝ์ฌํญ
worker_zoneํ ์ด๋ธmanage_yn) ์ปฌ๋ผ์ผ๋ก ๊ณต๊ฐ ๋ด๋น์ ๊ด๋ฆฌzone_histํ ์ด๋ธexist_flag๋ก ํ์ฌ ์์น ํ์ (1: ํ์ฌ ์์น, 0: ์ด์ ์์น)API ์๋ต ๊ตฌ์กฐ
WorkerServiceTest ์์ ๋ฐ์ํ๋ NullPointerException ์ค๋ฅ ํด๊ฒฐ