dev_0531
郑皇 5 years ago
parent cbc884e533
commit 872d31b31b

@ -151,7 +151,7 @@ public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMap
List<PmnPromotionSrc> staffSrcs = pmnPromotionSrcService.list(Wrappers.<PmnPromotionSrc>lambdaQuery().in(PmnPromotionSrc::getPromoterId, userIds).eq(PmnPromotionSrc::getType, 1).select(PmnPromotionSrc::getPromoterId).eq(PmnPromotionSrc::getInstanceId, src.getInstanceId()));
List<Long> staffSrcUsers = staffSrcs.stream().map(PmnPromotionSrc::getPromoterId).collect(Collectors.toList());
List<PoiStoreStaff> storeStaffs;
if(userIds.size() > 0) {
if(staffSrcUsers.size() > 0) {
storeStaffs = poiStoreStaffDOMapper.selectBatchIds(staffSrcUsers);
vo.setStoreStaffs(storeStaffs);
}

Loading…
Cancel
Save