1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-01-04 13:23:00 +02:00

сделал FindText_ConvertToString()

This commit is contained in:
Nikitin Aleksandr 2024-12-11 15:22:02 +03:00
parent 4425f061bb
commit e0af18124b

View File

@ -503,7 +503,7 @@ func FillIDMinimum_ManyPK(MapTable map[string]*types.Table) error {
for _, Column1 := range ColumnsPK {
DefaultValueSQL := create_files.FindText_DefaultValueSQL(Column1.TypeGo)
TextSQL += `and ` + Column1.Name + ` <> ` + DefaultValueSQL
TextSQL += `and ` + Column1.Name + ` <> ` + DefaultValueSQL + "\n"
}
} else {
TextSQL = `SELECT
@ -521,7 +521,7 @@ func FillIDMinimum_ManyPK(MapTable map[string]*types.Table) error {
`
for _, Column1 := range ColumnsPK {
TextSQL += `and ` + Column1.Name + ` is not null `
TextSQL += `and ` + Column1.Name + ` is not null ` + "\n"
}
TextSQL = TextSQL + `
ORDER BY