261013_01_HOT: 리스트 업로드 매 청크마다 헤더를 수정하는 로직오류 수정
This commit is contained in:
@@ -38,7 +38,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "com.kri.common:starter:beta.1.6.8"
|
implementation "com.kri.common:starter:beta.1.6.9"
|
||||||
|
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||||
|
|||||||
@@ -270,6 +270,10 @@ public class ListUploadService {
|
|||||||
return buildErrorResponse(validation.totalCount(), validation.errors(), listFilePath);
|
return buildErrorResponse(validation.totalCount(), validation.errors(), listFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (existingCommon.isEmpty()) {
|
||||||
|
listHeaderService.upsertHeader(prjctIdx, resolvedHeaders, uploadUser, uploadDt);
|
||||||
|
}
|
||||||
|
|
||||||
persistUpload(
|
persistUpload(
|
||||||
prjctIdx,
|
prjctIdx,
|
||||||
listFilePath,
|
listFilePath,
|
||||||
@@ -418,8 +422,6 @@ public class ListUploadService {
|
|||||||
String uploadUser,
|
String uploadUser,
|
||||||
LocalDateTime uploadDt
|
LocalDateTime uploadDt
|
||||||
) {
|
) {
|
||||||
listHeaderService.upsertHeader(prjctIdx, resolvedHeaders, uploadUser, uploadDt);
|
|
||||||
|
|
||||||
if (request.getUploadMode() == ListUploadMode.RESET_AND_INSERT) {
|
if (request.getUploadMode() == ListUploadMode.RESET_AND_INSERT) {
|
||||||
listResetService.resetByFilter(
|
listResetService.resetByFilter(
|
||||||
prjctIdx,
|
prjctIdx,
|
||||||
|
|||||||
Reference in New Issue
Block a user