|
@@ -7,6 +7,7 @@ import com.emato.cus.supervise.domainCus.CusAcqGoodsSeat06;
|
|
import com.emato.cus.supervise.domainOms.OmsAcqInventoryInfo;
|
|
import com.emato.cus.supervise.domainOms.OmsAcqInventoryInfo;
|
|
import com.emato.cus.supervise.domainOms.OmsProductInfo;
|
|
import com.emato.cus.supervise.domainOms.OmsProductInfo;
|
|
import com.google.common.collect.Lists;
|
|
import com.google.common.collect.Lists;
|
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
@@ -53,6 +54,11 @@ public class AcqGoodsOnSeatDataConversion implements DataConversion{
|
|
OmsAcqInventoryInfo omsAcqInventoryInfo = omsAcqInventoryInfoMap.get(wmsAcqGoodsOnSeat.getMerchSn());
|
|
OmsAcqInventoryInfo omsAcqInventoryInfo = omsAcqInventoryInfoMap.get(wmsAcqGoodsOnSeat.getMerchSn());
|
|
OmsProductInfo omsProductInfo = omsProductInfoMap.get(wmsAcqGoodsOnSeat.getSkuNo());
|
|
OmsProductInfo omsProductInfo = omsProductInfoMap.get(wmsAcqGoodsOnSeat.getSkuNo());
|
|
|
|
|
|
|
|
+ String osku = omsProductInfo.getSkuNo();
|
|
|
|
+ if (StringUtils.isBlank(osku)) {
|
|
|
|
+ logger.error("当前转换的sku为: {}, 对应的产品备案数据异常", osku);
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
logger.debug("当前转换的sku为: {}", omsProductInfo.getSkuNo());
|
|
logger.debug("当前转换的sku为: {}", omsProductInfo.getSkuNo());
|
|
|
|
|
|
CusAcqGoodsSeat06 cusAcqGoodsSeat06 = new CusAcqGoodsSeat06();
|
|
CusAcqGoodsSeat06 cusAcqGoodsSeat06 = new CusAcqGoodsSeat06();
|