Commit ee56bdc7 by yinyong

Merge remote-tracking branch 'origin/master'

parents 4b5c392b a5c5815f
...@@ -23,9 +23,9 @@ public class FbaStockInfo { ...@@ -23,9 +23,9 @@ public class FbaStockInfo {
private String warehouseCode; private String warehouseCode;
@JSONField(name = "asin") @JSONField(name = "asin")
private String asin; private String asin;
@JSONField(name = "stockQuantity")
private Integer usableStock;
@JSONField(name = "totalQuantity") @JSONField(name = "totalQuantity")
private Integer usableStock;
@JSONField(name = "stockQuantity")
private Integer inWarehouse; private Integer inWarehouse;
} }
\ No newline at end of file
...@@ -209,7 +209,7 @@ public class FbaStockJob extends PointJob { ...@@ -209,7 +209,7 @@ public class FbaStockJob extends PointJob {
} }
private void handleFbaShareStock(List<DcBaseStockFba> stockFbaList) { private void handleFbaShareStock(List<DcBaseStockFba> stockFbaList) {
for (int i = 0; i < stockFbaList.size(); i++) { for (int i = 0; i < stockFbaList.size() - 1; i++) {
stockFbaList.get(i).setUsableStock(0); stockFbaList.get(i).setUsableStock(0);
stockFbaList.get(i).setInWarehouse(0); stockFbaList.get(i).setInWarehouse(0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment