|
|
|
@ -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");
|
|
|
|
|
}
|
|
|
|
|