|
@@ -241,9 +241,10 @@ class TestRefund extends TestCase
|
|
|
//docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefund::testCheckZY)( .*)?$/" --test-suffix TestRefund.php /var/www/html/test
|
|
|
public function testCheckZY()
|
|
|
{
|
|
|
- $cond['refill_order.order_time'] = [['egt', strtotime('2023-06-06')], ['lt', strtotime('2023-06-07')], 'and'];
|
|
|
- $cond['vr_order.add_time'] = [['egt', strtotime('2023-06-06')], ['lt', strtotime('2023-06-08')], 'and'];
|
|
|
+ $cond['refill_order.order_time'] = [['egt', strtotime('2023-06-07')], ['lt', strtotime('2023-06-09')], 'and'];
|
|
|
+ $cond['vr_order.add_time'] = [['egt', strtotime('2023-06-07')], ['lt', strtotime('2023-06-09')], 'and'];
|
|
|
$cond['inner_status'] = 0;
|
|
|
+ $cond['vr_order.order_state'] = 0;
|
|
|
$cond['vr_order.store_id'] = ['in',[33,45]];
|
|
|
|
|
|
$this->check_order($cond);
|