perf: 细化导入错误提示

haikang
huangfeng 1 year ago
parent 34ae67905a
commit 7f2e56e5a5

@ -140,7 +140,7 @@ public class CacExcelListener extends AnalysisEventListener<CacLine> {
if (!doneMap.containsKey(key)) {
List<ModevTypePoint> list = typePointRepository.findByModevtypeIdAndField(modevType.getId(), point.getField());
if (CollectionUtils.isEmpty(list)) {
errorList.add("第" + row + "行的字段" + point.getField() + "需要到监测设备类型" + modevType.getMc() + "下增加相同的属性点配置");
errorList.add("第" + row + "行的字段" + point.getField() + "需要到监测设备类型(" + modevType.getMc() + ")" + modevType.getTablename() + "下增加相同的属性点配置");
}
doneMap.put(key, "done");
}

Loading…
Cancel
Save