mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
сделал ID
This commit is contained in:
parent
3d73e7c495
commit
ea9a801623
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user