Browse Source

Updated public

north 7 years ago
parent
commit
fa9d0ca58c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/protected/modules/j/models/JGEmploye.php

+ 1 - 1
www/protected/modules/j/models/JGEmploye.php

@@ -91,7 +91,7 @@ class JGEmploye extends MongoAr
             return '暂无排名';
             return '暂无排名';
         } else {
         } else {
             $criteria = new EMongoCriteria();
             $criteria = new EMongoCriteria();
-            $criteria->sort('socre',EMongoCriteria::SORT_DESC);
+            $criteria->sort('score',EMongoCriteria::SORT_DESC);
             $criteria->store_id('==',$newRow['store_id']);
             $criteria->store_id('==',$newRow['store_id']);
             $tmp = JGEmploye::model()->findAll($criteria);
             $tmp = JGEmploye::model()->findAll($criteria);
             $i = 1;
             $i = 1;