|
|
@@ -682,7 +682,7 @@ public class PurchaseManage { |
|
|
|
List<Long> projectIds = CollUtils.fieldList(records, Purchase::getProjectId); |
|
|
|
Wrapper<Project> projectQuery = Wrappers.lambdaQuery(Project.class) |
|
|
|
.select(Project::getId, Project::getProjectCode, Project::getProjectName, Project::getStatus, |
|
|
|
Project::getBuildOrgName, Project::getBuildOrgCode, Project::getUnitStrip) |
|
|
|
Project::getBuildOrgName, Project::getBuildOrgCode, Project::getUnitStrip, Project::getProjectYear) |
|
|
|
.in(Project::getId, projectIds); |
|
|
|
List<Project> projects = projectService.list(projectQuery); |
|
|
|
Map<Long, Project> projectMap = CollUtils.listToMap(projects, Project::getId); |
|
|
|