|
|
@ -314,7 +314,7 @@ class WorkOrderController extends ThinkController
|
|
|
|
// 删除
|
|
|
|
// 删除
|
|
|
|
public function delete($ids)
|
|
|
|
public function delete($ids)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$delete = M('work_order_info', 'tab_')->where(['id'=>['in', $ids]])->save(['status'=>2]);
|
|
|
|
$delete = M('work_order_info', 'tab_')->where(['id'=>['in', $ids]])->delete();
|
|
|
|
return $delete ? $this->success('删除成功') : $this->error('删除失败');
|
|
|
|
return $delete ? $this->success('删除成功') : $this->error('删除失败');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|