Przeglądaj źródła

项目列表导出

tags/24080901
CMM 1 rok temu
rodzic
commit
026ce0fac7
2 zmienionych plików z 2 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 -> {


Ładowanie…
Anuluj
Zapisz