Showing
1 changed file
with
4 additions
and
3 deletions
@@ -25,6 +25,7 @@ import com.yohoufo.order.service.impl.SkupListService; | @@ -25,6 +25,7 @@ import com.yohoufo.order.service.impl.SkupListService; | ||
25 | import com.yohoufo.order.service.proxy.ProductProxyService; | 25 | import com.yohoufo.order.service.proxy.ProductProxyService; |
26 | import com.yohoufo.order.service.seller.orderMeta.SellerOrderMetaService; | 26 | import com.yohoufo.order.service.seller.orderMeta.SellerOrderMetaService; |
27 | import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator; | 27 | import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator; |
28 | +import com.yohoufo.order.utils.LoggerUtils; | ||
28 | import org.apache.commons.collections.CollectionUtils; | 29 | import org.apache.commons.collections.CollectionUtils; |
29 | import org.slf4j.Logger; | 30 | import org.slf4j.Logger; |
30 | import org.slf4j.LoggerFactory; | 31 | import org.slf4j.LoggerFactory; |
@@ -44,7 +45,7 @@ import java.util.List; | @@ -44,7 +45,7 @@ import java.util.List; | ||
44 | @Service | 45 | @Service |
45 | public class QuickDeliverGoodsService { | 46 | public class QuickDeliverGoodsService { |
46 | 47 | ||
47 | - private final Logger logger = LoggerFactory.getLogger(getClass()); | 48 | + private final Logger logger = LoggerUtils.getSellerOrderLogger(); |
48 | 49 | ||
49 | @Autowired | 50 | @Autowired |
50 | private QuickDeliverPublishProcessor quickDeliverPublishProcessor; | 51 | private QuickDeliverPublishProcessor quickDeliverPublishProcessor; |
@@ -137,8 +138,8 @@ public class QuickDeliverGoodsService { | @@ -137,8 +138,8 @@ public class QuickDeliverGoodsService { | ||
137 | SellerOrderGoods psog = context.getSellerOrderGoods(); | 138 | SellerOrderGoods psog = context.getSellerOrderGoods(); |
138 | int skup = psog.getId(); | 139 | int skup = psog.getId(); |
139 | try{ | 140 | try{ |
140 | - boolean syncPrdFlag = productProxyService.syncFullSkup(psog=context.getSellerOrderGoods(), SkupStatus.CAN_SELL); | ||
141 | - logger.info("publish quick deliver Prd finish, createGoods {}, skup {}, depositCode {}", | 141 | + boolean syncPrdFlag = productProxyService.syncFullSkup(psog=context.getSellerOrderGoods(), SkupStatus.CAN_SELL); |
142 | + logger.info("publish quick deliver Prd finish, createGoods {}, skup {}, depositCode {}", | ||
142 | syncPrdFlag, skup, depositCode); | 143 | syncPrdFlag, skup, depositCode); |
143 | }catch (Exception ex){ | 144 | }catch (Exception ex){ |
144 | logger.warn("in publish quick deliver prd, sync full skup fail, uid {} depositCode {} skup {}", | 145 | logger.warn("in publish quick deliver prd, sync full skup fail, uid {} depositCode {} skup {}", |
-
Please register or login to post a comment