|
@@ -53,6 +53,7 @@ class Boss extends Start_Controller {
|
|
$this->load->_model('Model_classid','classid');
|
|
$this->load->_model('Model_classid','classid');
|
|
$this->load->_model('Model_weight','weight');
|
|
$this->load->_model('Model_weight','weight');
|
|
$this->load->_model('Model_country','country');
|
|
$this->load->_model('Model_country','country');
|
|
|
|
+ $this->load->_model("Model_zzquque_u9","zzquque_u9");
|
|
}
|
|
}
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
public function _remap($arg,$arg_array)
|
|
public function _remap($arg,$arg_array)
|
|
@@ -382,6 +383,25 @@ class Boss extends Start_Controller {
|
|
$this->$fullorder_name->save(array('library'=>2,'librarytime'=>$time,'weight'=>$weight),$y['id']);
|
|
$this->$fullorder_name->save(array('library'=>2,'librarytime'=>$time,'weight'=>$weight),$y['id']);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ $queue_u9_list = [];
|
|
|
|
+ $queue_u9_list[] = [
|
|
|
|
+ 'platform'=>$fullorder_name,
|
|
|
|
+ 'warehouse'=>$y['type'],
|
|
|
|
+ 'type'=>($y['type'] == 5)?11:10, //5代表美仓
|
|
|
|
+ 'order_no'=>$y['number'],
|
|
|
|
+ 'status'=>0,
|
|
|
|
+ 'create_time'=>time(),
|
|
|
|
+ 'update_time'=>time(),
|
|
|
|
+ ];
|
|
|
|
+ //将要执行的队列数据添加进去
|
|
|
|
+ foreach($queue_u9_list as $item){
|
|
|
|
+ if($item['platform'] != 'fullorderxw'){
|
|
|
|
+ if($item['warehouse'] != 5){
|
|
|
|
+ $this->zzquque_u9->insert($item);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
if ($this->db->trans_status() === TRUE)
|
|
if ($this->db->trans_status() === TRUE)
|
|
{
|
|
{
|
|
$this->db->trans_commit();
|
|
$this->db->trans_commit();
|