fix:涂装产线测试问题修复

This commit is contained in:
zhaoyf
2026-07-20 15:37:57 +08:00
parent 1cb246ca92
commit a1bd196ad7
5 changed files with 5 additions and 9 deletions

View File

@@ -77,7 +77,7 @@ public class MesToWmsController {
public ResponseEntity subWorkOrder(@RequestBody List<WorkOrderDto.WorkOrderDataDto> dtos){
String[] filter = {};//过滤产线
for (WorkOrderDto.WorkOrderDataDto dto : dtos) {
if (ArrayUtils.contains(filter, dto.getWorkArea())){
if (!ArrayUtils.contains(filter, dto.getWorkArea())){
iWorkOrderService.insert(dto);
}
}

View File

@@ -276,7 +276,6 @@ public class InboundPdaServiceImpl implements InboundPdaService {
addParam.setStorCode(structattr.getStor_code());
addParam.setQty(item.getQty());
addInvParams.add(addParam);
continue;
}
}
MdMeMaterialbase materDao = iMdMeMaterialbaseService.getByCode(item.getSku_code());

View File

@@ -48,10 +48,7 @@ public class StructAreaDeliveryAutoTask {
return;
}
//查看所有可用点位 按区域区分
Map<String, List<String>> empRegionPointMap = iSchBasePointService.selectIdlePoint(Arrays.asList(RegionConstant.SPRAYING_RAW_MATERIAL_SIDE
, RegionConstant.WELDING_RAW_MATERIAL_SIDE
, RegionConstant.MACHINE_RAW_MATERIAL_SIDE
, RegionConstant.MACHINE_RAW_MATERIAL_SIDE)).stream()
Map<String, List<String>> empRegionPointMap = iSchBasePointService.list().stream()
.collect(Collectors.groupingBy(
SchBasePoint::getRegion_code,
Collectors.mapping(SchBasePoint::getPoint_code, Collectors.toList())

View File

@@ -202,8 +202,8 @@ public class Point2PointTask extends AbstractTask {
entry.put("qty", plate.getQty());
entry.put("materialNo", orderBomItem.getMaterial_code());
entry.put("unitNo", "PCS");
entry.put("receiptWarehouseNo", orderBomItem.getWarehouse_code());
entry.put("issueWarehouseNo", workOrder.getDefault_warehouse_code());
entry.put("receiptWarehouseNo", workOrder.getDefault_warehouse_code());
entry.put("issueWarehouseNo", orderBomItem.getWarehouse_code());
// 将entry添加到数组中
entrys.add(entry);
}

View File

@@ -302,7 +302,7 @@ export default {
'0009': '手工入库',
'1001': '销售出库',
'0006': '生产领料',
'0007': '库存调拨',
'2001': '库存调拨',
'106': '调拨出库',
'107': '调拨入库',
'109': '其他入库',