123456789101112131415161718192021 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class StatementsSealVerify extends Model
- {
- protected $table = 'statements_seal_verify';
- public $timestamps = false;
- protected static $unguarded = true;
- public static function getVerifyList($statementsSealId) {
- return self::query()->where('enable', 1)->where('seal_id', $statementsSealId)
- ->orderBy('id', 'asc')->get();
- }
- public static function addVerifyRecord($insertData) {
- return self::query()->insert($insertData);
- }
- }
|