mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
сделал mutex_GetVersionModel
This commit is contained in:
parent
fa92e78f8c
commit
6ec1421434
@ -1,7 +1,7 @@
|
||||
package grpc_lawsuit_status_types
|
||||
|
||||
import (
|
||||
config "github.com/ManyakRus/starter/config_main"
|
||||
"github.com/ManyakRus/starter/config_main"
|
||||
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/network/grpc/grpc_client"
|
||||
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/object_model/entities/lawsuit_status_types"
|
||||
"math"
|
||||
|
@ -1,7 +1,7 @@
|
||||
package nrpc_lawsuit_status_types
|
||||
|
||||
import (
|
||||
config "github.com/ManyakRus/starter/config_main"
|
||||
"github.com/ManyakRus/starter/config_main"
|
||||
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/network/nrpc/nrpc_client"
|
||||
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/object_model/entities/lawsuit_status_types"
|
||||
"testing"
|
||||
|
@ -167,11 +167,11 @@ func CreateTestFiles(Table1 *types.Table) error {
|
||||
TextNRPCClient = strings.ReplaceAll(TextNRPCClient, config.Settings.TEXT_TEMPLATE_TABLENAME, Table1.Name)
|
||||
TextNRPCClient = config.Settings.TEXT_MODULE_GENERATED + TextNRPCClient
|
||||
|
||||
//if config.Settings.HAS_IS_DELETED == true {
|
||||
// TextNRPCClient = DeleteFuncTestDelete(TextNRPCClient, ModelName, Table1)
|
||||
// TextNRPCClient = DeleteFuncTestRestore(TextNRPCClient, ModelName, Table1)
|
||||
//}
|
||||
//TextNRPCClient = DeleteFuncTestFind_byExtID(TextNRPCClient, ModelName, Table1)
|
||||
if config.Settings.HAS_IS_DELETED == true {
|
||||
TextNRPCClient = DeleteFuncTestDelete(TextNRPCClient, ModelName, Table1)
|
||||
TextNRPCClient = DeleteFuncTestRestore(TextNRPCClient, ModelName, Table1)
|
||||
}
|
||||
TextNRPCClient = DeleteFuncTestFind_byExtID(TextNRPCClient, ModelName, Table1)
|
||||
|
||||
//Postgres_ID_Test = ID Minimum
|
||||
if Table1.IDMinimum != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user