Beispiel #1
0
        public string GetOrg_tree([FromUri] Parameter parameters)
        {
            if (string.IsNullOrEmpty(parameters.orgid))
            {
                return(DCHelper.ErrorMessage("组织主键为空!"));
            }
            OrganizeModel             org           = CorrespondenceSettingsService.GetOrg_tree(long.Parse(parameters.orgid));
            IList <YsAccountMstModel> ysAccountMsts = new List <YsAccountMstModel>();

            ysAccountMsts = this.YsAccountMstService.Find(t => t.PhId > (long)0).Data;
            org           = GetOrgVerify(org, ysAccountMsts);
            return(DataConverterHelper.SerializeObject(org));
        }