大屏接口

dev_0531
yechenhao 6 years ago
parent 997ed3c736
commit 617ddfae11

@ -722,8 +722,7 @@ public class CustomerViewService {
//查询企业微信已配置联系我的用户 //查询企业微信已配置联系我的用户
int i = 0; int i = 0;
List<OpCustomer> opCustomers = customers.subList(132800, customers.size()); for (OpCustomer customer : customers) {
for (OpCustomer customer : opCustomers) {
i++; i++;
try{ try{
String wechatUniId = customer.getWechatUniId(); String wechatUniId = customer.getWechatUniId();
@ -738,7 +737,7 @@ public class CustomerViewService {
if (StringUtils.isBlank(message)){ if (StringUtils.isBlank(message)){
continue; continue;
} }
System.out.println(i+"/"+opCustomers.size()+"------"+message); System.out.println(i+"/"+customers.size()+"------"+message);
JSONObject vipJson = JSONObject.parseObject(message); JSONObject vipJson = JSONObject.parseObject(message);
BsdVipResponse bsdResponse = vipJson.toJavaObject(BsdVipResponse.class); BsdVipResponse bsdResponse = vipJson.toJavaObject(BsdVipResponse.class);
if (bsdResponse.getSuccess() && bsdResponse.getData() != null){ if (bsdResponse.getSuccess() && bsdResponse.getData() != null){

@ -212,7 +212,7 @@
and t1.store_id = #{storeId} and t1.store_id = #{storeId}
</when> </when>
<otherwise> <otherwise>
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
</otherwise> </otherwise>
</choose> </choose>
limit 1 limit 1

Loading…
Cancel
Save