Index: web-module/src/main/java/egovframework/api/arms/module_filerepository/model/FileRepositoryDTO.java =================================================================== diff -u -r3694e9d898855952691463ee8c08b1d9fd776be2 -rb739d89bcd3300b6a61d1d7d3acffbc057caa1e2 --- web-module/src/main/java/egovframework/api/arms/module_filerepository/model/FileRepositoryDTO.java (.../FileRepositoryDTO.java) (revision 3694e9d898855952691463ee8c08b1d9fd776be2) +++ web-module/src/main/java/egovframework/api/arms/module_filerepository/model/FileRepositoryDTO.java (.../FileRepositoryDTO.java) (revision b739d89bcd3300b6a61d1d7d3acffbc057caa1e2) @@ -39,39 +39,20 @@ } //@Getter @Setter - @Column(name="C_FILE_ID_LINK") + //필드명과 컬럼명이 다를 경우는 하기와 같이 처리. private Long fileIdLink; - - @Column(name="C_FILE_NAME") private String fileName; - - @Column(name="C_CONTENT_TYPE") private String contentType; - - @Column(name="C_SERVER_SUB_PATH") private String serverSubPath; - - @Column(name="C_PHYSICAL_NAME") private String physicalName; - - @Column(name="C_SIZE") private Long size; - - @Column(name="C_NAME") private String name; - - @Column(name="C_URL") private String url; - - @Column(name="C_THUMBNAIL_URL") private String thumbnailUrl; - - @Column(name="C_DELETE_URL") private String delete_url; - - @Column(name="C_DELETE_TYPE") private String delete_type; + @Column(name="C_FILE_ID_LINK") public Long getFileIdLink() { return fileIdLink; } @@ -80,6 +61,8 @@ this.fileIdLink = fileIdLink; } + + @Column(name="C_FILE_NAME") public String getFileName() { return fileName; } @@ -88,6 +71,7 @@ this.fileName = fileName; } + @Column(name="C_CONTENT_TYPE") public String getContentType() { return contentType; } @@ -96,6 +80,7 @@ this.contentType = contentType; } + @Column(name="C_SERVER_SUB_PATH") public String getServerSubPath() { return serverSubPath; } @@ -104,6 +89,7 @@ this.serverSubPath = serverSubPath; } + @Column(name="C_PHYSICAL_NAME") public String getPhysicalName() { return physicalName; } @@ -112,6 +98,7 @@ this.physicalName = physicalName; } + @Column(name="C_SIZE") public Long getSize() { return size; } @@ -120,6 +107,7 @@ this.size = size; } + @Column(name="C_NAME") public String getName() { return name; } @@ -128,6 +116,7 @@ this.name = name; } + @Column(name="C_URL") public String getUrl() { return url; } @@ -136,6 +125,7 @@ this.url = url; } + @Column(name="C_THUMBNAIL_URL") public String getThumbnailUrl() { return thumbnailUrl; } @@ -144,6 +134,7 @@ this.thumbnailUrl = thumbnailUrl; } + @Column(name="C_DELETE_URL") public String getDelete_url() { return delete_url; } @@ -152,6 +143,7 @@ this.delete_url = delete_url; } + @Column(name="C_DELETE_TYPE") public String getDelete_type() { return delete_type; } Index: web-module/src/main/java/egovframework/api/arms/module_pdservice/controller/UserPdServiceController.java =================================================================== diff -u -r3694e9d898855952691463ee8c08b1d9fd776be2 -rb739d89bcd3300b6a61d1d7d3acffbc057caa1e2 --- web-module/src/main/java/egovframework/api/arms/module_pdservice/controller/UserPdServiceController.java (.../UserPdServiceController.java) (revision 3694e9d898855952691463ee8c08b1d9fd776be2) +++ web-module/src/main/java/egovframework/api/arms/module_pdservice/controller/UserPdServiceController.java (.../UserPdServiceController.java) (revision b739d89bcd3300b6a61d1d7d3acffbc057caa1e2) @@ -193,7 +193,7 @@ fileRepositoryDTO.setDelete_type(egovFormBasedFileVo.getDelete_type()); fileRepositoryDTO.setFileIdLink(fileIdLink); - fileRepositoryDTO.setRef(new Long(1)); + fileRepositoryDTO.setRef(new Long(2)); fileRepositoryDTO.setC_title("pdService"); fileRepositoryDTO.setC_type("default");