报价结构化-异常二次项目物资复制
This commit is contained in:
@ -423,7 +423,7 @@ public class ProjectExceptionServiceImpl extends BaseServiceImpl<ProjectExceptio
|
||||
section.setCreateDate(null);
|
||||
section.setUpdateDate(null);
|
||||
//重新赋值新的项目ID和物资ID
|
||||
List<SectionSupplier> supplierList = sectionSupplierMap.get(section.getId());
|
||||
List<SectionSupplier> supplierList = sectionSupplierMap.get(section.getParentSectionId());
|
||||
if (null != supplierList && !supplierList.isEmpty()) {
|
||||
for (SectionSupplier supplier : supplierList) {
|
||||
supplier.setSectionId(section.getId());
|
||||
@ -435,7 +435,7 @@ public class ProjectExceptionServiceImpl extends BaseServiceImpl<ProjectExceptio
|
||||
}
|
||||
|
||||
//重新赋值新的项目ID和物资ID
|
||||
List<SectionMaterial> materialList = sectionMaterialMap.get(section.getId());
|
||||
List<SectionMaterial> materialList = sectionMaterialMap.get(section.getParentSectionId());
|
||||
if (null != materialList && !materialList.isEmpty()) {
|
||||
for (SectionMaterial material : materialList) {
|
||||
material.setSectionId(section.getId());
|
||||
|
Reference in New Issue
Block a user