Commit ed7c38b3 by qwmqiuwenmin

fix

parent 72ebac6a
......@@ -507,7 +507,7 @@ public class DepartmentApiServiceImpl implements DepartmentApiService {
// DepartmentDTO parent = EntityUtil.changeEntityByJSON(DepartmentDTO.class,departmentService.selectById(parentId));
// this.addSon(subList, wxEnterpriseId, parent,corpid,suiteid);
logger.info("【同步企业微信】wxEnterpriseId={}","init-enterprise-" + wxEnterpriseId);
String key = "init_enterprise_" + wxEnterpriseId;
String key = "init-enterprise-" + wxEnterpriseId;
if(RedisUtil.getCache(key) != null){
RedisUtil.setCache(key,1, 60 * 60L);
String taskId = StringUtil.randomUUID();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment