|
|
@@ -2014,12 +2014,10 @@ class Fullorderexcel extends Start_Controller {
|
|
|
$goods_sku_list = $extra['goods_sku_list'] ;
|
|
|
$typeclass = $extra['typeclass'];
|
|
|
//取得信息列表,防止SQL字段不存在导致程序崩溃
|
|
|
- $this->$sj->db->db_debug = FALSE;
|
|
|
- $info_list = $this->$sj->find_all($where,$field,$order_str);
|
|
|
- $this->$sj->db->db_debug = TRUE;
|
|
|
- if(!is_array($info_list)){
|
|
|
+ try {
|
|
|
+ $info_list = $this->$sj->find_all($where,$field,$order_str);
|
|
|
+ } catch (Throwable $e) {
|
|
|
$info_list = array();
|
|
|
- return $info_list;
|
|
|
}
|
|
|
//格式化数据
|
|
|
$i = 1;$shouldmoney = 0;$hl=1;
|