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

合同签署2

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