Explorar el Código

[招商][客户信息]导入

release_toaliyun_real
Burce hace 6 años
padre
commit
727ba710fb
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java

+ 3
- 0
mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java Ver fichero

@@ -380,6 +380,9 @@ public class InvestBizServiceImpl implements InvestBizService {
toImportCustomer.getCustomer().setId(customerMap.get(customer.getPhone()).getId()); toImportCustomer.getCustomer().setId(customerMap.get(customer.getPhone()).getId());
updateCustomerAndDemand(toImportCustomer); updateCustomerAndDemand(toImportCustomer);
} }
//记数
stringRedisTemplate.opsForHash().increment(importKey,"processCount",1);
stringRedisTemplate.expire(importKey,10, TimeUnit.SECONDS);
}); });
} catch (Exception e) { } catch (Exception e) {
setRedisValue(importKey, "1", "0", "0", "1", true); setRedisValue(importKey, "1", "0", "0", "1", true);


Cargando…
Cancelar
Guardar