|
@@ -891,7 +891,7 @@ class Resign extends Base
|
|
|
$order = ["order_code" => $cgdCode, "status" => 0, "action_remark" => '', "action_type" => "create"];
|
|
|
GoodLog::LogAdd($this->post['token'], $good_data, 'CGD');
|
|
|
ActionLog::logAdd($this->post['token'], $order, "CGD", 0, $good);
|
|
|
- $process = ["order_code" => $cgdCode, "order_id" => Db::name("purchease_order")->getLastInsID(), "order_status" => $cg['status'], "order_type" => 'CGD',"before_status"=>0];
|
|
|
+ $process = ["order_code" => $cgdCode, "order_id" => $up, "order_status" => $cg['status'], "order_type" => 'CGD',"before_status"=>0];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $process);
|
|
|
$info['wsm_code'] = $wsm_code;
|
|
|
$old_info_status = $info['status'];
|