|
|
@@ -67,30 +67,41 @@ class TestController extends BaseController
|
|
|
}
|
|
|
}
|
|
|
print_r($flag);
|
|
|
- die;
|
|
|
- //40
|
|
|
+
|
|
|
$orderList = OrderClass::getAllByCondition(['customId' => $customId, 'debtPrice>' => 0], null, 'id,actPrice,payTime', null);
|
|
|
$arr = [];
|
|
|
if (!empty($orderList)) {
|
|
|
foreach ($orderList as $order) {
|
|
|
$payTime = $order['payTime'] ?? '';
|
|
|
+ $id = $order['id'] ?? 0;
|
|
|
$arr[$payTime] = $order;
|
|
|
+ if (isset($flag['40-' . $id]) == false) {
|
|
|
+ echo $id . "订单有问题\n";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
//20
|
|
|
- $clearList = PurchaseClearClass::getAllByCondition(['ghsShopId' => $ghsShopId, 'status' => 2], null, 'actPrice,payTime', null);
|
|
|
+ $clearList = PurchaseClearClass::getAllByCondition(['ghsShopId' => $ghsShopId, 'status' => 2], null, 'id,actPrice,payTime', null);
|
|
|
if (!empty($clearList)) {
|
|
|
foreach ($clearList as $clear) {
|
|
|
$payTime = $clear['payTime'] ?? '';
|
|
|
+ $id = $clear['id'] ?? 0;
|
|
|
$arr[$payTime] = $clear;
|
|
|
+ if (isset($flag['20-' . $id]) == false) {
|
|
|
+ echo $id . "结账有问题\n";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
//33
|
|
|
- $refundList = RefundOrderClass::getAllByCondition(['mainId' => $mainId], null, 'refundPrice,updateTime', null);
|
|
|
+ $refundList = RefundOrderClass::getAllByCondition(['mainId' => $mainId], null, 'id,refundPrice,updateTime', null);
|
|
|
if (!empty($refundList)) {
|
|
|
foreach ($refundList as $refund) {
|
|
|
+ $id = $refund['id'] ?? 0;
|
|
|
$updateTime = $refund['updateTime'] ?? '';
|
|
|
$arr[$updateTime] = $refund;
|
|
|
+ if (isset($flag['33-' . $id]) == false) {
|
|
|
+ echo $id . "退款单有问题\n";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
echo "<pre>";
|