1.优化
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -110,7 +110,7 @@ public class MemberProfileServiceImpl implements MemberProfileService { | ... | @@ -110,7 +110,7 @@ public class MemberProfileServiceImpl implements MemberProfileService { |
110 | public MemberProfileDTO update(MemberProfile resources) { | 110 | public MemberProfileDTO update(MemberProfile resources) { |
111 | 111 | ||
112 | log.info("MemberProfileServiceImpl ==>> update ==>> resources ===>> [{}]",resources); | 112 | log.info("MemberProfileServiceImpl ==>> update ==>> resources ===>> [{}]",resources); |
113 | this.redisUtils.doLock("memberProfile::memberId::" + resources.getMemberId()); | 113 | // this.redisUtils.doLock("memberProfile::memberId::" + resources.getMemberId()); |
114 | try { | 114 | try { |
115 | 115 | ||
116 | MemberProfileDTO _memberProfileDTO1 = this.findById(resources.getId()); | 116 | MemberProfileDTO _memberProfileDTO1 = this.findById(resources.getId()); |
... | @@ -136,7 +136,7 @@ public class MemberProfileServiceImpl implements MemberProfileService { | ... | @@ -136,7 +136,7 @@ public class MemberProfileServiceImpl implements MemberProfileService { |
136 | e.printStackTrace(); | 136 | e.printStackTrace(); |
137 | throw e; | 137 | throw e; |
138 | } finally { | 138 | } finally { |
139 | this.redisUtils.doUnLock("memberProfile::memberId::" + resources.getId()); | 139 | // this.redisUtils.doUnLock("memberProfile::memberId::" + resources.getId()); |
140 | } | 140 | } |
141 | 141 | ||
142 | } | 142 | } | ... | ... |
-
Please register or sign in to post a comment