rebuildAddRetReason

20230922-ljl-fixBug
daixiaogang 1 year ago
parent 183270b6c8
commit a39a7c76c5

@ -105,4 +105,6 @@ public class MoveProductPublishQueueBO {
private StrObjMap skuPresellChildSkuDetail; private StrObjMap skuPresellChildSkuDetail;
private Double hasImportPrice;
} }

@ -172,4 +172,6 @@ public class MoveShopSettingBO {
private Integer resetSkuStockNum; private Integer resetSkuStockNum;
private Integer resetSkuZeroStockNum; private Integer resetSkuZeroStockNum;
private Integer quantity; private Integer quantity;
private String skuCodeRule;
} }

@ -1995,7 +1995,7 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
price = 0; price = 0;
} }
// TODO // TODO
// skuMap = appendSkuCode(moveBaseData, queueMsg, skuMap, itemNum); skuMap = appendSkuCode(moveBaseData, queueMsg, skuMap, itemNum);
// skuList = buildSkuListAndSkuImages(mSkus.getJSONObject() ['skuMap'], mSkus['colorMap'], mSkus['sizeMap'], condition, (price > 0 ? price : queueMsg.getPrice()), queueMsg.getShopId()); // skuList = buildSkuListAndSkuImages(mSkus.getJSONObject() ['skuMap'], mSkus['colorMap'], mSkus['sizeMap'], condition, (price > 0 ? price : queueMsg.getPrice()), queueMsg.getShopId());
// skuList = calSkuPriceByCondition($isFastMode, $skuList, $condition['price'], $moveBaseData, $cnaliDsDetailId, $hasImportPrice); // skuList = calSkuPriceByCondition($isFastMode, $skuList, $condition['price'], $moveBaseData, $cnaliDsDetailId, $hasImportPrice);
// updateSkuMinPriceInfo = getUpdateSkuMinPriceInfo($condition['price'], $skuList); // updateSkuMinPriceInfo = getUpdateSkuMinPriceInfo($condition['price'], $skuList);
@ -2009,6 +2009,12 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
return result; return result;
} }
private JSONObject appendSkuCode(JSONObject moveBaseData, MoveProductPublishQueueBO queueMsg, JSONObject skuList, String itemNum) {
MoveShopSettingBO condition = queueMsg.getCondition();
return null;
}
private JSONObject resetSkuStock(MoveShopSettingBO condition, JSONObject skuMap, int isFastMode) { private JSONObject resetSkuStock(MoveShopSettingBO condition, JSONObject skuMap, int isFastMode) {
if (isFastMode == 0) { if (isFastMode == 0) {
return skuMap; return skuMap;

Loading…
Cancel
Save