沈静伟 4 lat temu
rodzic
commit
b4552e4870

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/usercenter/usermsg/usermsg.java

@@ -69,7 +69,7 @@ public class usermsg extends Controller {
             pao.setValue("fwechatno", fwechatno, 11L);
             pao.setValue("changeby", username, 11L);
             pao.setValue("changedate", getDateTime(), 11L);
-            pao.setValue("faddress", faddress.equalsIgnoreCase("null") ? "" : faddress, 11L);
+            pao.setValue("faddress", (faddress == null || faddress.equalsIgnoreCase("null")) ? "" : faddress, 11L);
             pao.setValue("frole", frole, 11L);
             tenterprise_usersSet.save();