longyi 5 kuukautta sitten
vanhempi
commit
5d1ad75feb

+ 3 - 1
core/CoreApp/controllers/Queueu9.php

@@ -31,7 +31,9 @@ class Queueu9 extends Start_Controller {
     }
     public function _index(){
          //新加一步  查询修改调出单的审核结果
-         $list = $this->zzquque_u9->find_all("type = 10 and order_no = 'ALIP-50228-022'");
+         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();

+ 1 - 1
core/CoreApp/controllers/Userbak.php

@@ -743,7 +743,7 @@ class Userbak extends Start_Controller {
 				$dlz = $this->fullorder->find_all("dtime >= ".$ct." and dtime <= ".$ctj.$where." and shop != '0' and (".rtrim($fgshop,'or').") and shop != '18' and shop != '19'",'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
 				$smt = $this->fullordersmt->find_all("dtime >= ".$ct." and dtime <= ".$ctj.$where." and shop != '0' and (".rtrim($fgshop,'or').") and shop != '18' and shop != '19'",'budget,shouldmoney,shop,refundy,userid,budget,refundy');
 				$tt = $this->fullordertt->find_all("state != 217 and dtime >= ".$ct." and dtime <= ".$ctj.$where." and shop != '0' and (".rtrim($fgshop,'or').") and shop != '18' and shop != '19'",'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
-				
+			
 				$ab[] = $dlz;
 				//数量及金额开始
 				$dlznum[] = count($dlz);

+ 1 - 1
core/CoreApp/models/Model_apiyyv1.php

@@ -329,7 +329,7 @@ class Model_apiyyv1 extends Lin_Model
 	}
 	//由于逻辑修改造成 需要查询调出单是审核完毕
 	public function xdlsCxDcd($dcd_no,$token){
-		$list["SqlString"] = "select * from InvDoc_TransIn as a left  join InvDoc_TransInLine as b on a.id=b.TransferIn where Status = 2 and a.DocNo = '".$dcd_no."'";
+		$list["SqlString"] = "select a.DocNo,a.Status,b.ItemInfo_ItemCode,b.CostUOMQty,b.CostPrice from  InvDoc_TransferOut as a left join InvDoc_TransOutLine as b on a.id = b.TransferOut where a.Status = 2 and a.DocNo = '".$dcd_no."'";
 		$url = '/U9C/webapi/QueryCommon/QueryInfoBySql';
 		$url = $this->base_url.$url;
 		$header[] = "Content-Type: application/json";

+ 1 - 3
core/CoreApp/models/Model_logic_u9xg.php

@@ -540,9 +540,7 @@ class Model_logic_u9xg extends Lin_Model {
 
     public function xdlsCxDcd($info){
         $r = $this->apiyyv1->xdlsCxDcd($info['dc_no'],$this->getToken(130));
-        echo '<pre>';
-        var_dump($r);
-        die;
+        
 
     }
 }