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

Commit 37f4f52e authored by jiangxiulong's avatar jiangxiulong

null

parent 7524f4c4
......@@ -273,7 +273,7 @@ public class SweetWechatTemplateServiceImpl {
// 同步手机号
String oldAdamUserId = sweetWechatUser.getAdamUserId();
String oldAdamPhone = sweetWechatUser.getAdamPhone();
if (!phone.isEmpty() && (oldAdamUserId.isEmpty() || oldAdamPhone.isEmpty())) {
if (!phone.isEmpty() && ((null == oldAdamUserId || oldAdamUserId.isEmpty()) || null == oldAdamPhone || oldAdamPhone.isEmpty())) {
sweetWechatUser.setAdamUserId(userId);
sweetWechatUser.setAdamPhone(phone);
if (null == type || type <= 1) {
......
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