| | |
| | | return qualityUnqualifiedMapper.getUnqualified(id); |
| | | } |
| | | |
| | | @Override |
| | | public QualityUnqualified getUnqualifiedDetail(Integer id) { |
| | | QualityUnqualified res = qualityUnqualifiedMapper.getUnqualified(id); |
| | | if (res != null && res.getInspectId() != null) { |
| | | QualityInspect inspect = qualityInspectService.getById(res.getInspectId()); |
| | | if (inspect != null) { |
| | | res.setProcess(inspect.getProcess()); |
| | | res.setCheckCompany(inspect.getCheckCompany()); |
| | | } |
| | | } |
| | | return res; |
| | | } |
| | | |
| | | private void createReworkProductionByNewModel(ProductionProductMain sourceMain, BigDecimal quantity) { |
| | | ProductionOperationTask sourceTask = productionOperationTaskMapper.selectById(sourceMain.getProductionOperationTaskId()); |
| | | if (sourceTask == null) { |