|
@@ -270,6 +270,11 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
|
|
|
for(String inside : req.getInsideIdList()) {
|
|
|
ZhcxInsideInspectionDo insideObj = getById(inside);
|
|
|
|
|
|
+ //10可以修改
|
|
|
+ if("10".equals(insideObj.getInspectionstatus())) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
//非待报验不能添加修改记录
|
|
|
if(!"20".equals(insideObj.getInspectionstatus())) {
|
|
|
throw new CustomException("检验员已报验完成,请刷新页面!");
|