发布管理接口更新
This commit is contained in:
parent
916a5a1144
commit
396abe435a
|
|
@ -1,5 +1,6 @@
|
|||
package com.electromagnetic.industry.software.manage.pojo.other;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
|
@ -9,6 +10,7 @@ public class UploadRecordDTO {
|
|||
private String id;
|
||||
private String fileName;
|
||||
private Integer saveStatus;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdTime;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ import java.util.List;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class UploadRecordVO {
|
||||
|
||||
private long total;
|
||||
List<UploadRecordDTO> records = new ArrayList<>();
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -858,7 +858,6 @@ public class EdFileInfoServiceImpl extends ServiceImpl<EdFileInfoMapper, EdFileI
|
|||
public ElectromagneticResult<?> uploadRecord(int pageNum, int pageSize) {
|
||||
|
||||
List<String> prjIds = ListUtil.list(false, "100001", "100002"); //TODO 从权限处获取该用户有哪些工程的权限,这里先写静态,方便调试
|
||||
List<EdFileInfo> res = new ArrayList<>();
|
||||
LambdaQueryWrapper<EdFileInfo> lambdaQuery = Wrappers.lambdaQuery(EdFileInfo.class)
|
||||
.select(EdFileInfo::getId, EdFileInfo::getFileName, EdFileInfo::getSaveStatus, EdFileInfo::getCreatedTime)
|
||||
.eq(EdFileInfo::getDataType, EleDataTypeEnum.FILE.code)
|
||||
|
|
|
|||
Loading…
Reference in New Issue