|
|
@@ -94,7 +94,7 @@ public class FileUtil {
|
|
|
int size = (int) file.getSize();
|
|
|
if(size>0) {
|
|
|
try {
|
|
|
- ResultSet set = statement.executeQuery("select count(1) from " + sob + ".FTPATTCHTEMP where FT_FILENAME='" + filename + "'");
|
|
|
+ ResultSet set = statement.executeQuery("select count(1) from " + sob + ".FTPATTCHTEMP where FT_FILENAME='" + filename + "' and FT_SOB='"+sob+"'");
|
|
|
while (set.next()){
|
|
|
int count = set.getInt(1);
|
|
|
if (count==0){
|