数据迁移校验问题修正

This commit is contained in:
shangguochao 2022-07-04 18:15:04 +08:00
parent 2cabd75966
commit 044300a218

View File

@ -362,7 +362,7 @@ public class ArisXmlImportWeb extends ActionWeb {
}
for (String attrId : attrs) {
String text = attrMap2.containsKey(attrId) ? attrMap2.get(attrId).getNewTitle() : attrId;
if (!attrMap2.containsKey(attrId)) {
if (!attrMap.containsKey(attrId)) {
String msg = Constant.LOG_ERROR + "[" + methodName + "]中的形状[" + shapeText + "]属性[" + text + "]不存在,请检查相应属性配置," + Constant.IMPORT_STOP_MSG;
updateErrLog(msg, msg);
return ResponseObject.newErrResponse("[" + methodName + "]中的形状[" + shapeText + "]属性[" + text + "]不存在");