【退料审批】 更新本地库存

dev
siontion 3 months ago
parent 74de4c1d66
commit 5ef8c2180b

@ -426,7 +426,7 @@ public class StorageServiceImpl implements StorageService {
tplusStorageOutDO.setProjectSubCode(sm.getProjectSubCode());
tplusStorageOutDO.setProjectSubName(materialMapper.selectOne(MaterialDO::getCode,sm.getProjectSubCode()).getName());
tplusStorageOutDO.setMatId(materialMapper.selectOne(MaterialDO::getCode,sm.getProjectSubCode()).getId());
tplusStorageOutDO.setStorageOkQty(sm.getStockQuantity().multiply(new BigDecimal(-1)));
tplusStorageOutDO.setStorageOkQty(sm.getStorageOkQty().multiply(new BigDecimal(-1)));
tplusStorageOutDO.setIsSend(0);
sameWhAndMats.add(tplusStorageOutDO);
}

Loading…
Cancel
Save