|
@@ -24,57 +24,17 @@ class Queueu9 extends Start_Controller {
|
|
|
{
|
|
|
$this->_xdls();
|
|
|
}
|
|
|
+ if($arg == 'ztdl')//执行在途的队列
|
|
|
+ {
|
|
|
+ $this->_zt();
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
$this->_index();
|
|
|
}
|
|
|
}
|
|
|
public function _index(){
|
|
|
- // $list = $this->zzquque_u9->find_all("type = 11 ");
|
|
|
- // foreach($list as $k=>$v){
|
|
|
- // $this->zzquque_u9->remove($v['id']);
|
|
|
- // }
|
|
|
- //新加一步 查询修改调出单的审核结果
|
|
|
- // echo "<pre>";
|
|
|
- // $list = $this->zzquque_u9->find_all("type = 10 and order_no = 'QQS-50228-020'");
|
|
|
-
|
|
|
- // $this->logic_u9xg->xdlsOneExtraStep($list);
|
|
|
- //执行第一步的参数
|
|
|
- // $list = $this->zzquque_u9->find_all();
|
|
|
- // $do_list = [];
|
|
|
- // foreach($list as $k=>$v){
|
|
|
- // $tmp_info = $this->logic_order->getInfoByType($v['platform'],$v['order_no']);
|
|
|
- // $tmp_info['zq_u9_id'] = $v['id'];
|
|
|
- // $do_list[] = $tmp_info;
|
|
|
- // }
|
|
|
- // $this->logic_u9xg->xdlsOneStep($do_list);
|
|
|
|
|
|
- //执行第二步的参数
|
|
|
- // $list = $this->zzquque_u9->find_all("dc_status = 1 and xs_status = 1 and cg_status = 1 and type = 10 and update_time <=".(time() - 300));
|
|
|
-
|
|
|
- // $this->logic_u9xg->xdlsTwoStep($list);
|
|
|
- //执行第三部参数
|
|
|
- // $list = $this->zzquque_u9->find_all();
|
|
|
- // $this->logic_u9xg->xdlsThreeStep($list);
|
|
|
- //执行第四部的参数 生成销售单
|
|
|
- // $list = $this->zzquque_u9->find_all();
|
|
|
-
|
|
|
- // $do_list = [];
|
|
|
- // foreach($list as $k=>$v){
|
|
|
- // $tmp_info = $this->logic_order->getInfoByType($v['platform'],$v['order_no']);
|
|
|
- // $tmp_info['zq_u9_id'] = $v['id'];
|
|
|
- // $do_list[] = $tmp_info;
|
|
|
- // }
|
|
|
- // $this->logic_u9xg->xdlsFourStep($do_list);
|
|
|
-
|
|
|
- //执行第五步骤 审核销售单 并同时生成标准出货单
|
|
|
- // $list = $this->zzquque_u9->find_all(" xs_two_no = 'SO2502280045' ");
|
|
|
-
|
|
|
- // $this->logic_u9xg->xdlsFivestep($list);
|
|
|
- // $list = $this->zzquque_u9->find_all("");
|
|
|
-
|
|
|
- // $this->logic_u9xg->xdlsSixStep($list);
|
|
|
- //exit('No direct script access allowed index'."<br/>");
|
|
|
}
|
|
|
|
|
|
//执行小单的流转到临时仓的队列
|
|
@@ -142,6 +102,11 @@ class Queueu9 extends Start_Controller {
|
|
|
|
|
|
$this->logic_u9xg->xdlsSixStep($list);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ public function _zt(){
|
|
|
+ echo "<pre>";
|
|
|
+ //第一步生成 许昌成品库的调出单
|
|
|
+ $list = $this->zzquque_u9->find_all("type = 10 and dc_status = 0 and cg_status = 0 and xs_status = 0 ",'*','id asc',0,100);
|
|
|
+ }
|
|
|
|
|
|
}
|