Commit 60c12d31 by wutong

修复共享FBA库存都分配0的问题

parent 40e481fd
...@@ -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