Commit b1e22ff2 by 徐高华

好友删导购

parent 5939eb06
...@@ -12,12 +12,22 @@ public class WxUserAddLogQDTO implements Serializable{ ...@@ -12,12 +12,22 @@ public class WxUserAddLogQDTO implements Serializable{
private String unionid; private String unionid;
private Long linkId; private Long linkId;
private Long hmId; private Long hmId;
// 是否好友删除导购
private boolean delClerkFlag;
private boolean delFlag; private boolean delFlag;
private String externalUserid; private String externalUserid;
private String staffId; private String staffId;
private String staffName; private String staffName;
private String clerkId; private String clerkId;
public boolean isDelClerkFlag() {
return delClerkFlag;
}
public void setDelClerkFlag(boolean delClerkFlag) {
this.delClerkFlag = delClerkFlag;
}
public String getWxEnterpriseId() { public String getWxEnterpriseId() {
return wxEnterpriseId; return wxEnterpriseId;
} }
......
...@@ -73,9 +73,13 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService { ...@@ -73,9 +73,13 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
} }
entity = logUser; entity = logUser;
entity.setLogId(UniqueIdUtils.uniqueLong()); entity.setLogId(UniqueIdUtils.uniqueLong());
entity.setStatusFlag(2); if(qdto.isDelClerkFlag()) {
// 是否所有好友删除 1是0否 entity.setStatusFlag(3);
entity.setAllDelFlag(this.isAllDel(externalUserid)); }else {
entity.setStatusFlag(2);
// 是否所有好友删除 1是0否
entity.setAllDelFlag(this.isAllDel(externalUserid));
}
} }
// 新增好友 // 新增好友
if (!qdto.isDelFlag()) { if (!qdto.isDelFlag()) {
......
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