feature/jp-0331 #526

Closed
jungpyo2001 wants to merge 998 commits from feature/jp-0331 into main
3 changed files with 40 additions and 34 deletions
Showing only changes of commit b00df32722 - Show all commits

View File

@ -219,6 +219,8 @@ public class FileService {
HttpServletRequest request, HttpServletResponse response, FileRequest fileRequest)
throws Exception {
System.out.println("fileRequest>>>" + fileRequest.toString());
// 필수값 체크
if (fileRequest.getObjectNo() == null || fileRequest.getObjectNo().isEmpty()) {
throw new QcastException(
@ -236,6 +238,7 @@ public class FileService {
ErrorCode.NOT_FOUND, message.getMessage(" common.message.file.download.exists"));
}
try {
// 첨부파일 물리적 경로
String strSeparator = File.separator;
String filePath = baseDirPath + strSeparator + fileResponse.getObjectNo();
@ -273,6 +276,9 @@ public class FileService {
ErrorCode.INTERNAL_SERVER_ERROR,
message.getMessage("common.message.file.download.error"));
}
} catch (Exception e) {
e.printStackTrace();
}
}
/**

View File

@ -30,6 +30,6 @@ public class FileRequest {
@Schema(description = "zip 파일 이름")
private String zipFileName;
@Schema(description = "planNo null 체크 Flag (NULL=1, NOT NULL=0)", defaultValue = "1")
private String planNoNullChkFlg = "1";
@Schema(description = "planNo null 체크 Flag (NULL=1, NOT NULL=0)")
private String planNoNullChkFlg;
}

View File

@ -644,7 +644,7 @@
/* sqlid : com.interplug.qcast.biz.object.deleteObject */
UPDATE T_OBJECT
SET
DEL_FLG = '1'
ORG_DEL_FLG = '1'
, TEMP_DEL_FLG = '1'
, LAST_EDIT_DATETIME = GETDATE()
, LAST_EDIT_USER = #{userId}