중복파일경고메세지수정
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user