Synchronization code

This commit is contained in:
sunkaixuan
2023-10-11 19:11:17 +08:00
parent 7e6566954f
commit 0082962f75

View File

@@ -78,8 +78,8 @@ namespace SqlSugar
{
methodValue = this.Context.DbMehtods.CaseWhen(new List<KeyValuePair<string, string>>() {
new KeyValuePair<string, string>("IF",methodValue.ObjToString()),
new KeyValuePair<string, string>("Return","1"),
new KeyValuePair<string, string>("End","0")
new KeyValuePair<string, string>("Return", this.Context.DbMehtods.TrueValue()),
new KeyValuePair<string, string>("End", this.Context.DbMehtods.FalseValue())
});
return methodValue;
}