mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2025-01-03 01:22:21 +02:00
сделал работает make init
This commit is contained in:
parent
e63fdfad50
commit
c291452c16
@ -305,7 +305,7 @@ func (crud Crud_DB) Find_ByExtID_ctx(ctx context.Context, m *lawsuit_status_type
|
|||||||
db := postgres_gorm.GetConnection()
|
db := postgres_gorm.GetConnection()
|
||||||
db.WithContext(ctx)
|
db.WithContext(ctx)
|
||||||
|
|
||||||
tx := db.Where("ext_id = ?", m.ExtID).Where("connection_id = ?", m.ConnectionID).First(m)
|
tx := db.Where("ext_id = ?", m.ExtID).Where("connection_id = ?", m.ConnectionID).Order("is_deleted").Order("id").First(m)
|
||||||
err = tx.Error
|
err = tx.Error
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user