处理字段问题
This commit is contained in:
parent
6bf5ca6505
commit
966141e943
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user