1
0
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:
Nikitin Aleksandr 2024-01-23 14:36:34 +03:00
parent fa92e78f8c
commit 6ec1421434
3 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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 != "" {