...
|
...
|
@@ -29,6 +29,7 @@ import com.yohoufo.order.common.ExpressForMqSend; |
|
|
import com.yohoufo.order.constants.MetaKey;
|
|
|
import com.yohoufo.order.event.BuyerOrderSellerDeliveryCheckEvent;
|
|
|
import com.yohoufo.order.event.ErpBuyerOrderEvent;
|
|
|
import com.yohoufo.order.model.OperateTransferExpressInfo;
|
|
|
import com.yohoufo.order.model.response.AppraiseAddressResp;
|
|
|
import com.yohoufo.order.service.IBuyerOrderMetaService;
|
|
|
import com.yohoufo.order.service.IExpressCompanyService;
|
...
|
...
|
@@ -319,7 +320,25 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
public void saveOperateTransferExpressInfo(Integer uid, Long orderCode, Integer expressType, EnumExpressDataType expressDataType,EnumExpressDataOperateTransferCode operateTransferCode){
|
|
|
LOGGER.info("ExpressInfoServiceImpl begin add OperateTran enter ,uid ={},orderCode={},expressType={},expressDataType={},operateTransferCode={} ",
|
|
|
uid,orderCode,expressType,expressDataType,operateTransferCode);
|
|
|
this.saveOperateTransferExpressInfo(uid,23,orderCode, "", expressType, expressDataType, operateTransferCode);
|
|
|
saveOperateTransferExpressInfo(uid,23,orderCode, "",
|
|
|
expressType, expressDataType, operateTransferCode);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void saveOperateTransfer(OperateTransferExpressInfo request) {
|
|
|
try {
|
|
|
saveOperateTransferExpressInfo(request.getUid(), 23, request.getOrderCode(), "",
|
|
|
request.getExpressType().getCode(), EnumExpressDataType.operate_transfer, request.getOperateTransferCode());
|
|
|
}catch (Exception e){
|
|
|
LOGGER.warn("save Operate Transfer fail, uid is {} order code is {} ");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void saveOperateTransferIf(boolean condition, OperateTransferExpressInfo operateTransferExpressInfo) {
|
|
|
if (condition) {
|
|
|
saveOperateTransfer(operateTransferExpressInfo);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private void saveOperateTransferExpressInfo(Integer uid, Integer expressCompanyId, Long orderCode, String wayBillCode, Integer expressType, EnumExpressDataType expressDataType,EnumExpressDataOperateTransferCode operateTransferCode){
|
...
|
...
|
|