Commit 1abda1a0 by 徐高华

log

parent 0d05a335
......@@ -51,7 +51,7 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
private MemberTagApiService memberTagApiService;
public void save(WxUserAddLogQDTO qdto) {
log.info("保存用户信息={}",JSON.toJSON(qdto));
log.info("保存用户信息-add={}",JSON.toJSON(qdto));
String externalUserid = qdto.getExternalUserid();
String wxUserId = qdto.getWxUserId();
TabWxUserAddLog entity = new TabWxUserAddLog();
......@@ -117,6 +117,7 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
@Override
public void updateMemberInfo(String wxEnterpriseId, String enterpriseId, String staffId, String externalUserid,
String memberId) {
log.info("保存用户信息-update={}",memberId);
if (StringUtils.isNotBlank(memberId)) {
TabWxUserAddLog entity = new TabWxUserAddLog();
entity = this.addMemberInfo(enterpriseId, memberId, entity);
......@@ -124,10 +125,8 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
entity.setWxEnterpriseId(wxEnterpriseId);
entity.setExternalUserid(externalUserid);
entity.setStaffId(staffId);
if (null != entity) {
entity.setCreateTime(new Date());
this.wxUserAddLogMapper.updateMemberInfo(entity);
}
entity.setCreateTime(new Date());
this.wxUserAddLogMapper.updateMemberInfo(entity);
}
}
......
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