Skip to content

Commit

Permalink
Merge branch 'feat/convert_to_querydsl' into dev-check
Browse files Browse the repository at this point in the history
  • Loading branch information
nohy6630 committed Mar 15, 2024
2 parents 64feb7d + 10c62e1 commit 1ceb460
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class DisasterRepositoryCustomImpl implements DisasterRepositoryCustom {
@Override
public List<Disaster> findDisastersInAddressAfterTime(String address, LocalDateTime time) {
BooleanExpression condition = stringTemplate("{0}", Expressions.constant(address))
.like(stringTemplate("concat({1}, '%')", disaster.location));
.like(stringTemplate("concat({0}, '%')", disaster.location));

return queryFactory
.select(disaster)
Expand Down

0 comments on commit 1ceb460

Please sign in to comment.