baibx 2 ay önce
ebeveyn
işleme
32db48a1dc

+ 3 - 2
com.sharemao.web.appserver/src/main/java/com/sharemao/app/service/impl/AppUserServiceImpl.java

@@ -1338,8 +1338,9 @@ public class AppUserServiceImpl extends AppBaseService implements AppUserService
1338 1338
 				}
1339 1339
 			}
1340 1340
 
1341
-            String defSql = "UPDATE appuser SET phonenum = '"+phone+"' WHERE id = '"+id+"'";
1342
-            baseDao.excuSql(defSql);
1341
+            String sql = "UPDATE appuser SET phonenum = '"+phone+"' WHERE id = '"+id+"' and defaultdev='"+devid+"'";
1342
+            logger.info(sql);
1343
+            baseDao.excuSql(sql);
1343 1344
 
1344 1345
 			record.put("msg", "OK");
1345 1346
 			ProjectConstants.smsCodeMap.remove(phone);