作者 tangxvhui

bug 修复

... ... @@ -273,7 +273,7 @@ func editSelfCheckData(templateId int64, data []protocol.TemplateSelfCheck, om o
mm.Id = idworker.NextId()
newSelfCheckData = append(newSelfCheckData, mm)
}
if _, ok := oldSelfCheckMap[m.Id]; ok {
if _, ok := oldSelfCheckMap[mm.Id]; ok {
updateSelfCheck = append(updateSelfCheck, mm)
delete(oldSelfCheckMap, mm.Id)
}
... ...