Browse Source

Init project

north 5 years ago
parent
commit
9570c1f9e1
1 changed files with 5 additions and 5 deletions
  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 = ['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);