fix: 网元版本信息变更属性注释等
This commit is contained in:
1 parent
91f4db75f1
commit
1d1c58475c
3 files changed
+47
-35
No files matched your search
@@ -78,6 +78,7 @@ func (s *NeVersionController) Add(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
body.CreateBy = ctx.LoginUserToUserName(c)
|
||||
insertId := s.neVersionService.Insert(body)
|
||||
if insertId != "" {
|
||||
c.JSON(200, result.Ok(nil))
|
||||
@@ -115,6 +116,7 @@ func (s *NeVersionController) Edit(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
body.UpdateBy = ctx.LoginUserToUserName(c)
|
||||
rows := s.neVersionService.Update(body)
|
||||
if rows > 0 {
|
||||
c.JSON(200, result.Ok(nil))
|
||||
|
||||
Reference in new issue
Block a user