|
|
|
|
@ -109,7 +109,7 @@ public class StockService {
|
|
|
|
|
}
|
|
|
|
|
Map<String,Integer> columnTabCorrectCount = new LinkedHashMap<>();
|
|
|
|
|
Map<String,Integer> rowTabCorrectCount = new LinkedHashMap<>();
|
|
|
|
|
List<Stock> stocks = stockMapper.selectList(new QueryWrapper<Stock>().select("status","`row`","`column`").eq("`street_id`",rowColumnStatus.getStreetId()).eq("direction",rowColumnStatus.getDirection()).eq("side",rowColumnStatus.getSide()));
|
|
|
|
|
List<Stock> stocks = stockMapper.selectList(new QueryWrapper<Stock>().select("status","`row`","`column`","tray_code").eq("`street_id`",rowColumnStatus.getStreetId()).eq("direction",rowColumnStatus.getDirection()).eq("side",rowColumnStatus.getSide()));
|
|
|
|
|
if(CollectionUtils.isEmpty(stocks)){
|
|
|
|
|
stockInit(rowColumnStatus.getRowStart(), rowColumnStatus.getRowEnd(), rowColumnStatus.getColumnStart(), rowColumnStatus.getColumnEnd(), null,stocks);
|
|
|
|
|
checkStatus.setStocks(stocks);
|
|
|
|
|
@ -207,6 +207,7 @@ public class StockService {
|
|
|
|
|
stock.setColumn(j);
|
|
|
|
|
stock.setRow(i);
|
|
|
|
|
stock.setStatus(0);
|
|
|
|
|
|
|
|
|
|
//stock.setShelveId(shelveId);
|
|
|
|
|
readyList.add(stock);
|
|
|
|
|
}
|
|
|
|
|
|