fix: sync2ne flag
This commit is contained in:
1 parent
374fb9b8f3
commit
491456caa0
2 files changed
+22
-7
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user