Kaynağa Gözat

提交uesrDaoimpl

Administrator 3 yıl önce
ebeveyn
işleme
df3d966bbc

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