fix: 网元信息表结构体变更

This commit is contained in:
TsMask
2024-05-16 14:50:36 +08:00
parent 562238a936
commit 12f7eaa16d
3 changed files with 39 additions and 29 deletions

View File

@@ -330,7 +330,7 @@ func (s *NeInfoController) Add(c *gin.Context) {
s.neVersionService.Insert(neVersion)
s.neLicenseService.Insert(neLicense)
body.UpdateBy = loginUserName
body.CreateBy = loginUserName
insertId := s.neInfoService.Insert(body)
if insertId != "" {
c.JSON(200, result.OkData(insertId))