|
@@ -496,7 +496,7 @@ public class ProjectApplicationService extends BaseService<ProjectApplication> {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
//删除原有材料
|
|
//删除原有材料
|
|
|
- List<ProjectMaterial> materials = projectMaterialService.findByContentAndApplyId(apply.getId());
|
|
|
|
|
|
|
+ List<ProjectMaterial> materials = projectMaterialService.findByContentAndApplyId(null,apply.getId());
|
|
|
for (ProjectMaterial material : materials) {
|
|
for (ProjectMaterial material : materials) {
|
|
|
attachmentService.deleteByBusiness(Constant.Attachment.PROJECT, material.getId());
|
|
attachmentService.deleteByBusiness(Constant.Attachment.PROJECT, material.getId());
|
|
|
}
|
|
}
|