正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -273,7 +273,7 @@ func editSelfCheckData(templateId int64, data []protocol.TemplateSelfCheck, om o | @@ -273,7 +273,7 @@ func editSelfCheckData(templateId int64, data []protocol.TemplateSelfCheck, om o | ||
273 | mm.Id = idworker.NextId() | 273 | mm.Id = idworker.NextId() |
274 | newSelfCheckData = append(newSelfCheckData, mm) | 274 | newSelfCheckData = append(newSelfCheckData, mm) |
275 | } | 275 | } |
276 | - if _, ok := oldSelfCheckMap[m.Id]; ok { | 276 | + if _, ok := oldSelfCheckMap[mm.Id]; ok { |
277 | updateSelfCheck = append(updateSelfCheck, mm) | 277 | updateSelfCheck = append(updateSelfCheck, mm) |
278 | delete(oldSelfCheckMap, mm.Id) | 278 | delete(oldSelfCheckMap, mm.Id) |
279 | } | 279 | } |
-
请 注册 或 登录 后发表评论