瀏覽代碼

修复无法查询密码的问题

zhouhao 8 年之前
父節點
當前提交
eef52d4a79

+ 1 - 1
hsweb-system/hsweb-system-authorization/hsweb-system-authorization-service/hsweb-system-authorization-service-simple/src/main/java/org/hswebframework/web/service/authorization/simple/SimpleUserService.java

@@ -105,7 +105,7 @@ public class SimpleUserService extends AbstractService<UserEntity, String>
     @Transactional(readOnly = true)
     public UserEntity selectByPk(String id) {
         Assert.notNull(id, "id:{not_be_null}");
-        return createQuery().selectExcludes("password", "salt").where(GenericEntity.id, id).single();
+        return createQuery().where(GenericEntity.id, id).single();
     }
 
     @Override