~~~
$model = M("");
$sql = "call 存储过程名称('{$参数1}','{$参数2}',@result)";
//echo $sql;
$ref = $model -> query($sql);
//var_dump($ref);
//结果集视具体情况而定
$status= $ref[0]['result'];
~~~
* * * * *
1. [thinkphp调用存储过程的完整案例](http://blog.csdn.net/xiawu1990/article/details/53536643)