Beispiel #1
0
        /// <summary>
        /// 创建组织
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        public bool CreateOrgInfo(string orgName, string orgCode, string orgDesc, string orderno)
        {
            OrganizationInfo info = new OrganizationInfo();

            info.OrgName        = orgName;
            info.OrgCode        = orgCode;
            info.OrgDescription = orgDesc;
            int _orderNo = 0;

            int.TryParse(orderno, out _orderNo);
            info.OrderNo = _orderNo;
            return(dal.CreateOrgInfo(info));
        }