|
|
|
@ -722,8 +722,10 @@ public class CustomerViewService {
|
|
|
|
|
|
|
|
|
|
//查询企业微信已配置联系我的用户
|
|
|
|
|
int i = 0;
|
|
|
|
|
for (OpCustomer customer : customers) {
|
|
|
|
|
List<OpCustomer> opCustomers = customers.subList(132800, customers.size());
|
|
|
|
|
for (OpCustomer customer : opCustomers) {
|
|
|
|
|
i++;
|
|
|
|
|
try{
|
|
|
|
|
String wechatUniId = customer.getWechatUniId();
|
|
|
|
|
if (StringUtils.isBlank(wechatUniId)){
|
|
|
|
|
continue;
|
|
|
|
@ -778,6 +780,9 @@ public class CustomerViewService {
|
|
|
|
|
wrapper1.eq("wechat_uni_id", wechatUniId);
|
|
|
|
|
opCustomerDOMapper.update(opCustomer, wrapper1);
|
|
|
|
|
}
|
|
|
|
|
}catch (Exception e){
|
|
|
|
|
log.error("同步vip出错",e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|