This commit is contained in:
parent
3744403e1e
commit
d995f4962a
@ -288,7 +288,7 @@ public class ApplyFormController {
|
|||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
List<Material> result = materialService.listByIds(materialIds);
|
List<Material> result = materialService.listByIds(materialIds);
|
||||||
result.forEach(item -> item.setTypeName(typeService.getTypeName(item.getType())));
|
result.stream().filter(i -> !i.getAssignRule()).forEach(item -> item.setTypeName(typeService.getTypeName(item.getType())));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user