Merge branch 'dev' into deploy-dev-front

This commit is contained in:
주수현
2025-07-16 14:05:54 +09:00
3 changed files with 5 additions and 5 deletions

View File

@@ -39,11 +39,11 @@ public class DailyRecordConstants {
* 일계부 등록 가능 일 * 일계부 등록 가능 일
* [정책] 15일전까지 데이터 등록 가능 * [정책] 15일전까지 데이터 등록 가능
*/ */
public static final int REGISTER_LIMIT_DAY = 15; public static final int REGISTER_LIMIT_DAY = 30;
/** /**
* 일계부 수정 가능 일 * 일계부 수정 가능 일
* [정책] 15일전까지 데이터 수정 가능 * [정책] 15일전까지 데이터 수정 가능
*/ */
public static final int MODIFIY_LIMIT_DAY = 15; public static final int MODIFIY_LIMIT_DAY = 30;
} }

View File

@@ -116,12 +116,12 @@ class GetAttachmentController {
sftpFileDownloader.downloadFile(getFile); sftpFileDownloader.downloadFile(getFile);
} catch (JSchException | SftpException | IOException e) { } catch (JSchException | SftpException | IOException e) {
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR) return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
.body("SFTP 파일 다운로드에 실패했습니다: " + e.getMessage()); .body("SFTP 파일 다운로드에 실패했습니다 " + e.getMessage());
} }
File downloadedFile = new File(getFile.getLocalPath()); File downloadedFile = new File(getFile.getLocalPath());
if (!downloadedFile.exists()) { if (!downloadedFile.exists()) {
return ResponseEntity.status(HttpStatus.NOT_FOUND) return ResponseEntity.status(HttpStatus.NOT_FOUND)
.body("다운로드된 파일을 찾을 수 없습니다: " + getFile.getLocalPath()); .body("다운로드된 파일을 찾을 수 없습니다 " + getFile.getLocalPath());
} }
return ResponseEntity.ok() return ResponseEntity.ok()

View File

@@ -124,7 +124,7 @@ root: /*[[|#{uri.front.info.user.path}/password|]]*/'rootUrl',
}) })
.catch(error => { .catch(error => {
console.error('Download error:', error); console.error('Download error:', error);
ajaxUtil._alert('파일 다운로드에 실패했습니다: ', null); ajaxUtil._alert('파일 다운로드에 실패했습니다. ', null);
}); });
}, },