Commit 12834f7b authored by 唐峰's avatar 唐峰

合同签署2

parent 8b97a22d
......@@ -66,7 +66,7 @@ public class BlackHoleRegisteredEventListener implements ApplicationListener<Reg
String redisKey = String.format(RedisKeyConstant.USER_REGISTER_LOGIN_CONTRACT, user.getId(), templateId);
String redisValue = redisTemplate.opsForValue().get(redisKey);
if (org.apache.commons.lang3.StringUtils.isEmpty(redisValue)) {
if (org.apache.commons.lang3.StringUtils.isNotEmpty(redisValue)) {
return;
}
......
......@@ -576,7 +576,7 @@ public class UserServiceImpl implements IUserService, IBaseController {
templates.forEach(templateId -> {
String redisKey = String.format(RedisKeyConstant.USER_REGISTER_LOGIN_CONTRACT, user.getId(), templateId);
String redisValue = stringRedisTemplate.opsForValue().get(redisKey);
if (org.apache.commons.lang3.StringUtils.isEmpty(redisValue)) {
if (org.apache.commons.lang3.StringUtils.isNotEmpty(redisValue)) {
return;
}
ContractRecordReq contractRecordReq = new ContractRecordReq();
......
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