Authored by mali

platform工程拆分

@@ -37,3 +37,9 @@ obj/ @@ -37,3 +37,9 @@ obj/
37 logs/ 37 logs/
38 service/target/ 38 service/target/
39 web/target/ 39 web/target/
  40 +web/.settings/
  41 +service/.settings/
  42 +deploy/.settings/
  43 +.settings/
  44 +*.classpath
  45 +deploy/.gitignore
@@ -60,10 +60,129 @@ @@ -60,10 +60,129 @@
60 </bean> 60 </bean>
61 61
62 <!-- 批量操作服务定义 --> 62 <!-- 批量操作服务定义 -->
63 -  
64 - <!-- 批量操作服务定义 -->  
65 - 63 + <util:map id="batchImportBusiness" key-type="java.lang.String"
  64 + value-type="com.yohobuy.platform.common.service.IBusinessImportService">
  65 + <!--<entry key="price" value-ref="PriceImportServiceImpl"></entry>
  66 + <entry key="brandCooperation" value-ref="brandCooperationImportServiceImpl"></entry>
  67 + <entry key="productPool" value-ref="productPoolImportServiceImpl"></entry>
  68 + <entry key="brandProperty" value-ref="BrandPropertyImportService"></entry>
  69 + <entry key="searchSort" value-ref="SearchSortImportService"></entry>
  70 + <entry key="baseProduct" value-ref="baseProductImportServiceImpl"></entry>
  71 + <entry key="productImg" value-ref="batchProdImgImportServiceImpl"></entry>
  72 + <entry key="productModelTry" value-ref="prodModelTryImportServiceImpl"></entry>
  73 + <entry key="outletModify" value-ref="batchModifyOutletImportServiceImpl"></entry>
  74 + <entry key="supplyModify" value-ref="batchModifySupplyImportServiceImpl"></entry>
  75 + <entry key="drawlineUserQueue" value-ref="DrawlineUserQueueImportServiceImpl"></entry>
  76 + <entry key="yohoCoin" value-ref="yohoCoinImportServiceImpl"></entry>
  77 + <entry key="payDeliveryModify" value-ref="batchModifyPayDeliveryImportServiceImpl"></entry>
  78 + <entry key="activityProduct" value-ref="activityProductService"></entry>
  79 + <entry key="refundExchangeModify" value-ref="batchModifyRefundExchangeImportServiceImpl"></entry>
  80 + <entry key="skuFactoryCodeModify" value-ref="updateSkuFactoryCodeServiceImpl"></entry>
  81 + <entry key="appTypeModify" value-ref="batchModifyAppTypeImportServiceImpl"></entry>
  82 + <entry key="productSaleModify" value-ref="batchModifyProductSaleImportServiceImpl"></entry>
  83 + <entry key="storeProductSaleModify" value-ref="batchModifyStoreProductSaleImportServiceImpl"></entry>
  84 + <entry key="productTagModify" value-ref="productTagImportServiceImpl"></entry>
  85 + <entry key="productPriceAudit" value-ref="batchAuditProductPriceServiceImpl"></entry>
  86 + <entry key="offShelveSkn" value-ref="OffShelveSknImportService"></entry>
  87 + <entry key="studentPrice" value-ref="studentPriceImportService" />
  88 + <entry key="limitProductUid" value-ref="limitUidImportServiceImpl"></entry>
  89 + <entry key="onShelveSkn" value-ref="onShelveBatchSknImportService" />
  90 + <entry key="categoryLinkProduct" value-ref="categoryLinkProductImportServiceImpl"></entry>
  91 + <entry key="batchSknLink" value-ref="batchSknLinkImportServiceImpl"></entry>
  92 + <entry key="secKill" value-ref="seckillImportServiceImpl"></entry>
  93 + <entry key="shopsPromote" value-ref="shopsPromoteImportService" />
  94 + <entry key="depositAdvance" value-ref="depositAdvanceImportServiceImpl"></entry>
  95 + <entry key="depositAdvanceTime" value-ref="depositAdvanceTimeImportImpl"></entry>
  96 + <entry key="productSingleDay" value-ref="productSingleDayService" />
  97 + <entry key="makePromtion" value-ref="MakePromotionImportServiceImpl"></entry>
  98 + <entry key="productSingleDay" value-ref="productSingleDayService" />
  99 + <entry key="productBundle" value-ref="productBundleService" />
  100 + <entry key="productBatch" value-ref="productBatchService" />
  101 + <entry key="sockpupetCommentsImport" value-ref="sockpupetCommentsImportServiceImpl"/>
  102 + <entry key="makePriceItemImport" value-ref="makePriceServiceImpl"/>
  103 + <entry key="productBuyLimitImport" value-ref="productBuyLimitServiceImpl"/>
  104 + <entry key="promotionPhrase" value-ref="PhraseBatchImportService"/>
  105 + <entry key="skcFactoryCode" value-ref="updateSkcFactoryCodeServiceImpl"/>
  106 + <entry key="sknYearAndSeason" value-ref="updateSknYearAndSeasonImpl"/>
  107 + <entry key="skuUpmCode" value-ref="updateUpmServiceImpl"/>
  108 + <entry key="brandSaleTime" value-ref="productBrandSaleTimeService"/>
  109 + <entry key="brandClassic" value-ref="productBrandClassicService"/>
  110 + <entry key="expectSaleTime" value-ref="productExpectSaleTimeService"/>
  111 + <entry key="brandImageBatch" value-ref="batchBrandImgImportServiceImpl"/>
  112 + <entry key="productPhrase" value-ref="productPhraseImportService"/>
  113 + <entry key="productSknImport" value-ref="productSknImportServiceImpl"/>
  114 + <entry key="productMaterialImport" value-ref="productMaterialServiceImpl"/>
  115 + <entry key="recProduct" value-ref="newUserRecProductImportServiceImpl"></entry>
  116 + <entry key="vipBatch" value-ref="vipServiceImpl"></entry>
  117 + <entry key="couponLimitImport" value-ref="couponLimitServiceImpl"></entry>
  118 + <entry key="activitySknImport" value-ref="activityRegistrationProductServiceImpl"></entry>
  119 + <entry key="sellerProductImport" value-ref="sellerProductImportService"></entry>
  120 + <entry key="unionUrlImport" value-ref="unionUrlImportServiceImpl"></entry>
  121 + <entry key="couponProductLimit" value-ref="couponProductLimitImportService"></entry>
  122 + <entry key="depositPrdImport" value-ref="depositPrdImportService"/>
  123 + <entry key="shopCrossRecServiceImpl" value-ref="shopCrossRecServiceImpl"></entry>
  124 + <entry key="advancePrdImport" value-ref="advancePrdImportService"></entry>
  125 + <entry key="updateSknName" value-ref="updateProductNameService"></entry>
  126 + <entry key="downSknName" value-ref="downloadProductNameService"></entry>
  127 + <entry key="productPoolBatchDel" value-ref="ProductPoolBatchDelImportServiceImpl"></entry>
  128 + <entry key="followPriceImport" value-ref="followPriceOperateService"></entry>
  129 + <entry key="nationalCodeImportService" value-ref="nationalCodeImportService"></entry>
  130 + <entry key="newNationalCodeImportService" value-ref="newNationalCodeImportService"></entry>
  131 + <entry key="collageImport" value-ref="collageProductServiceImpl"></entry>
  132 + <entry key="depositPrdDelImport" value-ref="depositPrdDelImportService" />
  133 + <entry key="reportFormChannelIdService" value-ref="reportFormChannelIdServiceImpl"/>
  134 + <entry key="distributionBatchImportService" value-ref="distributionBatchImportServiceImpl"/>
  135 + <entry key="shopCouponLimitImport" value-ref="shopCouponLimitServiceImpl"></entry>
  136 + <entry key="priceUpdateImport" value-ref="priceUpdateImportServiceImpl"></entry>
  137 + <entry key="vipReturnCoinBatch" value-ref="vipReturnCoinServiceImpl"></entry>
  138 + <entry key="changeSize" value-ref="changeSizeImportServiceImpl"></entry>-->
  139 + </util:map>
66 <!-- 批量操作服务定义 --> 140 <!-- 批量操作服务定义 -->
  141 + <util:map id="batchExportBusiness" key-type="java.lang.String"
  142 + value-type="com.yohobuy.platform.common.service.IBusinessExportService">
  143 + <!--<entry key="netSale" value-ref="NetSaleExportServiceImpl"></entry>
  144 + <entry key="limitProductReminder" value-ref="LimitProductExportServiceImpl"></entry>
  145 + <entry key="drawlineUserQueue" value-ref="DrawlineUserQueueExportServiceImpl"></entry>
  146 + <entry key="yohoCoin" value-ref="yohoCoinExportService"></entry>
  147 + <entry key="suggestExport" value-ref="suggestExportService"/>
  148 + <entry key="linkExport" value-ref="linkExportService"/>
  149 + <entry key="linkBatchExport" value-ref="linkBatchExportService"/>
  150 + <entry key="brandPayDeliveryExport" value-ref="brandPayDeliveryExportServiceImpl"></entry>
  151 + <entry key="brandPayDeliveryCheckExport" value-ref="brandPayDeliveryCheckExportServiceImpl"></entry>
  152 + <entry key="productPayDeliveryExport" value-ref="productPayDeliveryExportServiceImpl"></entry>
  153 + <entry key="couponLogsExport" value-ref="couponLogsExportServiceImpl"></entry>
  154 + <entry key="useCouponLogsExport" value-ref="useCouponLogsExportServiceImpl"></entry>
  155 + <entry key="pCouponSnsExport" value-ref="pcouponSnsExportServiceImpl"></entry>
  156 + <entry key="baseProduce" value-ref="baseProduceExportServiceImpl"/>
  157 + <entry key="productRefundExchangeExport" value-ref="productRefundExchangeExportServiceImpl"></entry>
  158 + <entry key="productSortRefundExchangeExport" value-ref="productSortRefundExchangeExportServiceImpl"></entry>
  159 + <entry key="couponSendErrorExport" value-ref="couponSendErrorExportService"/>
  160 + <entry key="instalmentSknsExport" value-ref="instalmentSknsExportServiceImpl"/>
  161 + <entry key="shopSaleExport" value-ref="shopSaleExportServiceImpl"/>
  162 + <entry key="productSaleExport" value-ref="productSaleExportServiceImpl"/>
  163 + <entry key="productSaleOnShelvesExport" value-ref="productSaleOnShelvesExportServiceImpl"/>
  164 + <entry key="limitProductUid" value-ref="limitUidExportServiceImpl" />
  165 + <entry key="sns" value-ref="showCommentExportService" />
  166 + <entry key="changePriceExport" value-ref="changePriceExportServiceImpl"/>
  167 + <entry key="productPriceExport" value-ref="productPriceExportServiceImpl"/>
  168 + <entry key="makePromotionExportServiceImpl" value-ref="MakePromotionExportServiceImpl"/>
  169 + <entry key="userCouponHistoryExport" value-ref="userCouponHistoryExportService"/>
  170 + <entry key="userShareHistoryExport" value-ref="userShareHistoryExportService"/>
  171 + <entry key="productBatchServiceExport" value-ref="productBatchServiceExportImpl"/>
  172 + <entry key="productBundleServiceExport" value-ref="productBundleServiceExportImpl"/>
  173 + <entry key="exportConsultServiceExport" value-ref="exportConsultServiceImpl"/>
  174 + <entry key="productTagServiceExport" value-ref="productTagExportServiceImpl"/>
  175 + <entry key="channelProductServiceExport" value-ref="channelProductServiceExportImpl"/>
  176 + <entry key="promotionPhraseExport" value-ref="promotionPhraseExportImpl"/>
  177 + <entry key="reportFormExport" value-ref="reportFormServiceImpl"/>
  178 + <entry key="channelProductServiceExport" value-ref="channelProductServiceExportImpl"/>
  179 + <entry key="productExportServiceImpl" value-ref="productExportService"/>
  180 + <entry key="timeLimitDepositImportErrorMsgExport" value-ref="timeLimitDepositImportErrorMsgExportService" />
  181 + <entry key="couponExport" value-ref="couponExportService" />
  182 + <entry key="distributionBatchExportService" value-ref="distributionBatchExportServiceImpl"/>
  183 + <entry key="collageActivityExport" value-ref="collageActivitiesServiceImpl" />
  184 + <entry key="batchExportReturnCoin" value-ref="VipReturnCoinExportServiceImpl" />-->
  185 + </util:map>
67 186
68 187
69 <!-- 批量操作服务定义 --> 188 <!-- 批量操作服务定义 -->
@@ -187,4 +306,10 @@ @@ -187,4 +306,10 @@
187 306
188 <bean id="batchForkJoinPool" class="java.util.concurrent.ForkJoinPool" > 307 <bean id="batchForkJoinPool" class="java.util.concurrent.ForkJoinPool" >
189 </bean> 308 </bean>
  309 +
  310 + <!--Excel模板生成器配置-->
  311 + <util:map id="TemplateCreators" key-type="java.lang.String"
  312 + value-type="com.yohobuy.platform.common.service.IExcelTemplatService">
  313 + <!--商家端批量创建商品模板-->
  314 + </util:map>
190 </beans> 315 </beans>
@@ -53,7 +53,7 @@ rabbit_password=yoho @@ -53,7 +53,7 @@ rabbit_password=yoho
53 #zookeeper address 53 #zookeeper address
54 zkAddress=192.168.102.45:2181 54 zkAddress=192.168.102.45:2181
55 #dev 55 #dev
56 -web.context=pfproduct 56 +web.context=pfseller
57 57
58 execute.limitcode.host=192.168.90.9 58 execute.limitcode.host=192.168.90.9
59 execute.shopmessage.host=192.168.90.9 59 execute.shopmessage.host=192.168.90.9
1 -consumer:  
2 - - address: 192.168.102.45:5672  
3 - username: yoho  
4 - password: yoho  
5 - consumers:  
6 - - class: com.yohobuy.platform.product.mq.CleanSknCacheCommonConsumer  
7 - topic: platform.clearMemcachedBySkn  
8 - federation:  
9 -  
10 - - class: com.yohobuy.platform.product.mq.ProductMqCompleteConsumer  
11 - topic: platform.cunsumer.complete  
12 - federation:  
13 -  
14 - - class: com.yohobuy.platform.product.mq.SecKillStorageMessageConsumer  
15 - topic: secKillStorageUpdateTopic  
16 - federation:  
17 -  
18 - - class: com.yohobuy.platform.product.mq.StorageMessageConsumerEx  
19 - topic: storageUpdateTopicEx  
20 - federation:  
21 -  
22 -# - class: com.yohobuy.platform.sns.mq.ShareOrderAuditMessageConsumer  
23 -# topic: sns.shareOrderAuditTopic  
24 -# federation:  
25 -  
26 -  
27 producer: 1 producer:
28 - address: 192.168.102.45:5672 2 - address: 192.168.102.45:5672
29 username: yoho 3 username: yoho
@@ -56,7 +56,7 @@ execute.update_product_price.host=${execute.update_product_price.host} @@ -56,7 +56,7 @@ execute.update_product_price.host=${execute.update_product_price.host}
56 56
57 #zookeeper address 57 #zookeeper address
58 zkAddress=${zkAddress} 58 zkAddress=${zkAddress}
59 -web.context=pfproduct 59 +web.context=pfseller
60 60
61 # erp shops login service\ 61 # erp shops login service\
62 erp.shops.login.url=${erp.shops.login.url} 62 erp.shops.login.url=${erp.shops.login.url}
1 -  
2 -  
3 -  
4 producer: 1 producer:
5 - address: ${rabbit_common} 2 - address: ${rabbit_common}
6 username: ${rabbit_common_user} 3 username: ${rabbit_common_user}