Commit 2ba1969c 2ba1969cd7d7b4838738acdbf1fd5738d30a4049 by xianghan

1.优化

1 parent b6c3d642
...@@ -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 }
......