north 5 жил өмнө
parent
commit
6753ecb654

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

@@ -12,10 +12,10 @@ class JGEmployeController extends AdminController
     public function actionIndex()
     {
         $ids = ['5dc6555c9f516097048b45a6'];
-        foreach ($ids as $id) {
-            $tmp = JGEmploye::get(new MongoId($id));
-            $tmp->delete();
-        }
+//        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);