Commit 8dbc3148 by xiehongfei

fix: 修正店长/店员 任务列表头像

parent 4c73333c
......@@ -202,7 +202,7 @@ public class CanvasDataController {
if (CollectionUtils.isNotEmpty(staffClerkRelationDTOS)) {
Map<String, String> clerkIdMapHeadImage = staffClerkRelationDTOS.stream()
.filter(e -> StringUtils.isNotBlank(e.getStaffHeadImg()))
.collect(Collectors.toMap(e -> e.getClerkId(), e -> e.getStaffHeadImg()));
.collect(Collectors.toMap(StaffClerkRelationDTO::getClerkId, StaffClerkRelationDTO::getStaffHeadImg, (v1, v2) -> v1));
for (CanvasStoreTaskVO vo : list) {
vo.setClerkImageUrl(clerkIdMapHeadImage.get(vo.getClerkId()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment