Commit edb8e048 by qwmqiuwenmin

fix

parent 958d8c02
......@@ -315,6 +315,12 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
TabHaobanExternalClerkRelated exsitDTO = externalClerkRelatedService.getByParams(wxUserId, wxEnterpriseId,name,createTime);
String key = wxUserId+wxEnterpriseId+name+createTime;
if(exsitDTO == null){
RedisUtil.lock(key,1L);
exsitDTO = externalClerkRelatedService.getByParams(wxUserId, wxEnterpriseId,name,createTime);
RedisUtil.unlock(key);
}
if(exsitDTO == null){
TabHaobanExternalClerkRelated related = new TabHaobanExternalClerkRelated();
related.setAddCreateTime(createTime);
......
......@@ -69,7 +69,8 @@ public class GlobalExceptionHandler extends WebBaseController {
}
// 输出详细错误信息,便于调试
return resultResponse(errCode, null, sb.toString());
// return resultResponse(errCode, null, sb.toString());
return resultResponse(HaoBanErrCode.ERR_3);
}
......
......@@ -76,7 +76,8 @@ public class GlobalExceptionHandler extends WebBaseController {
}
// 输出详细错误信息,便于调试
return resultResponse(errCode, null, sb.toString());
// return resultResponse(errCode, null, sb.toString());
return resultResponse(HaoBanErrCode.ERR_3);
}
......
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