修改BUG:Roles文件增加删除集合为空保护
This commit is contained in:
parent
f5b874a6cc
commit
68b6ded1ea
|
@ -76,6 +76,7 @@ namespace Bootstrap.DataAccess
|
|||
/// <param name="value"></param>
|
||||
public virtual bool Delete(IEnumerable<string> value)
|
||||
{
|
||||
if (!value.Any()) return true;
|
||||
bool ret = false;
|
||||
var ids = string.Join(",", value);
|
||||
var db = DbManager.Create();
|
||||
|
|
Loading…
Reference in New Issue