成品生产入库修改

highway
chj 1 year ago
parent f329c7c39b
commit 836a883081

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

Loading…
Cancel
Save