|
@@ -361,6 +361,12 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
|
|
|
|
|
|
for(String inside : req.getInsideIdList()) {
|
|
|
ZhcxInsideInspectionDo insideObj = getById(inside);
|
|
|
+
|
|
|
+ //非待报验不能添加修改记录
|
|
|
+ if(!"20".equals(insideObj.getInspectionstatus())) {
|
|
|
+ throw new CustomException("监理用户已报验完成,请刷新页面!");
|
|
|
+ }
|
|
|
+
|
|
|
List<String> editList = editColsHistory(insideObj, req.getMap().get(inside));
|
|
|
if(ObjectUtil.isNotEmpty(editList)) {
|
|
|
descMap.put(inside, StringUtils.join(editList, "; "));
|