自动填充信息Bug 修复

yun-zuoyi
wei.peng 7 years ago
parent ada91e5947
commit 5dbf1bb2e8

@ -687,7 +687,7 @@ public class ImppEnumUtil {
* 1.SYSTEM * 1.SYSTEM
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MESSAGE_CONTENT_TYPE{ public enum MESSAGE_TYPE_CONTENT {
HTML(1,"HTML","text/plain;charset=UTF-8"), HTML(1,"HTML","text/plain;charset=UTF-8"),
TEXT(2,"TEXT","text/plain;charset=UTF-8"); TEXT(2,"TEXT","text/plain;charset=UTF-8");
@ -696,10 +696,10 @@ public class ImppEnumUtil {
private String name; private String name;
private String description; private String description;
MESSAGE_CONTENT_TYPE() { MESSAGE_TYPE_CONTENT() {
} }
MESSAGE_CONTENT_TYPE(int value, String name, String description) { MESSAGE_TYPE_CONTENT(int value, String name, String description) {
this.value = value; this.value = value;
this.name = name; this.name = name;
this.description = description; this.description = description;

@ -72,8 +72,8 @@ public class SysFile extends BaseBean {
@ApiParam(value ="文件大小(KB)" , example ="0") @ApiParam(value ="文件大小(KB)" , example ="0")
private Integer fileSize; private Integer fileSize;
@Column(name="DOWNLOADS") @Column(name="DOWNLOAD_NUM")
@ApiParam(value ="下载次数" , example ="0") @ApiParam(value ="下载次数" , example ="0")
private Integer downloads; private Integer downloadNum;
} }

@ -38,8 +38,8 @@ public class SysMessage extends BaseBean {
@ApiParam(value ="消息类型(枚举ImppEnumUtil.MESSAGE_TYPE)" , example ="-1") @ApiParam(value ="消息类型(枚举ImppEnumUtil.MESSAGE_TYPE)" , example ="-1")
private Integer messageType; private Integer messageType;
@Column(name="MESSAGE_CONTENT_TYPE") @Column(name="MESSAGE_TYPE_CONTENT")
@ApiParam(value ="消息内容类型(枚举ImppEnumUtil.MESSAGE_CONTENT_TYPE)" , example ="-1") @ApiParam(value ="消息内容类型(枚举ImppEnumUtil.MESSAGE_TYPE_CONTENT)" , example ="-1")
private Integer messageContentType; private Integer messageContentType;
@Column(name="MESSAGE_CONTENT") @Column(name="MESSAGE_CONTENT")

Loading…
Cancel
Save