Procházet zdrojové kódy

采购 debug

master
PoffyZhang před 1 rokem
rodič
revize
3f7e6655c2
2 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ProjectAdjustmentManage.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ProjectAdjustmentManage.java Zobrazit soubor

@@ -128,6 +128,8 @@ public class ProjectAdjustmentManage {
ProjectApplication projectApplication = new ProjectApplication();
BeanUtils.copyProperties(application, projectApplication);
projectApplication.setProjectId(project.getId());
projectApplication.setProjectCode(project.getProjectCode());
projectApplication.setProjectVersion(project.getVersion());
return projectApplication;
}).collect(Collectors.toList());
projectApplicationService.saveBatch(applications);


+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java Zobrazit soubor

@@ -1146,6 +1146,7 @@ public class TodoCenterManage {
projectApplication.setId(null);
projectApplication.setProjectId(project.getId());
projectApplication.setProjectCode(project.getProjectCode());
projectApplication.setProjectVersion(project.getVersion());
if (!InstTypeEnum.UNIT_INNER_AUDIT.getCode().equals(instType) &&
!InstTypeEnum.PRELIMINARY_PREVIEW.getCode().equals(instType) &&
!InstTypeEnum.DEPT_UNITED_REVIEW.getCode().equals(instType)) {


Načítá se…
Zrušit
Uložit