[#44] 매장 기능 도입 #45

Merged
pricelees merged 116 commits from feat/#44 into main 2025-09-20 03:15:06 +00:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit cc0316d77a - Show all commits

View File

@ -16,7 +16,9 @@ class PopulationDataSqlParser() : StringSpec({
val regionCodePattern = Regex("^[0-9]{10}$")
"인구 데이터를 이용하여 지역 정보 SQL 파일로 변환하고, 추가로 $MIN_POPULATION_FOR_PER_STORE 이상의 시/군/구는 매장 데이터 생성을 위해 따로 분류한다." {
"인구 데이터를 이용하여 지역 정보 SQL 파일로 변환하고, 추가로 $MIN_POPULATION_FOR_PER_STORE 이상의 시/군/구는 매장 데이터 생성을 위해 따로 분류한다.".config(
enabled = false
) {
val populationXlsx = XSSFWorkbook(File("data/population.xlsx"))
val sheet = populationXlsx.getSheetAt(0)
val allRegion = mutableListOf<List<String>>()
@ -55,7 +57,8 @@ class PopulationDataSqlParser() : StringSpec({
}
if (populationInt >= MIN_POPULATION_FOR_PER_STORE) {
regionsMoreThanMinPopulation.add(listOf(
regionsMoreThanMinPopulation.add(
listOf(
regionCode,
sidoCode,
sigunguCode,

View File

@ -19,7 +19,7 @@ class StoreDataInitializer : StringSpec({
"열정", "미래", "자유", "도전", "지혜", "행운"
)
"초기 매장 데이터를 준비한다." {
"초기 매장 데이터를 준비한다.".config(enabled = false) {
val regions = initializeRegionWithStoreCount()
val usedStoreName = mutableListOf<String>()
val usedBusinessRegNums = mutableListOf<String>()