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

Commit 3599cc34 authored by jiangxiulong's avatar jiangxiulong

userId

parent cb32edb2
......@@ -274,8 +274,12 @@ public class SweetWechatTemplateServiceImpl {
String oldAdamUserId = sweetWechatUser.getAdamUserId();
String oldAdamPhone = sweetWechatUser.getAdamPhone();
if ((!phone.isEmpty() || !userId.isEmpty()) && ((null == oldAdamUserId || oldAdamUserId.isEmpty()) || null == oldAdamPhone || oldAdamPhone.isEmpty())) {
sweetWechatUser.setAdamUserId(userId);
if (!phone.isEmpty()) {
sweetWechatUser.setAdamPhone(phone);
}
if (!userId.isEmpty()) {
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