| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- /*******************************************************************************
- * Copyright(c) 2012 dongke All rights reserved. / Confidential
- * 类的信息:
- * 1.程序名称:CommonManage.cs
- * 2.功能描述:本系统的数据库访问封装类,所有数据访问都调用
- * 编辑履历:
- * 作者 日期 版本 修改内容
- * 周兴 2012/09/14 1.00 新建
- *******************************************************************************/
- using System;
- using System.Data;
- using System.Data.SqlClient;
- namespace Dongke.IBOSS.PRD.Basics.DataAccess
- {
- /// <summary>
- /// 本系统的数据库访问封装类,所有数据访问都调用
- /// </summary>
- public sealed class CommonManage
- {
- #region 属性
- /// <summary>
- /// 客户公司编码
- /// </summary>
- public static string LicenseCode
- {
- get;
- set;
- }
- #endregion
- //#region 获取票据格式列表
- ///// <summary>
- ///// 根据票据类型获取当前用户的票据列表
- ///// </summary>
- ///// <param name="organizationID">当前组织机构ID</param>
- ///// <param name="beginLetterCode">票据类型</param>
- ///// <returns>该票据类型的数据集</returns>
- ///// <remarks>
- ///// 2012-12-07 欧阳涛 新建
- ///// </remarks>
- //public static DataSet GetInvoiceLayout(int organizationID, string beginLetterCode, WebUserInfo webUserInfo)
- //{
- // // 非法数据,返回null
- // if (0 > organizationID || string.IsNullOrEmpty(beginLetterCode))
- // {
- // return null;
- // }
- // if (6 != beginLetterCode.Length)
- // {
- // return null;
- // }
- // try
- // {
- // SqlParameter[] parameters = new SqlParameter[]
- // {
- // new SqlParameter("@OrganizationID", organizationID),
- // new SqlParameter("@BeginLetterCode", beginLetterCode)
- // };
- // DataSet returnDataSet = DataManager.ExecuteDataset("usp_cmn_GetInvoiceList",
- // CommandType.StoredProcedure,
- // parameters);
- // return returnDataSet;
- // }
- // catch (Exception ex)
- // {
- // throw ex;
- // }
- //}
- //#endregion
- }
- }
|