fix: sync2ne flag

This commit is contained in:
simonzhangsz committed 2023-12-26 17:58:16 +08:00
1 parent 374fb9b8f3
commit 491456caa0
2 files changed
+22 -7

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ func XormUpdateNeInfo(neInfo *NeInfo) (int64, error) {
xSession := xEngine.NewSession()
defer xSession.Close()
affected, err := xSession.ID(neInfo.Id).Update(neInfo)
affected, err := xSession.ID(neInfo.Id).MustCols("status").Update(neInfo)
xSession.Commit()
return affected, err
}