|
|
|
@ -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);
|
|
|
|
|