|
|
@ -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());
|
|
|
|