From aa0382e44311f9f7e62a688c8fcaa9c69a512e0f Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期二, 24 十二月 2024 15:15:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaMathPointServiceImpl.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaMathPointServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaMathPointServiceImpl.java
index 6d17ce7..5014dd2 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaMathPointServiceImpl.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaMathPointServiceImpl.java
@@ -10,6 +10,7 @@
 import org.springframework.stereotype.Service;
 
 import java.util.Arrays;
+import java.util.UUID;
 
 /**
  * @author PanZhibao
@@ -27,6 +28,15 @@
     }
 
     @Override
+    public void add(String expression, String pointId) {
+        DaMathPointEntity entity = new DaMathPointEntity();
+        entity.setId(UUID.randomUUID().toString());
+        entity.setPointId(pointId);
+        entity.setExpression(expression);
+        baseDao.insert(entity);
+    }
+
+    @Override
     public DaMathPointDTO getByPoint(String pointId) {
         QueryWrapper<DaMathPointEntity> wrapper = new QueryWrapper<>();
         wrapper.eq("point_id", pointId);

--
Gitblit v1.9.3