记得上下班打卡 | git大法好,push需谨慎

Commit 90186955 authored by jiangxiulong's avatar jiangxiulong

userId

parent cdf7a02e
......@@ -280,16 +280,14 @@ public class SweetWechatTemplateServiceImpl {
oldAdamPhone = "";
}
if ((!phone.isEmpty() || !userId.isEmpty()) && (oldAdamUserId.isEmpty() || oldAdamPhone.isEmpty())) {
if (!phone.isEmpty()) {
sweetWechatUser.setAdamPhone(phone);
} else {
sweetWechatUser.setAdamPhone(oldAdamPhone);
if (phone.isEmpty()) {
phone = oldAdamPhone;
}
if (!userId.isEmpty()) {
sweetWechatUser.setAdamUserId(userId);
} else {
sweetWechatUser.setAdamUserId(oldAdamUserId);
if (userId.isEmpty()) {
userId = oldAdamUserId;
}
sweetWechatUser.setAdamPhone(phone);
sweetWechatUser.setAdamUserId(userId);
if (null == type || type <= 1) {
redisDataUtils.setSweetWechatUser(sweetWechatUser);
} else if (type == 2) {
......
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