|
@@ -40,6 +40,8 @@ class Fullorderamz extends Start_Controller {
|
|
|
$this->load->_model('Model_power','power');
|
|
|
$this->load->_model('Model_fullorderamzhb','fullorderamzhb');
|
|
|
$this->load->_model('Model_returngoods','returngoods');
|
|
|
+ $this->load->_model("Model_fullordererrors","fullordererrors");
|
|
|
+
|
|
|
}
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
@@ -746,6 +748,8 @@ class Fullorderamz extends Start_Controller {
|
|
|
$yc = $this->fullorderamz->find_count("library = 2 and state = 214 and (".rtrim($fgshop,'or').")");
|
|
|
$this->data['yc'] = $yc;
|
|
|
$this->data['power'] = $vip;
|
|
|
+ $cs_num = $this->fullordererrors->find_count( " plat = 'fullorderamz' and error_type = 1 and (".rtrim($fgshop,'or'). " ) and error_time > '".(time()-90*24*3600)."'");
|
|
|
+ $this->data['cs_num'] = $cs_num;
|
|
|
$this->_Template('fullorderamz',$this->data);
|
|
|
}
|
|
|
|