중복파일경고메세지수정

This commit is contained in:
Moon
2025-12-19 14:00:58 +09:00
parent c620ca9dc3
commit 898ad926d0

View File

@@ -135,11 +135,13 @@ public class MapSheetMngService {
.count(); .count();
if (tfwCnt > 0 || tifCnt > 0) { if (tfwCnt > 0 || tifCnt > 0) {
String tfwMsg = ""; String tfwtifMsg = "";
String tifMsg = ""; if (tfwCnt > 0) tfwtifMsg = tfwFile.getOriginalFilename();
if (tfwCnt > 0) tfwMsg = tfwFile.getOriginalFilename(); if (tifCnt > 0) {
if (tifCnt > 0) tifMsg = tifFile.getOriginalFilename(); if( tfwCnt > 0 )tfwtifMsg = ","+tifFile.getOriginalFilename();
return new DmlReturn("duplicate", tfwMsg + "," + tifMsg); else tfwtifMsg = tifFile.getOriginalFilename();
}
return new DmlReturn("duplicate", tfwtifMsg);
} }
File directory = new File(tmpPath); File directory = new File(tmpPath);