|
|
|
|
@ -1311,6 +1311,9 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO |
|
|
|
|
// 转试记录
|
|
|
|
|
List<PlanTest> planTests = planTestService.list(Wrappers.lambdaQuery(PlanTest.class).eq(PlanTest::getWpId, wpId)); |
|
|
|
|
if (CollectionUtils.isNotEmpty(planTests)) { |
|
|
|
|
for (PlanTest planTest : planTests) { |
|
|
|
|
planTest.setTestUserName(UserCache.getUser(planTest.getTestUserId()) != null ? UserCache.getUser(planTest.getTestUserId()).getRealName() : ""); |
|
|
|
|
} |
|
|
|
|
planDataVO.setTrialItemList(planTests); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1333,6 +1336,8 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO |
|
|
|
|
public void getProcessByWp(ProduceMonitorPlanDataVO planDataVO, WorkPlan workPlan) { |
|
|
|
|
List<MesQcProduceRunEntity> qcProduceRunsList; |
|
|
|
|
if (WorkPlan.PRINT_TYPE_PROCESS.equals(workPlan.getPrintType())) { |
|
|
|
|
// 生产过程
|
|
|
|
|
planDataVO.setPrList(qcProduceRunService.listPrByWpId(workPlan.getId())); |
|
|
|
|
// 同槽信息
|
|
|
|
|
planDataVO.setSlotList(macToolUseService.listSlotInfo(workPlan)); |
|
|
|
|
// 过程质量记录
|
|
|
|
|
|