중복파일경고메세지수정

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();
if (tfwCnt > 0 || tifCnt > 0) {
String tfwMsg = "";
String tifMsg = "";
if (tfwCnt > 0) tfwMsg = tfwFile.getOriginalFilename();
if (tifCnt > 0) tifMsg = tifFile.getOriginalFilename();
return new DmlReturn("duplicate", tfwMsg + "," + tifMsg);
String tfwtifMsg = "";
if (tfwCnt > 0) tfwtifMsg = tfwFile.getOriginalFilename();
if (tifCnt > 0) {
if( tfwCnt > 0 )tfwtifMsg = ","+tifFile.getOriginalFilename();
else tfwtifMsg = tifFile.getOriginalFilename();
}
return new DmlReturn("duplicate", tfwtifMsg);
}
File directory = new File(tmpPath);