成品生产入库修改

highway
chj 1 year ago
parent f329c7c39b
commit 836a883081

@ -183,7 +183,7 @@ public class WmsProductPutTrayServiceImpl implements IWmsProductPutTrayService {
wmsFpStorageNewsMapper.insertWmsFpStorageNews(wmsFpStorageNews1);
}else {
//加库存数量
BigDecimal putQuantity = new BigDecimal(wmsProductPut.getPutQuantity());
BigDecimal putQuantity = new BigDecimal(wmsProductPutTray.getNumber());
wmsFpStorageNews.setAmount(wmsFpStorageNews.getAmount().add(putQuantity));
wmsFpStorageNews.setUpdateBy(SecurityContextHolder.getUserName());
wmsFpStorageNews.setUpdateTime(new Date());

Loading…
Cancel
Save