소스 검색

错误修复

沈静伟 4 년 전
부모
커밋
b4552e4870
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/dsb/com/cnd3b/restcontroller/customer/usercenter/usermsg/usermsg.java

+ 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();