修改BUG:Roles文件增加删除集合为空保护

This commit is contained in:
Argo-Surface 2019-01-17 13:28:23 +08:00
parent f5b874a6cc
commit 68b6ded1ea
1 changed files with 1 additions and 0 deletions

View File

@ -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();