vd/tests/ProcChildTest.php
2019-08-12 14:27:34 +08:00

15 lines
333 B
PHP

<?php
use App\Domains\Real\Services\OrderService;
require_once realpath(dirname(__FILE__) . '/TestCase.php');
$res = DB::connection('real')->select("call proc_child('No00000000768')");
foreach ($res as $key => &$value) {
$value = (array) $value;
}
$res = array_pluck($res, 'custom_no');
dd(in_array('No00000003080', $res));