文件上传接口

excel通用导出优化
yun-zuoyi
汪云昊 6 years ago
parent 2b1414814c
commit 2eba4bb745

@ -43,6 +43,14 @@ public class SysFile extends BaseBean {
@ApiParam(value ="文件所属模块") @ApiParam(value ="文件所属模块")
private Integer fileSoftType; private Integer fileSoftType;
public int getFileSoftTypeVal(){
if(fileSoftType == null){
return 0;
}
return fileSoftType.intValue();
}
@Column(name="USER_ID") @Column(name="USER_ID")
@ApiParam(value ="用户ID" , example = "-1") @ApiParam(value ="用户ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@ -83,5 +91,4 @@ public class SysFile extends BaseBean {
@Column(name="DOWNLOAD_NUM") @Column(name="DOWNLOAD_NUM")
@ApiParam(value ="下载次数" , example ="0") @ApiParam(value ="下载次数" , example ="0")
private Integer downloadNum; private Integer downloadNum;
} }

Loading…
Cancel
Save