Commit b1e22ff2 by 徐高华

好友删导购

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