north 5 жил өмнө
parent
commit
9570c1f9e1

+ 5 - 5
www/protected/controllers/JgEmployeController.php

@@ -11,11 +11,11 @@ class JGEmployeController extends AdminController
 {
     public function actionIndex()
     {
-        $ids = ['5dc655e79f5160b0048b45b2'];
-        foreach ($ids as $id) {
-            $tmp = JGEmploye::get(new MongoId($id));
-            $tmp->delete();
-        }
+//        $ids = ['5dc655e79f5160b0048b45b2'];
+//        foreach ($ids as $id) {
+//            $tmp = JGEmploye::get(new MongoId($id));
+//            $tmp->delete();
+//        }
         $status = CommonFn::getComboboxData(JGEmploye::$status_options, 100, true, 100);//人员状态
         $skill = CommonFn::getComboboxData(JGEmploye::$skill_options, 100, true, 100);
         $work_type = CommonFn::getComboboxData(JGEmploye::$work_type_options, 100, true, 100);