处理字段问题

This commit is contained in:
WenG 2020-11-18 21:31:20 +08:00
parent 6bf5ca6505
commit 966141e943

View File

@ -22,7 +22,7 @@ public class FileDTO {
@ApiModelProperty(name = "fileType", value = "文件类型")
private String fileType;
@ApiModelProperty(name = "fileSize", value = "文件大小")
private String fileSize;
private Long fileSize;
public String getFileId() {
return fileId == null ? "" : fileId.trim();
@ -56,11 +56,11 @@ public class FileDTO {
this.fileType = fileType;
}
public String getFileSize() {
return fileSize == null ? "" : fileSize.trim();
public Long getFileSize() {
return fileSize;
}
public void setFileSize(String fileSize) {
public void setFileSize(Long fileSize) {
this.fileSize = fileSize;
}