north 6 éve
szülő
commit
d9af86e15a
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      www/protected/controllers/JgEmployeController.php

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

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