Skip to content

Commit 31c5380

Browse files
committed
Merge branch 'develop'
2 parents 3f6dfe4 + 71588be commit 31c5380

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/werp/sero/shipping/command/application/service/GoodsIssueCommandServiceImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,9 @@ public GIAssignManagerResponseDTO assignManager(String giCode, int empId) {
345345
.warehouse(existingGoodsIssue.getWarehouse())
346346
.build();
347347

348-
// 4. 저장
348+
// 4. 저장 및 즉시 DB 반영
349349
goodsIssueRepository.save(updatedGoodsIssue);
350+
goodsIssueRepository.flush(); // MyBatis 조회 전에 JPA 변경사항 DB에 즉시 반영
350351

351352
// 5. PDF 생성 및 S3 업로드 (담당자 배정 후)
352353
try {

0 commit comments

Comments
 (0)