|
@@ -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);
|