コード例 #1
0
        public List<DeviceManageViewModel> GetDeviceManageViewModel(string tenantCode)
        {
            //获取租户信息
            IEMTenantService tenantService = new EMTenantService();
            IList<EMTenant> tenantList = tenantService.SelectCustomerOfMerchant(tenantCode);

            return GetDeviceManageViewModel(tenantList);
        }