Skip to content

Commit e816bf3

Browse files
committed
Merge pull request #69 from diepxuan/feat/stored-procedures-migration
feat: Add 376 stored procedures conversion from SimbaSql to Laravel-Simba
1 parent 172aafb commit e816bf3

460 files changed

Lines changed: 16051 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

PROCEDURES.md

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.

src/StoredProcedures/AsCOGDBGT.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGDBGT
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGDBGT', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGetDMCoBomCT
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGetDMCoBomCT', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGetDMNHSPCT
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGetDMNHSPCT', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGetDMPB
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGetDMPB', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGetDMPB1
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGetDMPB1', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGetDMPB12
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGetDMPB12', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOGetDMSPCT
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOGetDMSPCT', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOInsDMCoBomCT
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOInsDMCoBomCT', [
26+
27+
], $connection);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* @copyright © 2019 Dxvn, Inc.
7+
*
8+
* @author Tran Ngoc Duc <ductn@diepxuan.com>
9+
* @author Tran Ngoc Duc <caothu91@gmail.com>
10+
*
11+
* @lastupdate 2026-02-12 13:15:00
12+
*/
13+
14+
namespace Diepxuan\Simba\StoredProcedures;
15+
16+
use Diepxuan\Simba\SModel\SModel;
17+
use Illuminate\Support\Collection;
18+
19+
class AsCOInsDMCoBomPH
20+
{
21+
public static function call(array $params): Collection
22+
{
23+
$connection = (new SModel())->getConnectionName();
24+
25+
return ProcedureCaller::call('asCOInsDMCoBomPH', [
26+
27+
], $connection);
28+
}
29+
}

0 commit comments

Comments
 (0)