Commit 76f0d348 by 徐高华

删好友调整

parent 6bceacbd
...@@ -73,10 +73,10 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService { ...@@ -73,10 +73,10 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
if (qdto.isDelFlag()) { if (qdto.isDelFlag()) {
TabWxUserAddLog logUser = this.wxUserAddLogMapper.selectNewLog(externalUserid, qdto.getStaffId()); TabWxUserAddLog logUser = this.wxUserAddLogMapper.selectNewLog(externalUserid, qdto.getStaffId());
if(null == logUser) { if(null == logUser) {
log.info("删除好友") ; log.info("删除好友-无加的记录") ;
return ; }else {
entity = logUser;
} }
entity = logUser;
entity.setLogId(UniqueIdUtils.uniqueLong()); entity.setLogId(UniqueIdUtils.uniqueLong());
if(qdto.isDelClerkFlag()) { if(qdto.isDelClerkFlag()) {
entity.setStatusFlag(3); entity.setStatusFlag(3);
......
...@@ -770,6 +770,9 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -770,6 +770,9 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
Date firstTime = new Date(); Date firstTime = new Date();
if (CollectionUtils.isNotEmpty(memberList)){ if (CollectionUtils.isNotEmpty(memberList)){
for (TabHaobanExternalClerkRelated a : memberList){ for (TabHaobanExternalClerkRelated a : memberList){
if(null == a.getAddTime()) {
continue;
}
Date addTime = new Date(a.getAddTime() * 1000L); Date addTime = new Date(a.getAddTime() * 1000L);
if ((a.getStatusFlag() == 1 || a.getStatusFlag() == 3 || a.getStatusFlag() == 4) && opTime.before(addTime)){ if ((a.getStatusFlag() == 1 || a.getStatusFlag() == 3 || a.getStatusFlag() == 4) && opTime.before(addTime)){
opTime= addTime; opTime= addTime;
......
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