完成所有主列表JS模块化

This commit is contained in:
yubaolee
2016-04-16 23:25:00 +08:00
parent 25bb5bf07c
commit 2f0a9a3719
27 changed files with 1426 additions and 1400 deletions

View File

@@ -50,9 +50,9 @@ namespace OpenAuth.App
/// <exception cref="System.Exception">未能找到该组织的父节点信息</exception>
public int AddOrUpdate(Org org)
{
ChangeModuleCascade(org);
if (org.Id == 0)
{
ChangeModuleCascade(org);
_repository.Add(org);
}
else