Browse Source

添加附件ID,并隐藏

dev_shibei_match
zxc 5 years ago
parent
commit
d2957c3d9b
  1. 6
      epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/result/PublicAndInternalFileResultDTO.java
  2. 1
      epmet-module/gov-project/gov-project-server/src/main/resources/mapper/ProjectProcessAttachmentDao.xml

6
epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/result/PublicAndInternalFileResultDTO.java

@ -44,6 +44,12 @@ public class PublicAndInternalFileResultDTO implements Serializable {
*/
private Integer duration;
/**
* 附件ID
*/
@JsonIgnore
private String attachmentId;
@JsonIgnore
private String processId;

1
epmet-module/gov-project/gov-project-server/src/main/resources/mapper/ProjectProcessAttachmentDao.xml

@ -6,6 +6,7 @@
<!-- 根据项目ID查询附件 -->
<select id="selectAttachByProjectId" resultType="com.epmet.dto.result.PublicAndInternalFileResultDTO">
SELECT
ID AS attachmentId,
FILE_NAME AS name,
ATTACHMENT_URL AS url,
ATTACHMENT_TYPE AS type,

Loading…
Cancel
Save