feat(order): 增加订单参数打印调试
This commit is contained in:
parent
279cc7d903
commit
ddc9a82766
@ -566,6 +566,7 @@ class OrderLogic extends BaseLogic
|
||||
self::setError('订单不存在');
|
||||
return false;
|
||||
}
|
||||
d($params);
|
||||
Db::startTrans();
|
||||
try {
|
||||
StoreOrder::update([
|
||||
@ -587,7 +588,10 @@ class OrderLogic extends BaseLogic
|
||||
'update_time' => time(),
|
||||
], ['oid' => $order['id']]);
|
||||
$financeFlow = new StoreFinanceFlow();
|
||||
$financeFlow->where('order_id',$order['id'])->update(['store_id'=>$params['store_id'],'staff_id'=>$params['staff_id']]);
|
||||
$res=$financeFlow->where('order_id',$order['id'])->update(['store_id'=>$params['store_id'],'staff_id'=>$params['staff_id']]);
|
||||
if($res){
|
||||
$order['store_id']=$params['store_id'];
|
||||
}
|
||||
$financeFlowLogic = new StoreFinanceFlowLogic();
|
||||
$select_1 = $financeFlow->where(['order_id' => $order['id'], 'financial_pm' => 1, 'financial_type' => ['in' => 14, 15, 16]])->select();
|
||||
foreach ($select_1 as $k => $v) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user