异常自报

master
philip 4 years ago
parent c92e2d39a3
commit f171cf2e2d

@ -114,7 +114,7 @@ public class SelfReportServiceImpl extends ServiceImpl<SelfReportMapper, SelfRep
}
List<SelfReportRequest> otherAbnormalList = list.stream().filter(selfReportRequest -> selfReportRequest.getType().equals(Constants.ABNORMAL_OTHER)).collect(Collectors.toList());
if (otherAbnormalList.size()>0){
anomalyService.createAnomalyTask(Constants.ABNORMAL_RESRCE,resrce,shopOrder,sfc,"",location,ncQty,comments,userGroup);
anomalyService.createAnomalyTask(Constants.ABNORMAL_OTHER,resrce,shopOrder,sfc,"",location,ncQty,comments,userGroup);
}
QueryWrapper<SelfReport> queryWrapper=new QueryWrapper<>();
queryWrapper.eq(SelfReport.SFC,sfc);

Loading…
Cancel
Save