数据库字段风格统一
This commit is contained in:
1 parent
098dfc4d1d
commit
6d187db36a
12 files changed
+128
-121
No files matched your search
@@ -0,0 +1 @@
|
||||
package blog
|
||||
+1
-1
@@ -170,7 +170,7 @@ func InsertSysUser(c *gin.Context) {
|
||||
sysuser.CreateTime = utils.GetCurrntTime()
|
||||
sysuser.UpdateTime = utils.GetCurrntTime()
|
||||
sysuser.CreateBy = utils.GetUserIdStr(c)
|
||||
sysuser.IsDel = "0"
|
||||
sysuser.IsDel = 0
|
||||
id, err := sysuser.Insert()
|
||||
var res models.Response
|
||||
if err != nil {
|
||||
|
||||
@@ -122,7 +122,7 @@ func InsertSysTable(c *gin.Context) {
|
||||
column.ColumnComment = dbcolumn[i].ColumnComment
|
||||
column.ColumnName = dbcolumn[i].ColumnName
|
||||
column.ColumnType = dbcolumn[i].ColumnType
|
||||
column.Sort = utils.IntToString(i + 1)
|
||||
column.Sort = i + 1
|
||||
column.Insert = true
|
||||
column.IsInsert = "1"
|
||||
column.QueryType = "EQ"
|
||||
|
||||
Reference in new issue
Block a user