|
|
|
|
@ -535,7 +535,7 @@ public class IOrderBoxServiceImpl implements IOrderBoxService { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
List<StationVO> statusStationList = stationService.getStatusStationList(null, false, wcID, STATION_RECEIVE_ONLY, false); |
|
|
|
|
List<StationVO> statusStationList = stationService.getStatusStationList(null, false, (Long) map.get("wcId"), STATION_RECEIVE_ONLY, false); |
|
|
|
|
map.put("stationRegion", statusStationList.get(0).getStationRegion()); |
|
|
|
|
} |
|
|
|
|
log.info("获取当前方法返回值:"+map); |
|
|
|
|
@ -1435,7 +1435,7 @@ public class IOrderBoxServiceImpl implements IOrderBoxService { |
|
|
|
|
if (prWorkOrderList != null && !prWorkOrderList.isEmpty()) { |
|
|
|
|
PrWorkOrder prWorkOrder = prWorkOrderList.get(0); |
|
|
|
|
List<PrWorkPlan> workPlanList = prWorkPlanService.lambdaQuery() |
|
|
|
|
.select(PrWorkPlan::getStatus, PrWorkPlan::getNextWpId, PrWorkPlan::getWpId, PrWorkPlan::getMakeTeam) |
|
|
|
|
.select(PrWorkPlan::getStatus, PrWorkPlan::getNextWpId, PrWorkPlan::getWpId, PrWorkPlan::getMakeTeam,PrWorkPlan::getSubsidiaryTeam) |
|
|
|
|
.eq(PrWorkPlan::getWpId, prWorkOrder.getWpId()) |
|
|
|
|
.list(); |
|
|
|
|
|
|
|
|
|
@ -1452,7 +1452,8 @@ public class IOrderBoxServiceImpl implements IOrderBoxService { |
|
|
|
|
} else { |
|
|
|
|
List<CenterTeam> list = iCenterTeamService.list(new LambdaQueryWrapper<CenterTeam>() |
|
|
|
|
.select(CenterTeam::getWcId, CenterTeam::getTsId) |
|
|
|
|
.eq(CenterTeam::getTsId, (workPlan.getMakeTeam()))); |
|
|
|
|
.eq(workPlan.getSubsidiaryTeam()!=null&&!workPlan.getSubsidiaryTeam().equals(""),CenterTeam::getTsId, (workPlan.getMakeTeam())) |
|
|
|
|
.eq(workPlan==null||workPlan.getSubsidiaryTeam().equals(""),CenterTeam::getTsId, (workPlan.getMakeTeam()))); |
|
|
|
|
if (list == null || list.size() == 0) { |
|
|
|
|
return R.fail(orderCardNo + "车间订单班次查询作业中心异常"); |
|
|
|
|
} else { |
|
|
|
|
|