Browse Source

提交uesrDaoimpl

Administrator 2 years ago
parent
commit
df3d966bbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/dao/impl/UserDaoImpl.java

+ 1 - 1
mhotel/src/com/happy/dao/impl/UserDaoImpl.java

@@ -128,7 +128,7 @@ public class UserDaoImpl implements UserDao {
             stringBuffer.append(" identity_type=:identity_type ");
             msp.addValue("identity_type", users.getIdentity_type());
         }
-        if (!Func.checkDblZero(users.getContactId()))
+        if (!Func.checkNull(users.getContactId()))
         {
             stringBuffer.append(" contact_id=:contact_id ");
             msp.addValue("contact_id", users.getContactId());