From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 06 一月 2025 16:00:58 +0800
Subject: [PATCH] chartParamList api

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/service/impl/IndItemAtomServiceImpl.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/service/impl/IndItemAtomServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/service/impl/IndItemAtomServiceImpl.java
index 34f2dd1..6566e74 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/service/impl/IndItemAtomServiceImpl.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/service/impl/IndItemAtomServiceImpl.java
@@ -1,9 +1,12 @@
 package com.iailab.module.data.ind.item.service.impl;
 
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.iailab.framework.common.service.impl.BaseServiceImpl;
+import com.iailab.framework.common.util.object.BeanUtils;
 import com.iailab.module.data.ind.item.dao.IndItemAtomDao;
 import com.iailab.module.data.ind.item.entity.IndItemAtomEntity;
 import com.iailab.module.data.ind.item.service.IndItemAtomService;
+import com.iailab.module.data.ind.item.vo.IndItemAtomVO;
 import org.springframework.stereotype.Service;
 
 /**
@@ -13,4 +16,18 @@
  */
 @Service
 public class IndItemAtomServiceImpl extends BaseServiceImpl<IndItemAtomDao, IndItemAtomEntity> implements IndItemAtomService {
+    @Override
+    public IndItemAtomVO getByItemId(String itemId) {
+        return BeanUtils.toBean(baseDao.selectOne(new QueryWrapper<IndItemAtomEntity>().eq("item_id", itemId)), IndItemAtomVO.class);
+    }
+
+    @Override
+    public IndItemAtomVO get(String id) {
+        return BeanUtils.toBean(baseDao.selectById(id), IndItemAtomVO.class);
+    }
+
+    @Override
+    public void deleteByItemId(String itemId) {
+        baseDao.delete(new QueryWrapper<IndItemAtomEntity>().eq("item_id", itemId));
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3