|
@@ -568,6 +568,12 @@ public class ApsReportRecordsServiceImpl extends ServiceImpl<ApsReportRecordsDao
|
|
|
//报工坯料成分
|
|
|
List<ApsReportBlankCompentDo> apsReportBlankCompentDoList = req.getApsReportBlankCompentDoList();
|
|
|
|
|
|
+ for (ApsReportOutputDo apsReportOutputDo : apsReportOutputDoList) {
|
|
|
+ if(ObjectUtil.isEmpty(apsReportOutputDo.getInsepctionlevel())){
|
|
|
+ return R.error("检验等级不能为空");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//没有新增,只会更新
|
|
|
apsReportRecordsDo.setCheckstatus("待检验");
|
|
|
|