|
@@ -126,6 +126,7 @@ public class WorkpieceServiceImpl extends SuperServiceImpl<WorkpieceMapper, TWor
|
|
|
BaseContextHandler.setTenant("0000");
|
|
|
Map map = new HashMap();
|
|
|
map.put("fullFlag","1");
|
|
|
+ map.put("goodsName","1");
|
|
|
List<ProductionresourcePosition> list = productionresourcePositionMapper.getPPList(map);
|
|
|
Map<String, List<ProductionresourcePosition>> pointMap = list.stream().collect(groupingBy(ProductionresourcePosition::getPointId));
|
|
|
|
|
@@ -138,11 +139,13 @@ public class WorkpieceServiceImpl extends SuperServiceImpl<WorkpieceMapper, TWor
|
|
|
}
|
|
|
ProductionresourcePosition position0 = subList.get(0);
|
|
|
returnMap.put("pointId",key);
|
|
|
+ returnMap.put("name",position0.getName());
|
|
|
returnMap.put("lockStatus",position0.getLockStatus());
|
|
|
List<Map>l = new ArrayList<>();
|
|
|
for(ProductionresourcePosition p:subList){
|
|
|
if(p.getGoodsId()!=null){
|
|
|
Map m = new HashMap();
|
|
|
+ m.put("goodsName",p.getGoodsName());
|
|
|
m.put("goodsId",p.getGoodsId());
|
|
|
m.put("category",p.getCategory());
|
|
|
l.add(m);
|