收支核对处理

This commit is contained in:
wanyongkang
2020-11-16 11:36:37 +08:00
parent 01d6a71d31
commit 34dacb88f1

View File

@@ -5,7 +5,7 @@
* @Author: kangkang * @Author: kangkang
* @Date: 2020-10-03 18:23:43 * @Date: 2020-10-03 18:23:43
* @LastEditors: kangkang * @LastEditors: kangkang
* @LastEditTime: 2020-11-14 14:41:10 * @LastEditTime: 2020-11-16 11:33:49
*/ */
$is_script = 1; $is_script = 1;
include __DIR__ . '/../index.php'; include __DIR__ . '/../index.php';
@@ -104,7 +104,7 @@ foreach ($data as $product) {
} }
//强子讯连专门处理退款 //强子讯连专门处理退款
$qx_where = array_merge($where2, ['ProductId' => ['in', $product_enum::$qx], 'OrderState' => $AutoRefundOver, 'ConnectCount' => 1, 'OrderType' => $product_order_enum::$Refund]); $qx_where = array_merge($where2, ['ProductId' => ['in', $product_enum::$qx], 'OrderState' => $product_order_enum::$AutoRefundOver, 'ConnectCount' => 1, 'OrderType' => $product_order_enum::$Refund]);
$refund_qx_info = $product_order_model->field('ProductId,PackageName,RefundRestTime')->where($qx_where)->where($where1)->fetchAll(); $refund_qx_info = $product_order_model->field('ProductId,PackageName,RefundRestTime')->where($qx_where)->where($where1)->fetchAll();
$qiangzi_refund = []; $qiangzi_refund = [];
$xunlian_refund = []; $xunlian_refund = [];
@@ -120,7 +120,7 @@ foreach ($refund_qx_info as $info) {
} }
//天天老鹰先锋的退款 //天天老鹰先锋的退款
$tlx_where = array_merge($where2, ['ProductId' => ['in', $product_enum::$tlxj], 'OrderState' => $AutoRefundOver]); $tlx_where = array_merge($where2, ['ProductId' => ['in', $product_enum::$tlxj], 'OrderState' => $product_order_enum::$AutoRefundOver]);
$refund_tlx_info = $product_order_model->field('ProductId,PackageName,RefundRestTime,ConnectCount')->where($tlx_where)->where($where1)->fetchAll(); $refund_tlx_info = $product_order_model->field('ProductId,PackageName,RefundRestTime,ConnectCount')->where($tlx_where)->where($where1)->fetchAll();
$tiantian_refund = []; $tiantian_refund = [];
$laoying_refund = []; $laoying_refund = [];