|
@@ -248,4 +248,15 @@ class TestRefund extends TestCase
|
|
|
|
|
|
$this->check_order($cond);
|
|
|
}
|
|
|
+
|
|
|
+ //docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefund::testCheckYZ)( .*)?$/" --test-suffix TestRefund.php /var/www/html/test
|
|
|
+ public function testCheckYZ()
|
|
|
+ {
|
|
|
+ $cond['refill_order.order_time'] = [['egt', strtotime('2023-05-01')], ['lt', strtotime('2023-06-01')], 'and'];
|
|
|
+ $cond['vr_order.add_time'] = [['egt', strtotime('2023-05-01')], ['lt', strtotime('2023-06-02')], 'and'];
|
|
|
+ $cond['inner_status'] = 0;
|
|
|
+ $cond['vr_order.store_id'] = ['in',[319,327]];
|
|
|
+
|
|
|
+ $this->check_order($cond);
|
|
|
+ }
|
|
|
}
|