Commit d3406d0d by xugaojun

鸿星尔克定制需求匹配条件修改、企业列表判断条件修改

parent d73a9950
......@@ -150,11 +150,13 @@ public class EnterpriseController extends WebBaseController {
return;
}
list.forEach(one -> {
String wxEnterpriseId = one.getWxEnterpriseId();
String key = String.format(MEMBER_RELATE_ENT_OPE_KEY, wxEnterpriseId);
Object cache = RedisUtil.getCache(key);
if (Objects.nonNull(cache)) {
one.setOpenMassFlag(Boolean.FALSE);
if (one.getOpenMassFlag()) {
String wxEnterpriseId = one.getWxEnterpriseId();
String key = String.format(MEMBER_RELATE_ENT_OPE_KEY, wxEnterpriseId);
Object cache = RedisUtil.getCache(key);
if (Objects.nonNull(cache)) {
one.setOpenMassFlag(Boolean.FALSE);
}
}
});
}
......
......@@ -189,10 +189,7 @@ public class MessageApiServiceImpl implements MessageApiService {
return false;
}
String userid = dto.getUserid();
// 当前规则 userId是12位并且以5开头
if (userid.length() != 12) {
return false;
}
// 只处理5开头的-不是5开头不同步
return userid.startsWith("5");
}
......
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