Exemple #1
0
 /// <summary>
 /// 初始化字段信息
 /// </summary>
 public static void DoInit()
 {
     _Roles           = lookupDao.GetLookups("lkpRole");
     _SupplierType    = lookupDao.GetLookups("lkpSupplierType");
     _EquipmentClass  = lookupDao.GetEquipmentClasses();
     _UsageStatus     = lookupDao.GetLookups("lkpUsageStatus");
     _EquipmentStatus = lookupDao.GetLookups("lkpEquipmentStatus");
     _PeriodType      = lookupDao.GetLookups("lkpPeriodType");
     _ContractType    = lookupDao.GetLookups("lkpContractType");
     _ContractScope   = lookupDao.GetLookups("lkpContractScope");
     _RequestStatus   = lookupDao.GetLookups("lkpRequestStatus");
     _RequestType     = lookupDao.GetLookups("lkpRequestType");
     _DispatchStatus  = lookupDao.GetLookups("lkpDispatchStatus");
     _FaultType       = lookupDao.GetLookups("lkpFaultType");
     _DealType        = lookupDao.GetLookups("lkpDealType");
     _Urgency         = lookupDao.GetLookups("lkpUrgency");
     _DepartmentTypes = lookupDao.GetLookups("lkpDepartmentType");
     RecacheDepartments();
     _DispatchDocStatus           = lookupDao.GetLookups("lkpDispatchDocStatus");
     _DispatchJournalResultStatus = lookupDao.GetLookups("lkpDispatchJournalResultStatus");
     _DispatchReportTypes         = lookupDao.GetLookups("lkpDispatchReportType");
     _SolutionResultStatus        = lookupDao.GetLookups("lkpSolutionResultStatus");
     _AccessorySourceType         = lookupDao.GetLookups("lkpAccessorySourceType");
     _CustRptType = lookupDao.GetLookups("lkpCustomReportType");
 }
Exemple #2
0
        /// <summary>
        /// 初始化字段信息
        /// </summary>
        public static void DoInit()
        {
            _Roles           = lookupDao.GetLookups("lkpRole");
            _SupplierType    = lookupDao.GetLookups("lkpSupplierType");
            _EquipmentClass  = lookupDao.GetEquipmentClasses();
            _UsageStatus     = lookupDao.GetLookups("lkpUsageStatus");
            _EquipmentStatus = lookupDao.GetLookups("lkpEquipmentStatus");
            _PeriodType      = lookupDao.GetLookups("lkpPeriodType");
            _ContractType    = lookupDao.GetLookups("lkpContractType");
            _ContractScope   = lookupDao.GetLookups("lkpContractScope");
            _RequestStatus   = lookupDao.GetLookups("lkpRequestStatus");
            _RequestType     = lookupDao.GetLookups("lkpRequestType");
            _DispatchStatus  = lookupDao.GetLookups("lkpDispatchStatus");
            _FaultType       = lookupDao.GetLookups("lkpFaultType");
            _DealType        = lookupDao.GetLookups("lkpDealType");
            _Urgency         = lookupDao.GetLookups("lkpUrgency");
            _DepartmentTypes = lookupDao.GetLookups("lkpDepartmentType");
            RecacheDepartments();
            _DispatchDocStatus           = lookupDao.GetLookups("lkpDispatchDocStatus");
            _DispatchJournalResultStatus = lookupDao.GetLookups("lkpDispatchJournalResultStatus");
            _DispatchReportTypes         = lookupDao.GetLookups("lkpDispatchReportType");
            _SolutionResultStatus        = lookupDao.GetLookups("lkpSolutionResultStatus");
            _AccessorySourceType         = lookupDao.GetLookups("lkpAccessorySourceType");
            _CustRptType = lookupDao.GetLookups("lkpCustomReportType");

            #region atoi2
            _ComponentType  = lookupDao.GetLookups("lkpComponentType");
            _ConsumableType = lookupDao.GetLookups("lkpConsumableType");
            _EquipmentType  = lookupDao.GetLookups("lkpEquipmentType");

            _HospitalLevel = lookupDao.GetHospitalLevels();

            _ObjectType = lookupDao.GetObjectTypes();

            _PurchaseOrderStatus = lookupDao.GetLookups("lkpPurchaseOrderStatus");
            #endregion
        }