-
|
Beta Was this translation helpful? Give feedback.
Answered by
2881099
Nov 11, 2022
Replies: 1 comment
-
更新,删除没有做多表支持,考虑到:危险操作的场景毕竟是少数 可以观察以下输出: var sql = freeSql.Select<OrderTable>()
.Where(x => x.Status == 0)
.Where(x => freeSql.Select<PayTable>().As("y").Any(y => y.PayId == x.PayId && y.Status == -1))
.ToUpdate()
.Set(x => x.Status == -1)
.ToSql(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zjj10330
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
更新,删除没有做多表支持,考虑到:危险操作的场景毕竟是少数
可以观察以下输出: