Commit def82ee7 by 徐高华

自建离职继承add_way

parent 06c0be13
...@@ -1068,6 +1068,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1068,6 +1068,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
String externalUserId = ""; String externalUserId = "";
String state = ""; String state = "";
int friendType = 1; int friendType = 1;
Integer addWay = 0 ;
if (StringUtils.isNotBlank(unionIdJson)) { if (StringUtils.isNotBlank(unionIdJson)) {
JSONObject jo = JSON.parseObject(unionIdJson); JSONObject jo = JSON.parseObject(unionIdJson);
String external_contact = jo.getString("external_contact"); String external_contact = jo.getString("external_contact");
...@@ -1093,6 +1094,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1093,6 +1094,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
state = follow.getString("state"); state = follow.getString("state");
if (userId.equals(userId1)) { if (userId.equals(userId1)) {
createTime = follow.getString("createtime"); createTime = follow.getString("createtime");
addWay = follow.getIntValue("add_way") ;
} }
} }
} }
...@@ -1105,6 +1107,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1105,6 +1107,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
pojo.setWxEnterpriseId(wxEnterpriseId); pojo.setWxEnterpriseId(wxEnterpriseId);
pojo.setState(state); pojo.setState(state);
pojo.setFriendType(friendType); pojo.setFriendType(friendType);
pojo.setAddWay(addWay);
return pojo; return pojo;
} }
......
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