1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2024-12-22 00:36:41 +02:00

сделал ID

This commit is contained in:
Nikitin Aleksandr 2024-01-12 16:36:02 +03:00
parent 3d73e7c495
commit ea9a801623

View File

@ -328,7 +328,7 @@ func ConvertID(Text string, Table1 *types.Table) string {
return Otvet return Otvet
} }
Otvet = strings.ReplaceAll(Otvet, "Request.Id", TextConvert+"(Request.Id)") Otvet = strings.ReplaceAll(Otvet, "Request.ID", TextConvert+"(Request.ID)")
if TextConvert[:6] != "alias." { if TextConvert[:6] != "alias." {
return Otvet return Otvet
} }