-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update语句,二元运算解析出错 #184
Comments
这种应该不支持这么写吧? |
支持这种写法,解析出错,没办法ToSql的。 |
说的是 这种解析不支持 = =。你要不要试试包一个自定义解析试试? |
已经换回原来写的方法 |
原因是与 MapType 处理冲突,现在是分开解决的 |
- 修复 FreeSql.Provider.MySqlConnector Enum 自定义元素值,导致值计算错误的 bug;
` var now = DateTime.Now;
short notstarted = (short)ExaminationState.NotStarted, ongoing = (short)ExaminationState.Ongoing, finished = (short)ExaminationState.Finished;
fsql.Update().Set(it => it.StateId == (it.EndTime < now ? finished : ongoing)).Where(it => it.StateId == notstarted && it.StartTime <= now).ExecuteAffrows();
`
解析出错
The text was updated successfully, but these errors were encountered: