/// <summary>
 /// 获取本逻辑类单例
 /// </summary>
 /// <returns></returns>
 public static PROD_DEPBll GetInstence()
 {
     if (_PROD_DEPBll == null)
     {
         _PROD_DEPBll = new PROD_DEPBll();
     }
     return(_PROD_DEPBll);
 }
示例#2
0
        public string GetProdDep(string DEP_ID)
        {
            List <ConditionFun.SqlqueryCondition> conditionProdduct00List = new List <ConditionFun.SqlqueryCondition>();

            conditionProdduct00List.Add(new ConditionFun.SqlqueryCondition(ConstraintType.Where, PROD_DEPTable.DEP_ID, Comparison.Equals, DEP_ID, false, false));
            DataTable da     = PROD_DEPBll.GetInstence().GetDataTable(false, 0, null, 0, 0, conditionProdduct00List, null);
            string    result = DotNet.Utilities.Json.JsonHelper.ToJson(da);

            return(result);
        }