Skip to content

Commit 0d05c90

Browse files
authored
Merge pull request #369 from mosu-dev/develop
prod : 쿼리 내에 오타 수정 (payment)
2 parents dbe310b + ffbc3b7 commit 0d05c90

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ out/
3737
### VS Code ###
3838
.vscode/
3939

40+
### Mac OS ###
41+
.DS_Store
42+
4043
docker-compose/.env
4144
docker-compose/.env.local
4245
docker-compose/.env.prod

src/main/java/life/mosu/mosuserver/infra/persistence/jpa/PaymentJpaRepositoryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void batchDeleteAllWithExamApplications(List<PaymentJpaEntity> entities)
2525
.map(PaymentJpaEntity::getId)
2626
.toList();
2727

28-
String sql = "DELETE FROM payment WHERE id IN (:ids)";
28+
String sql = "DELETE FROM payment WHERE payment_id IN (:ids)";
2929
namedParameterJdbcTemplate.update(sql, new MapSqlParameterSource("ids", ids));
3030
}
3131
}

0 commit comments

Comments
 (0)