fix: sync2ne flag

This commit is contained in:
2023-12-26 17:58:16 +08:00
parent 374fb9b8f3
commit 491456caa0
2 changed files with 22 additions and 7 deletions

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
}