databases.yml 7.98 KB
datasources:
   ufo_passport:
      username: ${jdbc.mysql.cobar.username}
      password: ${jdbc.mysql.cobar.password}
      cobar: true
      maxConnections: 80
      minIdle: 20
      maxIdle: 40
      daos:
        - com.yohoufo.dal.user.IUserAuthorizeHistoryDao
        - com.yohoufo.dal.user.IUserAuthorizeInfoDao
        - com.yohoufo.dal.user.IZhiMaCertDao
        - com.yohoufo.dal.user.UsersNoticeMapper

   ufo_product:
      username: ${jdbc.mysql.cobar.username}
      password: ${jdbc.mysql.cobar.password}
      cobar: true
      maxConnections: 80
      minIdle: 20
      maxIdle: 40
      daos:
        - com.yohoufo.dal.product.StoragePriceMapper
        - com.yohoufo.dal.product.StorageMapper
        - com.yohoufo.dal.product.ProductMapper
        - com.yohoufo.dal.product.GoodsMapper
        - com.yohoufo.dal.product.GoodsImagesMapper
        - com.yohoufo.dal.product.SizeMapper
        - com.yohoufo.dal.product.BrandMapper
        - com.yohoufo.dal.product.BrandSeriesMapper
        - com.yohoufo.dal.product.ProductSortMapper
        - com.yohoufo.dal.product.SearchWordMapper
        - com.yohoufo.dal.product.SaleCategoryMapper
        - com.yohoufo.dal.product.IdentifyRecordsMapper
        - com.yohoufo.dal.product.IdentifyRelationMapper
        - com.yohoufo.dal.product.ProductChainMapper
        - com.yohoufo.dal.product.PriceTrendSixtyDayMapper
        - com.yohoufo.dal.product.PriceTrendMonthMapper
        - com.yohoufo.dal.product.PriceTrendHalfYearMapper
        - com.yohoufo.dal.product.PriceTrendDayMapper
        - com.yohoufo.dal.product.ProductImportTranItemMapper
        - com.yohoufo.dal.product.TransferRecordsMapper
        - com.yohoufo.dal.product.TransferRecordsHistoryMapper
        - com.yohoufo.dal.product.ProductLimitSaleMapper
        - com.yohoufo.dal.product.ProductSalesMapper
        - com.yohoufo.dal.product.ProductColorMapper
        - com.yohoufo.dal.product.ProductSelfShelvesMapper
        - com.yohoufo.dal.product.ProductSelfShelvesPicMapper
        - com.yohoufo.dal.product.SecondhandFlawMapper
        - com.yohoufo.dal.product.SecondhandImagesMapper
        - com.yohoufo.dal.product.SecondhandInfoMapper
        - com.yohoufo.dal.product.SelfSizeMapper
        - com.yohoufo.dal.product.SelfSizeUidMapper
        - com.yohoufo.dal.product.ProductProfitMapper
        - com.yohoufo.dal.product.ProductPoolDetailMapper
        - com.yohoufo.dal.product.BidStoragePriceMapper
        - com.yohoufo.dal.product.SizePoolMapper
        - com.yohoufo.dal.product.SizePoolDetailMapper
        - com.yohoufo.dal.product.ProductExtMapper

   ufo_order:
         username: ${jdbc.mysql.cobar.username}
         password: ${jdbc.mysql.cobar.password}
         cobar: true
         maxConnections: 80
         minIdle: 20
         maxIdle: 40
         daos:
           - com.yohoufo.dal.order.BuyerOrderGoodsMapper
           - com.yohoufo.dal.order.BuyerOrderMapper
           - com.yohoufo.dal.order.BuyerOrderMetaMapper
           - com.yohoufo.dal.order.ExpressRecordMapper
           - com.yohoufo.dal.order.ExpressInfoMapper
           - com.yohoufo.dal.order.SellerOrderGoodsMapper
           - com.yohoufo.dal.order.SellerOrderMapper
           - com.yohoufo.dal.order.SellerOrderMetaMapper
           - com.yohoufo.dal.order.OrdersPayMapper
           - com.yohoufo.dal.order.OrdersPayRefundMapper
           - com.yohoufo.dal.order.ExpressCompanyMapper
           - com.yohoufo.dal.order.AppraiseAddressMapper
           - com.yohoufo.dal.order.TradeBillsMapper
           - com.yohoufo.dal.order.OrdersPayTransferMapper
           - com.yohoufo.dal.order.ManualTransferMapper
           - com.yohoufo.dal.order.MachineIdGenerateMapper
           - com.yohoufo.dal.order.SkupBatchMapper
           - com.yohoufo.dal.order.SellerWalletMapper
           - com.yohoufo.dal.order.SellerWalletDetailMapper
           - com.yohoufo.dal.order.OrderCouponMapper
           - com.yohoufo.dal.order.EntrySellerRechargeOrderMapper
           - com.yohoufo.dal.order.StoredSellerMapper
           - com.yohoufo.dal.order.SuperEntrySellerMapper
           - com.yohoufo.dal.order.QiniuLiveRecordMapper
           - com.yohoufo.dal.order.SellerOrderGoodsViewMapper
           - com.yohoufo.dal.order.SellerTaskMapper
           - com.yohoufo.dal.order.SellerTaskDetailMapper
           - com.yohoufo.dal.order.OrdersPrePayMapper
           - com.yohoufo.dal.order.MetaConfigMapper
           - com.yohoufo.dal.order.BuyerOrderStatusFlowMapper
           - com.yohoufo.dal.order.OrderOperateRecordMapper
           - com.yohoufo.dal.order.QualityCheckMapper
           - com.yohoufo.dal.order.BusinessLicenseMapper
           - com.yohoufo.dal.order.SellerEnterApplyMapper
           - com.yohoufo.dal.order.SellerFuncMapper
           - com.yohoufo.dal.order.SellerLevelFuncMapper
           - com.yohoufo.dal.order.OrderOverTimeMapper
           - com.yohoufo.dal.order.BuyerOrderViewMapper
           - com.yohoufo.dal.order.SellerJoinHistoryMapper
           - com.yohoufo.dal.order.SellerChangePriceRecordMapper
           - com.yohoufo.dal.order.InviteActivityMapper
           - com.yohoufo.dal.order.InviteRecordMapper
           - com.yohoufo.dal.order.InviterMapper
           - com.yohoufo.dal.order.InviteSettlementItemMapper
           - com.yohoufo.dal.order.InviteSettlementMapper
           - com.yohoufo.dal.order.InviteCodeSequenceMapper
           - com.yohoufo.dal.order.InviteCodeSequenceRandomMapper
           - com.yohoufo.dal.order.SellerGoodsStatusFlowMapper
           - com.yohoufo.dal.order.CmsPayMapper
           - com.yohoufo.dal.order.OrdersPayHbfqMapper
           - com.yohoufo.dal.order.BlackUserMapper
           - com.yohoufo.dal.order.StorageDepositMapper
           - com.yohoufo.dal.order.DepositOrderMapper
           - com.yohoufo.dal.order.SellerOrderStatsConfigMapper
           - com.yohoufo.dal.order.SellerOrderStatsResultMapper
           - com.yohoufo.dal.order.AlipayBlackUserMapper
           - com.yohoufo.dal.order.AppraiseOrderMapper
           - com.yohoufo.dal.order.AppraiseOrderGoodsMapper
           - com.yohoufo.dal.order.AppraiseOrderMetaMapper
           - com.yohoufo.dal.order.AppraiseOrderStorageMapper
           - com.yohoufo.dal.order.DepositCodeMapper
           - com.yohoufo.dal.order.SellerServiceFeeRuleMapper
           - com.yohoufo.dal.order.BuyerOrderPromotionMapper
           - com.yohoufo.dal.order.BuyerChangePriceRecordMapper

   ufo_promotion:
         username: ${jdbc.mysql.cobar.username}
         password: ${jdbc.mysql.cobar.password}
         cobar: true
         maxConnections: 80
         minIdle: 20
         maxIdle: 40
         daos:
           - com.yohoufo.dal.promotion.CouponMapper
           - com.yohoufo.dal.promotion.CouponProductLimitMapper
           - com.yohoufo.dal.promotion.CouponTypeMapper
           - com.yohoufo.dal.promotion.UserCouponMapper
           - com.yohoufo.dal.promotion.IActivityMapper
           - com.yohoufo.dal.promotion.IActivityAmountConditionMapper
           - com.yohoufo.dal.promotion.IActivityProductScopeMapper
           - com.yohoufo.dal.promotion.CouponDisplayMapper
           - com.yohoufo.dal.promotion.CouponViewMapper


   ufo_resource:
      username: ${jdbc.mysql.cobar.username}
      password: ${jdbc.mysql.cobar.password}
      cobar: true
      maxConnections: 80
      minIdle: 20
      maxIdle: 40
      daos:
        - com.yohoufo.dal.resource.ResourcesContentDataMapper
        - com.yohoufo.dal.resource.ResourcesContentMapper
        - com.yohoufo.dal.resource.ResourcesMapper
        - com.yohoufo.dal.resource.ConfigTypeMapper
        - com.yohoufo.dal.resource.ResourcesGoodsPoolMapper
        - com.yohoufo.dal.resource.ActivtyTemplatedMapper
        - com.yohoufo.dal.resource.ActivtyTemplatedFloorMapper

   line_shops:
     servers:
       - ${jdbc.mysql.lineshops.master}
       - ${jdbc.mysql.lineshops.slave}
     username: ${jdbc.mysql.lineshops.username}
     password: ${jdbc.mysql.lineshops.password}
     daos:
       - com.yohoufo.dal.product.IStoreInfoDAO
       - com.yohoufo.dal.product.IStoreInfoExtendDAO

readOnlyInSlave: true