Browse Source

Updated public

north 7 years ago
parent
commit
2a670e0f16
1 changed files with 2 additions and 4 deletions
  1. 2 4
      www/protected/controllers/JgEmployeController.php

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

@@ -11,10 +11,8 @@ class JGEmployeController extends AdminController
 {
     public function actionIndex()
     {
-        //$tmp = JGEmploye::model()->findAll();
-        //foreach ($tmp as $k => $v) {
-        //$v->delete();
-        //}
+        $tmp = JGEmploye::get(new MongoId('5acaca9a9f5160d2048b6c13'));
+        $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);