|
|
@ -619,7 +619,7 @@ public class StorePromotionDataService {
|
|
|
|
OpCustomer customer = opCustomerDOMapper.selectById((Serializable) customerId.get("customerId"));
|
|
|
|
OpCustomer customer = opCustomerDOMapper.selectById((Serializable) customerId.get("customerId"));
|
|
|
|
opSellerCustomerRelations.forEach(opSellerCustomerRelation -> {
|
|
|
|
opSellerCustomerRelations.forEach(opSellerCustomerRelation -> {
|
|
|
|
CustomerDistinctDTO customerDistinctDTO = new CustomerDistinctDTO();
|
|
|
|
CustomerDistinctDTO customerDistinctDTO = new CustomerDistinctDTO();
|
|
|
|
customerDistinctDTO.setCount((Integer) customerId.get("count"));
|
|
|
|
customerDistinctDTO.setCount((Long) customerId.get("count"));
|
|
|
|
PoiStore poiStore = poiStoreDOMapper.selectById(opSellerCustomerRelation.getStoreId());
|
|
|
|
PoiStore poiStore = poiStoreDOMapper.selectById(opSellerCustomerRelation.getStoreId());
|
|
|
|
customerDistinctDTO.setStoreName(poiStore.getName());
|
|
|
|
customerDistinctDTO.setStoreName(poiStore.getName());
|
|
|
|
customerDistinctDTO.setStoreCode(poiStore.getCode());
|
|
|
|
customerDistinctDTO.setStoreCode(poiStore.getCode());
|
|
|
|