mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-26 16:46:14 +08:00
fix 一些使用问题
This commit is contained in:
@@ -109,7 +109,7 @@ func setDefault(field *sysin.GenCodesColumnListModel) {
|
||||
|
||||
setDefaultValue(field)
|
||||
|
||||
if field.IsAllowNull == "YES" {
|
||||
if field.IsAllowNull == "NO" {
|
||||
field.Required = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user