refactor select statement
This commit is contained in:
parent
04e3462ed0
commit
13cff1f270
|
@ -85,8 +85,6 @@ type Dialect interface {
|
||||||
AddColumnSQL(tableName string, col *schemas.Column) string
|
AddColumnSQL(tableName string, col *schemas.Column) string
|
||||||
ModifyColumnSQL(tableName string, col *schemas.Column) string
|
ModifyColumnSQL(tableName string, col *schemas.Column) string
|
||||||
|
|
||||||
ForUpdateSQL(query string) string
|
|
||||||
|
|
||||||
Filters() []Filter
|
Filters() []Filter
|
||||||
SetParams(params map[string]string)
|
SetParams(params map[string]string)
|
||||||
}
|
}
|
||||||
|
@ -245,11 +243,6 @@ func (db *Base) ModifyColumnSQL(tableName string, col *schemas.Column) string {
|
||||||
return fmt.Sprintf("ALTER TABLE %s MODIFY COLUMN %s", db.quoter.Quote(tableName), s)
|
return fmt.Sprintf("ALTER TABLE %s MODIFY COLUMN %s", db.quoter.Quote(tableName), s)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ForUpdateSQL returns for updateSQL
|
|
||||||
func (db *Base) ForUpdateSQL(query string) string {
|
|
||||||
return query + " FOR UPDATE"
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetParams set params
|
// SetParams set params
|
||||||
func (db *Base) SetParams(params map[string]string) {
|
func (db *Base) SetParams(params map[string]string) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -669,10 +669,6 @@ func (db *mssql) CreateTableSQL(ctx context.Context, queryer core.Queryer, table
|
||||||
return b.String(), true, nil
|
return b.String(), true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (db *mssql) ForUpdateSQL(query string) string {
|
|
||||||
return query
|
|
||||||
}
|
|
||||||
|
|
||||||
func (db *mssql) Filters() []Filter {
|
func (db *mssql) Filters() []Filter {
|
||||||
return []Filter{}
|
return []Filter{}
|
||||||
}
|
}
|
||||||
|
|
|
@ -193,11 +193,11 @@ func (db *sqlite3) Features() *DialectFeatures {
|
||||||
func (db *sqlite3) SetQuotePolicy(quotePolicy QuotePolicy) {
|
func (db *sqlite3) SetQuotePolicy(quotePolicy QuotePolicy) {
|
||||||
switch quotePolicy {
|
switch quotePolicy {
|
||||||
case QuotePolicyNone:
|
case QuotePolicyNone:
|
||||||
var q = sqlite3Quoter
|
q := sqlite3Quoter
|
||||||
q.IsReserved = schemas.AlwaysNoReserve
|
q.IsReserved = schemas.AlwaysNoReserve
|
||||||
db.quoter = q
|
db.quoter = q
|
||||||
case QuotePolicyReserved:
|
case QuotePolicyReserved:
|
||||||
var q = sqlite3Quoter
|
q := sqlite3Quoter
|
||||||
q.IsReserved = db.IsReserved
|
q.IsReserved = db.IsReserved
|
||||||
db.quoter = q
|
db.quoter = q
|
||||||
case QuotePolicyAlways:
|
case QuotePolicyAlways:
|
||||||
|
@ -291,10 +291,6 @@ func (db *sqlite3) DropIndexSQL(tableName string, index *schemas.Index) string {
|
||||||
return fmt.Sprintf("DROP INDEX %v", db.Quoter().Quote(idxName))
|
return fmt.Sprintf("DROP INDEX %v", db.Quoter().Quote(idxName))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (db *sqlite3) ForUpdateSQL(query string) string {
|
|
||||||
return query
|
|
||||||
}
|
|
||||||
|
|
||||||
func (db *sqlite3) IsColumnExist(queryer core.Queryer, ctx context.Context, tableName, colName string) (bool, error) {
|
func (db *sqlite3) IsColumnExist(queryer core.Queryer, ctx context.Context, tableName, colName string) (bool, error) {
|
||||||
query := "SELECT * FROM " + tableName + " LIMIT 0"
|
query := "SELECT * FROM " + tableName + " LIMIT 0"
|
||||||
rows, err := queryer.QueryContext(ctx, query)
|
rows, err := queryer.QueryContext(ctx, query)
|
||||||
|
@ -320,7 +316,7 @@ func (db *sqlite3) IsColumnExist(queryer core.Queryer, ctx context.Context, tabl
|
||||||
// splitColStr splits a sqlite col strings as fields
|
// splitColStr splits a sqlite col strings as fields
|
||||||
func splitColStr(colStr string) []string {
|
func splitColStr(colStr string) []string {
|
||||||
colStr = strings.TrimSpace(colStr)
|
colStr = strings.TrimSpace(colStr)
|
||||||
var results = make([]string, 0, 10)
|
results := make([]string, 0, 10)
|
||||||
var lastIdx int
|
var lastIdx int
|
||||||
var hasC, hasQuote bool
|
var hasC, hasQuote bool
|
||||||
for i, c := range colStr {
|
for i, c := range colStr {
|
||||||
|
|
|
@ -7,6 +7,7 @@ package statements
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"io"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
@ -59,7 +60,7 @@ func (statement *Statement) GenQuerySQL(sqlOrArgs ...interface{}) (string, []int
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return statement.genSelectSQL(columnStr, true, true)
|
return statement.genSelectSQL(columnStr, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GenSumSQL generates sum SQL
|
// GenSumSQL generates sum SQL
|
||||||
|
@ -87,7 +88,7 @@ func (statement *Statement) GenSumSQL(bean interface{}, columns ...string) (stri
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return statement.genSelectSQL(sumSelect, true, true)
|
return statement.genSelectSQL(sumSelect, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GenGetSQL generates Get SQL
|
// GenGetSQL generates Get SQL
|
||||||
|
@ -139,7 +140,7 @@ func (statement *Statement) GenGetSQL(bean interface{}) (string, []interface{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return statement.genSelectSQL(columnStr, true, true)
|
return statement.genSelectSQL(columnStr, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GenCountSQL generates the SQL for counting
|
// GenCountSQL generates the SQL for counting
|
||||||
|
@ -176,7 +177,7 @@ func (statement *Statement) GenCountSQL(beans ...interface{}) (string, []interfa
|
||||||
subQuerySelect = selectSQL
|
subQuerySelect = selectSQL
|
||||||
}
|
}
|
||||||
|
|
||||||
sqlStr, condArgs, err := statement.genSelectSQL(subQuerySelect, false, false)
|
sqlStr, condArgs, err := statement.genSelectSQL(subQuerySelect, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
@ -218,36 +219,68 @@ func (statement *Statement) writeLimitOffset(w builder.Writer) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (statement *Statement) genSelectSQL(columnStr string, needLimit, needOrderBy bool) (string, []interface{}, error) {
|
func (statement *Statement) writeTop(w builder.Writer) error {
|
||||||
var (
|
if statement.dialect.URI().DBType != schemas.MSSQL {
|
||||||
distinct string
|
return nil
|
||||||
dialect = statement.dialect
|
|
||||||
top, whereStr string
|
|
||||||
mssqlCondi = builder.NewWriter()
|
|
||||||
)
|
|
||||||
|
|
||||||
if statement.IsDistinct && !strings.HasPrefix(columnStr, "count") {
|
|
||||||
distinct = "DISTINCT "
|
|
||||||
}
|
}
|
||||||
|
|
||||||
condWriter := builder.NewWriter()
|
if statement.LimitN == nil {
|
||||||
if err := statement.cond.WriteTo(statement.QuoteReplacer(condWriter)); err != nil {
|
return nil
|
||||||
return "", nil, err
|
}
|
||||||
|
_, err := fmt.Fprintf(w, " TOP %d", *statement.LimitN)
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if condWriter.Len() > 0 {
|
func (statement *Statement) writeDistinct(w builder.Writer) error {
|
||||||
whereStr = " WHERE "
|
if statement.IsDistinct && !strings.HasPrefix(statement.SelectStr, "count(") {
|
||||||
|
_, err := fmt.Fprint(w, " DISTINCT")
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
pLimitN := statement.LimitN
|
func (statement *Statement) writeSelect(w *builder.BytesWriter, columnStr string) error {
|
||||||
if dialect.URI().DBType == schemas.MSSQL {
|
if _, err := fmt.Fprintf(w, "SELECT "); err != nil {
|
||||||
if pLimitN != nil {
|
return err
|
||||||
LimitNValue := *pLimitN
|
|
||||||
top = fmt.Sprintf("TOP %d ", LimitNValue)
|
|
||||||
}
|
}
|
||||||
|
if err := statement.writeDistinct(w); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if err := statement.writeTop(w); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err := fmt.Fprint(w, columnStr)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
func (statement *Statement) writeWhere(w *builder.BytesWriter) error {
|
||||||
|
if !statement.cond.IsValid() {
|
||||||
|
return statement.writeMssqlPaginationCond(w)
|
||||||
|
}
|
||||||
|
if _, err := fmt.Fprint(w, " WHERE "); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if err := statement.cond.WriteTo(statement.QuoteReplacer(w)); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return statement.writeMssqlPaginationCond(w)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (statement *Statement) writeMssqlPaginationCond(w *builder.BytesWriter) error {
|
||||||
|
if statement.dialect.URI().DBType != schemas.MSSQL || statement.LimitN == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
mssqlCondi := builder.NewWriter()
|
||||||
|
|
||||||
|
if err := statement.writeTop(mssqlCondi); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
if statement.Start > 0 {
|
if statement.Start > 0 {
|
||||||
if statement.RefTable == nil {
|
if statement.RefTable == nil {
|
||||||
return "", nil, errors.New("Unsupported query limit without reference table")
|
return errors.New("unsupported query limit without reference table")
|
||||||
}
|
}
|
||||||
var column string
|
var column string
|
||||||
if len(statement.RefTable.PKColumns()) == 0 {
|
if len(statement.RefTable.PKColumns()) == 0 {
|
||||||
|
@ -273,100 +306,107 @@ func (statement *Statement) genSelectSQL(columnStr string, needLimit, needOrderB
|
||||||
|
|
||||||
if _, err := fmt.Fprintf(mssqlCondi, "(%s NOT IN (SELECT TOP %d %s",
|
if _, err := fmt.Fprintf(mssqlCondi, "(%s NOT IN (SELECT TOP %d %s",
|
||||||
column, statement.Start, column); err != nil {
|
column, statement.Start, column); err != nil {
|
||||||
return "", nil, err
|
return err
|
||||||
}
|
}
|
||||||
if err := statement.writeFrom(mssqlCondi); err != nil {
|
if err := statement.writeFrom(mssqlCondi); err != nil {
|
||||||
return "", nil, err
|
return err
|
||||||
}
|
}
|
||||||
if whereStr != "" {
|
if err := statement.writeWhere(mssqlCondi); err != nil {
|
||||||
if _, err := fmt.Fprint(mssqlCondi, whereStr); err != nil {
|
return err
|
||||||
return "", nil, err
|
|
||||||
}
|
}
|
||||||
if err := utils.WriteBuilder(mssqlCondi, statement.QuoteReplacer(condWriter)); err != nil {
|
|
||||||
return "", nil, err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if needOrderBy {
|
|
||||||
if err := statement.WriteOrderBy(mssqlCondi); err != nil {
|
if err := statement.WriteOrderBy(mssqlCondi); err != nil {
|
||||||
return "", nil, err
|
return err
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if err := statement.WriteGroupBy(mssqlCondi); err != nil {
|
if err := statement.WriteGroupBy(mssqlCondi); err != nil {
|
||||||
return "", nil, err
|
return err
|
||||||
}
|
}
|
||||||
if _, err := fmt.Fprint(mssqlCondi, "))"); err != nil {
|
if _, err := fmt.Fprint(mssqlCondi, "))"); err != nil {
|
||||||
return "", nil, err
|
return err
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if statement.cond.IsValid() {
|
||||||
|
if _, err := fmt.Fprint(w, " AND "); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if _, err := fmt.Fprint(w, " WHERE "); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return utils.WriteBuilder(w, mssqlCondi)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (statement *Statement) writeOracleLimit(w *builder.BytesWriter, columnStr string) error {
|
||||||
|
if statement.LimitN == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
oldString := w.String()
|
||||||
|
w.Reset()
|
||||||
|
rawColStr := columnStr
|
||||||
|
if rawColStr == "*" {
|
||||||
|
rawColStr = "at.*"
|
||||||
|
}
|
||||||
|
_, err := fmt.Fprintf(w, "SELECT %v FROM (SELECT %v,ROWNUM RN FROM (%v) at WHERE ROWNUM <= %d) aat WHERE RN > %d",
|
||||||
|
columnStr, rawColStr, oldString, statement.Start+*statement.LimitN, statement.Start)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
func (statement *Statement) genSelectSQL(columnStr string, needLimit bool) (string, []interface{}, error) {
|
||||||
buf := builder.NewWriter()
|
buf := builder.NewWriter()
|
||||||
if _, err := fmt.Fprintf(buf, "SELECT %v%v%v", distinct, top, columnStr); err != nil {
|
if err := statement.writeSelect(buf, columnStr); err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
if err := statement.writeFrom(buf); err != nil {
|
if err := statement.writeFrom(buf); err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
if whereStr != "" {
|
if err := statement.writeWhere(buf); err != nil {
|
||||||
if _, err := fmt.Fprint(buf, whereStr); err != nil {
|
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
if err := utils.WriteBuilder(buf, statement.QuoteReplacer(condWriter)); err != nil {
|
|
||||||
return "", nil, err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if mssqlCondi.Len() > 0 {
|
|
||||||
if len(whereStr) > 0 {
|
|
||||||
if _, err := fmt.Fprint(buf, " AND "); err != nil {
|
|
||||||
return "", nil, err
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if _, err := fmt.Fprint(buf, " WHERE "); err != nil {
|
|
||||||
return "", nil, err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := utils.WriteBuilder(buf, mssqlCondi); err != nil {
|
|
||||||
return "", nil, err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := statement.WriteGroupBy(buf); err != nil {
|
if err := statement.WriteGroupBy(buf); err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
if err := statement.writeHaving(buf); err != nil {
|
if err := statement.writeHaving(buf); err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
if needOrderBy {
|
|
||||||
if err := statement.WriteOrderBy(buf); err != nil {
|
if err := statement.WriteOrderBy(buf); err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
dialect := statement.dialect
|
||||||
if needLimit {
|
if needLimit {
|
||||||
if dialect.URI().DBType != schemas.MSSQL && dialect.URI().DBType != schemas.ORACLE {
|
if dialect.URI().DBType == schemas.ORACLE {
|
||||||
|
if err := statement.writeOracleLimit(buf, columnStr); err != nil {
|
||||||
|
return "", nil, err
|
||||||
|
}
|
||||||
|
} else if dialect.URI().DBType != schemas.MSSQL {
|
||||||
if err := statement.writeLimitOffset(buf); err != nil {
|
if err := statement.writeLimitOffset(buf); err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
} else if dialect.URI().DBType == schemas.ORACLE {
|
|
||||||
if pLimitN != nil {
|
|
||||||
oldString := buf.String()
|
|
||||||
buf.Reset()
|
|
||||||
rawColStr := columnStr
|
|
||||||
if rawColStr == "*" {
|
|
||||||
rawColStr = "at.*"
|
|
||||||
}
|
|
||||||
fmt.Fprintf(buf, "SELECT %v FROM (SELECT %v,ROWNUM RN FROM (%v) at WHERE ROWNUM <= %d) aat WHERE RN > %d",
|
|
||||||
columnStr, rawColStr, oldString, statement.Start+*pLimitN, statement.Start)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if statement.IsForUpdate {
|
if err := statement.writeForUpdate(buf); err != nil {
|
||||||
return dialect.ForUpdateSQL(buf.String()), buf.Args(), nil
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return buf.String(), buf.Args(), nil
|
return buf.String(), buf.Args(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (statement *Statement) writeForUpdate(w io.Writer) error {
|
||||||
|
if !statement.IsForUpdate {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if statement.dialect.URI().DBType != schemas.MYSQL {
|
||||||
|
return errors.New("only support mysql for update")
|
||||||
|
}
|
||||||
|
_, err := fmt.Fprint(w, " FOR UPDATE")
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
// GenExistSQL generates Exist SQL
|
// GenExistSQL generates Exist SQL
|
||||||
func (statement *Statement) GenExistSQL(bean ...interface{}) (string, []interface{}, error) {
|
func (statement *Statement) GenExistSQL(bean ...interface{}) (string, []interface{}, error) {
|
||||||
if statement.RawSQL != "" {
|
if statement.RawSQL != "" {
|
||||||
|
@ -457,20 +497,12 @@ func (statement *Statement) GenExistSQL(bean ...interface{}) (string, []interfac
|
||||||
return buf.String(), buf.Args(), nil
|
return buf.String(), buf.Args(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GenFindSQL generates Find SQL
|
func (statement *Statement) genSelect() string {
|
||||||
func (statement *Statement) GenFindSQL(autoCond builder.Cond) (string, []interface{}, error) {
|
if len(statement.SelectStr) > 0 {
|
||||||
if statement.RawSQL != "" {
|
return statement.SelectStr
|
||||||
return statement.GenRawSQL(), statement.RawParams, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
if len(statement.TableName()) <= 0 {
|
|
||||||
return "", nil, ErrTableNotFound
|
|
||||||
}
|
}
|
||||||
|
|
||||||
columnStr := statement.ColumnStr()
|
columnStr := statement.ColumnStr()
|
||||||
if len(statement.SelectStr) > 0 {
|
|
||||||
columnStr = statement.SelectStr
|
|
||||||
} else {
|
|
||||||
if statement.JoinStr == "" {
|
if statement.JoinStr == "" {
|
||||||
if columnStr == "" {
|
if columnStr == "" {
|
||||||
if statement.GroupByStr != "" {
|
if statement.GroupByStr != "" {
|
||||||
|
@ -491,9 +523,20 @@ func (statement *Statement) GenFindSQL(autoCond builder.Cond) (string, []interfa
|
||||||
if columnStr == "" {
|
if columnStr == "" {
|
||||||
columnStr = "*"
|
columnStr = "*"
|
||||||
}
|
}
|
||||||
|
return columnStr
|
||||||
|
}
|
||||||
|
|
||||||
|
// GenFindSQL generates Find SQL
|
||||||
|
func (statement *Statement) GenFindSQL(autoCond builder.Cond) (string, []interface{}, error) {
|
||||||
|
if statement.RawSQL != "" {
|
||||||
|
return statement.GenRawSQL(), statement.RawParams, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if len(statement.TableName()) <= 0 {
|
||||||
|
return "", nil, ErrTableNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
statement.cond = statement.cond.And(autoCond)
|
statement.cond = statement.cond.And(autoCond)
|
||||||
|
|
||||||
return statement.genSelectSQL(columnStr, true, true)
|
return statement.genSelectSQL(statement.genSelect(), true)
|
||||||
}
|
}
|
||||||
|
|
|
@ -300,7 +300,7 @@ func (statement *Statement) WriteGroupBy(w builder.Writer) error {
|
||||||
|
|
||||||
// Having generate "Having conditions" statement
|
// Having generate "Having conditions" statement
|
||||||
func (statement *Statement) Having(conditions string) *Statement {
|
func (statement *Statement) Having(conditions string) *Statement {
|
||||||
statement.HavingStr = fmt.Sprintf("HAVING %v", statement.ReplaceQuote(conditions))
|
statement.HavingStr = conditions
|
||||||
return statement
|
return statement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ func (statement *Statement) writeHaving(w builder.Writer) error {
|
||||||
if statement.HavingStr == "" {
|
if statement.HavingStr == "" {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
_, err := fmt.Fprint(w, " ", statement.HavingStr)
|
_, err := fmt.Fprint(w, " HAVING ", statement.ReplaceQuote(statement.HavingStr))
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue