Skip to content

Commit

Permalink
분기 별 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
gkfktkrh153 committed Aug 14, 2024
1 parent 3b255f7 commit b0d1f9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public List<Population> findFloatingPopulationTransition(String code) {
.innerJoin(population.town, town).fetchJoin()
.where(population.populationType.eq(PopulationType.FloatingPopulation)
.and(town.quarter.in(20241, 20234, 20233, 20232, 20231)))
.orderBy(population.town.quarter.desc(), population.totalPopulation.desc())
.orderBy(population.town.quarter.asc(), population.totalPopulation.desc())
.fetch();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public List<SalesForTransitionData> findSalesForTransitionData() {
town.quarter.in(20241L, 20234L, 20233L, 20232L, 20231L)
)
.groupBy(town.name, town.quarter, town.code)
.orderBy(town.quarter.desc(), sales.currentMonthlySales.sum().desc())
.orderBy(town.quarter.asc(), sales.currentMonthlySales.sum().desc())
.fetch();

}
Expand Down Expand Up @@ -293,7 +293,7 @@ public List<SalesForTransitionData> findSalesByIndustryForTransitionData(String
industry.name.eq(industryName),
town.quarter.in(20241L, 20234L, 20233L, 20232L, 20231L)
)
.orderBy(town.quarter.desc(), sales.currentMonthlySales.desc())
.orderBy(town.quarter.asc(), sales.currentMonthlySales.desc())
.fetch();


Expand Down

0 comments on commit b0d1f9a

Please sign in to comment.