Browse Source

党建声音-内容添加Pdf字段

dev_shibei_match
jianjun 4 years ago
parent
commit
e110eda305
  1. 7
      epmet-module/gov-voice/gov-voice-client/src/main/java/com/epmet/dto/result/DraftContentDetailDTO.java
  2. 3
      epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/DraftDao.xml

7
epmet-module/gov-voice/gov-voice-client/src/main/java/com/epmet/dto/result/DraftContentDetailDTO.java

@ -24,10 +24,15 @@ public class DraftContentDetailDTO implements Serializable {
private String content; private String content;
/** /**
* 内容类型 图片img文字text * 内容类型 图片img文字text文件file
*/ */
private String contentType; private String contentType;
/**
* 文件名称
*/
private String fileName;
/** /**
* 内容序号 * 内容序号
*/ */

3
epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/DraftDao.xml

@ -28,6 +28,7 @@
dc.ID, dc.ID,
dc.CONTENT, dc.CONTENT,
dc.CONTENT_TYPE, dc.CONTENT_TYPE,
dc.FILE_NAME,
dc.ORDER_NUM, dc.ORDER_NUM,
(case (case
when dc.AUDIT_STATUS is null then "" when dc.AUDIT_STATUS is null then ""
@ -190,4 +191,4 @@
</set> </set>
where id=#{draftId,jdbcType=VARCHAR} where id=#{draftId,jdbcType=VARCHAR}
</update> </update>
</mapper> </mapper>

Loading…
Cancel
Save