From 3e18d4bfbf2c657b08b21512c2d884cc9d59df7b Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 14 十月 2024 16:29:49 +0800
Subject: [PATCH] 模型运行

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/ProjectPackageHistoryModelServiceImpl.java |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/ProjectPackageHistoryModelServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/ProjectPackageHistoryModelServiceImpl.java
index 0e6d903..302cdb8 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/ProjectPackageHistoryModelServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/ProjectPackageHistoryModelServiceImpl.java
@@ -1,8 +1,10 @@
 package com.iailab.module.model.mpk.service.impl;
 
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.enums.SqlMethod;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.iailab.framework.common.page.PageData;
+import com.iailab.framework.common.service.impl.BaseServiceImpl;
 import com.iailab.framework.common.service.impl.CrudServiceImpl;
 import com.iailab.module.model.mpk.dao.ProjectPackageHistoryModelDao;
 import com.iailab.module.model.mpk.dto.ProjectPackageHistoryModelDTO;
@@ -12,6 +14,8 @@
 import org.apache.poi.ss.formula.functions.T;
 import org.springframework.stereotype.Service;
 
+import java.util.Collection;
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -20,7 +24,11 @@
  * @date: 2024/8/22 14:41
  **/
 @Service
-public class ProjectPackageHistoryModelServiceImpl extends CrudServiceImpl<ProjectPackageHistoryModelDao, ProjectPackageHistoryModelEntity, ProjectPackageHistoryModelDTO> implements ProjectPackageHistoryModelService {
+public class ProjectPackageHistoryModelServiceImpl extends BaseServiceImpl<ProjectPackageHistoryModelDao, ProjectPackageHistoryModelEntity> implements ProjectPackageHistoryModelService {
+
+    public void insertList(List<ProjectPackageHistoryModelEntity> entityList) {
+        baseDao.insertBatch(entityList);
+    }
 
     @Override
     public PageData<ProjectPackageHistoryModelDTO> page(Map<String, Object> params) {
@@ -37,7 +45,6 @@
         baseDao.delete(getWrapper(map));
     }
 
-    @Override
     public QueryWrapper<ProjectPackageHistoryModelEntity> getWrapper(Map<String, Object> params){
         String id = (String)params.get("id");
         String packageHistoryId = (String)params.get("packageHistoryId");
@@ -52,6 +59,4 @@
 
         return wrapper;
     }
-
-
 }
\ No newline at end of file

--
Gitblit v1.9.3