fix:删除无用代码

This commit is contained in:
2026-11-26 13:08:51 +08:00
parent a0c7e3122e
commit ce5a2968a8

View File

@@ -296,20 +296,6 @@ public class VoiceCallbackService {
.append(dis.getPlan_qty().stripTrailingZeros().toPlainString()).append(dis.getQty_unit_name())
.append(dis.getMaterial_name()).append("任务下发成功;");
}
//查询拆箱出库的载具记录
List<String> vehicleCodes = disList.stream().map(IOStorInvDisDto::getStoragevehicle_code).collect(Collectors.toList());
List<GroupPlate> groupPlates = iMdPbGroupplateService.list(new LambdaQueryWrapper<GroupPlate>()
.in(GroupPlate::getStoragevehicle_code, vehicleCodes)
.eq(GroupPlate::getMaterial_id, meMaterialbase.getMaterial_id())
.eq(GroupPlate::getStatus, GROUP_PLATE_STATUS.code("入库")));
String needManualIVehicleCodes = groupPlates.stream()
.filter(groupPlate -> groupPlate.getFrozen_qty().compareTo(groupPlate.getQty()) < 0)
.map(GroupPlate::getStoragevehicle_code)
.collect(Collectors.joining(","));
if (StringUtils.isNotBlank(needManualIVehicleCodes)) {
result.append("请人工处理以下拆箱出库载具:").append(needManualIVehicleCodes).append(";");
}
JSONObject resultJson = new JSONObject();
resultJson.put("result", result.toString());
return resultJson;