wms成品销售出库bug2修改

master
mengjiao 5 months ago
parent ef2c813f23
commit 0688080bb8

@ -208,6 +208,7 @@ public class WmsSellOutEmbryoServiceImpl implements IWmsSellOutEmbryoService {
Date date = new Date(); Date date = new Date();
String formattedDate = dateFormat.format(date); String formattedDate = dateFormat.format(date);
String stock= wmsSellOutEmbryoMapper.selectwmsFpStorageNewsTS(formattedDate);
//wmsSellOutEmbryoList2是我根据入参去重后查询出来的所有数据 //wmsSellOutEmbryoList2是我根据入参去重后查询出来的所有数据
for (WmsSellOutEmbryo wmsSellOutEmbryo2: for (WmsSellOutEmbryo wmsSellOutEmbryo2:
wmsSellOutEmbryoList2) { wmsSellOutEmbryoList2) {
@ -219,7 +220,7 @@ public class WmsSellOutEmbryoServiceImpl implements IWmsSellOutEmbryoService {
result=result+","+productCode; result=result+","+productCode;
continue; continue;
} }
String stock= wmsSellOutEmbryoMapper.selectwmsFpStorageNewsTS(formattedDate);
//区分大小planQuantity //区分大小planQuantity
for ( WmsFpStorageNewsSn wmsFpStorageNewsSn: wmsFpStorageNewsSns){ for ( WmsFpStorageNewsSn wmsFpStorageNewsSn: wmsFpStorageNewsSns){
BigDecimal tem= wmsFpStorageNewsSn.getAmount();//数量 BigDecimal tem= wmsFpStorageNewsSn.getAmount();//数量

Loading…
Cancel
Save