Skip to content

Commit

Permalink
refactor: 개행 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yoondgu committed Nov 1, 2023
1 parent 0073ed2 commit a57a16c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public PinBatchRepositoryCustomImpl(JdbcTemplate jdbcTemplate) {

public int[] saveAllToTopic(Topic topicForCopy, List<Pin> originalPins) {
int[] rowCount = batchUpdatePins(topicForCopy, originalPins);

Long firstIdFromBatch = jdbcTemplate.queryForObject("SELECT last_insert_id()", Long.class);
validateId(firstIdFromBatch);
List<PinImageInsertDto> pinImageInsertDtos = createPinImageDTOsToBatch(originalPins, rowCount,
Expand Down

0 comments on commit a57a16c

Please sign in to comment.