소스 검색

获取全量列表,获取数据详情,更新客户列表

openHj 1 년 전
부모
커밋
1098a25e92
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      hx-customer/src/main/java/com/fjhx/customer/handle/HandleXiaomanData.java

+ 2 - 2
hx-customer/src/main/java/com/fjhx/customer/handle/HandleXiaomanData.java

@@ -98,7 +98,7 @@ public class HandleXiaomanData {
             XiaomanConfig config = xiaomanConfigService.getConfig();
             String token = config.getAccessToken();
             List<XiaomanCustomerVo> list = xiaomanCustomerService.getList(new XiaomanCustomerSelectDto());
-            Set<Long> collect = list.stream().map(XiaomanCustomerVo::getCustomerId).collect(Collectors.toSet());
+            Set<Long> collect = list.stream().map(XiaomanCustomerVo::getCompanyId).collect(Collectors.toSet());
             int pageIndex = 1;
             int totalPage;
             do {
@@ -145,7 +145,7 @@ public class HandleXiaomanData {
             XiaomanConfig config = xiaomanConfigService.getConfig();
             String token = config.getAccessToken();
             List<XiaomanCustomerVo> list = xiaomanCustomerService.getList(new XiaomanCustomerSelectDto());
-            Set<Long> collect = list.stream().map(XiaomanCustomerVo::getCustomerId).collect(Collectors.toSet());
+            Set<Long> collect = list.stream().map(XiaomanCustomerVo::getCompanyId).collect(Collectors.toSet());
             int pageIndex = 1;
             int totalPage;
             do {