fix: 修复删除脚本错误
#Comment comment commit:54997a53ef8c05b822cb3e556349d75be0067338
This commit is contained in:
parent
8e3f67e746
commit
0e7ad0a282
|
@ -25,8 +25,8 @@ namespace Bootstrap.DataAccess
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
db.BeginTransaction();
|
db.BeginTransaction();
|
||||||
db.Execute($"delete from NavigationRole where NavigationID in @value", new { value });
|
db.Execute($"delete from NavigationRole where NavigationID in (@value)", new { value });
|
||||||
db.Delete<Menu>($"where ID in @value", new { value });
|
db.Delete<Menu>($"where ID in (@value)", new { value });
|
||||||
db.CompleteTransaction();
|
db.CompleteTransaction();
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue