Commit 6139fd65 zshaohui

1.盘点异常处理

2.库存报表增加隔口排序
1 个父辈 b14d3430
......@@ -841,12 +841,18 @@ public class InventoryController {
List<Map<String, String>> reelInfoList = getReelInfoList(boxBarcode, posName, inventoryBatch, data);
if (reelInfoList != null && !reelInfoList.isEmpty()) {
//index+1 是因为最多从第2盘进行盘点
int index = 0;
if (index != -1){
Map<String, String> map = reelInfoList.get(index);
for (Map<String, String> map : reelInfoList) {
String reel = map.get("reel");
if (StringUtils.isNotEmpty(reel)){
continue;
}
String code = map.get("code");
if (!code.equals(barcode.getBarcode())){
return "当前扫的料盘信息为:"+barcode.getBarcode()+"与要盘点的料盘信息:"+code+"不一致";
} else {
break;
}
}
}
......
......@@ -118,5 +118,7 @@ public class InventoryDto {
*/
private String source;
private int seq;
private long inStockDays = 0;
}
......@@ -558,6 +558,7 @@ public class OuterReportController {
dto.setPutInDate(barcode.getPutInDate());
dto.setCreator(barcode.getCreator());
dto.setBarcode(barcode.getBarcode());
dto.setSeq(barcode.getSeq());
long putInTime = barcode.getPutInTime();
if (putInTime != -1){
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!