|
|
@@ -88,7 +88,6 @@ public class FileUtil {
|
|
|
public static Boolean fileUp(Statement statement, MultipartFile file, String sob){
|
|
|
boolean result = false;
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
- String path = saveFile(file, "FTP");
|
|
|
String filename = file.getOriginalFilename().replaceAll(",", ",");
|
|
|
String originalFilename = file.getOriginalFilename();
|
|
|
int size = (int) file.getSize();
|
|
|
@@ -98,6 +97,7 @@ public class FileUtil {
|
|
|
while (set.next()){
|
|
|
int count = set.getInt(1);
|
|
|
if (count==0){
|
|
|
+ String path = saveFile(file, "FTP");
|
|
|
ResultSet resultSet = statement.executeQuery("select " + sob + ".EMAILFILEPATH.nextval from dual");
|
|
|
if (resultSet.next()) {
|
|
|
int id = resultSet.getInt(1);
|