Пример #1
0
        public ServiceResponseData GetRegItemShowCard()
        {
            FeeItemDataSource feeitem = NewObject <FeeItemDataSource>();
            DataTable         dt      = feeitem.GetSimpleFeeItemDataDt(FeeBusinessType.记账业务);

            responseData.AddData(dt);
            return(responseData);
        }
Пример #2
0
        public ServiceResponseData GetDrugItemShowCard()
        {
            FeeItemDataSource feeitem = NewObject <FeeItemDataSource>();
            string            obj     = NewObject <CommonMethod>().GetOpConfig(OpConfigConstant.HasOpDSystem); //判断是否上医生站,上了医生站不能录入药品和组合项目

            if (Convert.ToInt32(obj) == 0)
            {
                DataTable dtDrugItem = feeitem.GetSimpleFeeItemDataDt(FeeBusinessType.处方业务); //项目和药品选项卡来源数据
                responseData.AddData(dtDrugItem);                                            //药品项目选项卡数据
            }
            else
            {
                DataTable dtDrugItem = feeitem.GetSimpleFeeItemDataDt(FeeBusinessType.基础业务); //项目和药品选项卡来源数据
                responseData.AddData(dtDrugItem);                                            //药品项目选项卡数据
            }

            return(responseData);
        }
Пример #3
0
        public ServiceResponseData GetRegItemShowCard()
        {
            FeeItemDataSource feeitem   = NewObject <FeeItemDataSource>();
            DataTable         dt        = feeitem.GetSimpleFeeItemDataDt(FeeBusinessType.记账业务);// EFWCoreLib.CoreFrame.Common.ConvertExtend.ToDataTable(feeitem.GetSimpleFeeItemData(FeeBusinessType.记账业务));
            string            regStatID = NewObject <CommonMethod>().GetOpConfig(OpConfigConstant.RegFeeStatID);
            DataView          dv        = dt.DefaultView;

            if (!string.IsNullOrEmpty(regStatID))
            {
                dv.RowFilter = " statid in (" + regStatID + ")";
            }

            responseData.AddData(dv.Table);
            return(responseData);
        }