...
|
...
|
@@ -2,11 +2,11 @@ package com.yohoufo.order.service.seller.changePrice; |
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.yohobuy.ufo.model.order.bo.SoldPrdComputeBo;
|
|
|
import com.yohobuy.ufo.model.order.common.Payment;
|
|
|
import com.yohobuy.ufo.model.order.constants.SkupType;
|
|
|
import com.yohobuy.ufo.model.order.req.SingleGoodsChangePriceReq;
|
|
|
import com.yohoufo.common.exception.UfoServiceException;
|
|
|
import com.yohoufo.dal.order.model.SellerWalletDetail;
|
|
|
import com.yohobuy.ufo.model.order.common.Payment;
|
|
|
import com.yohoufo.order.model.dto.ChangePricePrepareDTO;
|
|
|
import com.yohoufo.order.model.dto.LifeCycleSellerGoods;
|
|
|
import com.yohoufo.order.model.dto.SellerTaskDTO;
|
...
|
...
|
@@ -15,7 +15,6 @@ import com.yohoufo.order.model.response.OrderSubmitResp; |
|
|
import com.yohoufo.order.service.handler.SellerDecrPriceTaskHandler;
|
|
|
import com.yohoufo.order.service.handler.SellerIncrPriceTaskHandler;
|
|
|
import com.yohoufo.order.service.impl.SellerOrderService;
|
|
|
import com.yohoufo.order.service.seller.imperfect.ImperfectGoodsService;
|
|
|
import com.yohoufo.order.service.seller.processor.SellerTaskProcessor;
|
|
|
import com.yohoufo.order.utils.LoggerUtils;
|
|
|
import org.slf4j.Logger;
|
...
|
...
|
@@ -39,9 +38,6 @@ public class ChangePriceService { |
|
|
private SingleGoodsChangePricePrepareProcessor singleGoodsChangePricePrepareProcessor;
|
|
|
|
|
|
@Autowired
|
|
|
private ImperfectGoodsService imperfectGoodsService;
|
|
|
|
|
|
@Autowired
|
|
|
private SellerTaskProcessor sellerTaskProcessor;
|
|
|
|
|
|
@Autowired
|
...
|
...
|
@@ -63,7 +59,6 @@ public class ChangePriceService { |
|
|
public SoldPrdComputeBo computeChangePrice(SingleGoodsChangePriceReq req){
|
|
|
LifeCycleSellerGoods lcsg = getLifeCycleSellerGoods(req.getSkup());
|
|
|
final SkupType skupType = lcsg.getSkupType();
|
|
|
final Payment payment = lcsg.getPayment();
|
|
|
logger.info("in computeChangePrice 4 single goods, req {} LifeCycleSellerGoods {}", req, lcsg);
|
|
|
SoldPrdComputeBo spcb = null;
|
|
|
switch (skupType){
|
...
|
...
|
|