大屏接口

dev_0531
yechenhao 5 years ago
parent d7516a9a03
commit bda3ac0fac

@ -12,5 +12,5 @@ public class CustomerDistinctDTO {
private String storeCode; private String storeCode;
private String customerName; private String customerName;
private String customerUserId; private String customerUserId;
private Integer count; private Long count;
} }

@ -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());

Loading…
Cancel
Save