浏览代码

项目列表导出

tags/24080901
CMM 1年前
父节点
当前提交
026ce0fac7
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/statemachine/builder/ProjectDeclareStateMachineBuilder.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/statemachine/builder/ProjectDeclareStateMachineBuilder.java 查看文件

@@ -259,7 +259,7 @@ public class ProjectDeclareStateMachineBuilder {

@Override
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) {
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValueByCode(contextObj.getProjectStatusSecond()),
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValueByCode(contextObj.getStatus()),
null, null, null, null, MACHINEID_TO);
return result;
}


+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java 查看文件

@@ -254,6 +254,7 @@ public class TodoCenterManage {
List<List<List<String>>> sheets = new ArrayList<>();
ExportOption exportOption = param.getExportOption();


excelExportWriter.setHeads(sheets);

List<ExcelExportDTO> data = records.stream().map(r -> {


正在加载...
取消
保存