diff --git a/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java b/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java index 5509381..fe30606 100644 --- a/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java +++ b/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java @@ -722,8 +722,7 @@ public class CustomerViewService { //查询企业微信已配置联系我的用户 int i = 0; - List opCustomers = customers.subList(132800, customers.size()); - for (OpCustomer customer : opCustomers) { + for (OpCustomer customer : customers) { i++; try{ String wechatUniId = customer.getWechatUniId(); @@ -738,7 +737,7 @@ public class CustomerViewService { if (StringUtils.isBlank(message)){ continue; } - System.out.println(i+"/"+opCustomers.size()+"------"+message); + System.out.println(i+"/"+customers.size()+"------"+message); JSONObject vipJson = JSONObject.parseObject(message); BsdVipResponse bsdResponse = vipJson.toJavaObject(BsdVipResponse.class); if (bsdResponse.getSuccess() && bsdResponse.getData() != null){ diff --git a/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml b/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml index 32fd4f4..a43bf2b 100644 --- a/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml +++ b/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml @@ -212,7 +212,7 @@ and t1.store_id = #{storeId} - t1.user_id = #{userId} and t1.type = 3 and t1.store_id = 0 + and t1.user_id = #{userId} and t1.type = 3 and t1.store_id = 0 limit 1