From 6b13839488edcd06046e26a41fe897358176689c Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 13 十二月 2024 17:56:41 +0800 Subject: [PATCH] 采集质量 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointCollectStatusServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointCollectStatusServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointCollectStatusServiceImpl.java index 5c95b95..74e4931 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointCollectStatusServiceImpl.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointCollectStatusServiceImpl.java @@ -20,14 +20,14 @@ public class DaPointCollectStatusServiceImpl extends BaseServiceImpl<DaPointCollectStatusDao, DaPointCollectStatusEntity> implements DaPointCollectStatusService { - public void recordStatus(String pointId, String collectValue, Date collectTime) { + public void recordStatus(String pointNo, String collectValue, Date collectTime) { QueryWrapper<DaPointCollectStatusEntity> queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("point_id", pointId); + queryWrapper.eq("point_no", pointNo); DaPointCollectStatusEntity entity = baseDao.selectOne(queryWrapper); if (entity == null) { entity = new DaPointCollectStatusEntity(); entity.setId(UUID.randomUUID().toString()); - entity.setPointId(pointId); + entity.setPointNo(pointNo); entity.setCollectValue(collectValue); entity.setCollectQuality(DataQualityEnum.getEumByValue(collectValue).getCode()); entity.setCollectTime(collectTime); -- Gitblit v1.9.3