From 277f524576142cdcea51858ce2ab9bf5e141b478 Mon Sep 17 00:00:00 2001 From: lxw <810412026@qq.com> Date: 星期五, 20 十月 2023 14:25:26 +0800 Subject: [PATCH] Merge branch 'master' of http://118.89.139.230:10101/r/~whyclxw/CadDrawManager --- src/main/java/com/whyc/service/MaterialHistoryService.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/whyc/service/MaterialHistoryService.java b/src/main/java/com/whyc/service/MaterialHistoryService.java index d845c38..c5009f2 100644 --- a/src/main/java/com/whyc/service/MaterialHistoryService.java +++ b/src/main/java/com/whyc/service/MaterialHistoryService.java @@ -7,7 +7,6 @@ import com.whyc.mapper.MaterialHistoryMapper; import com.whyc.pojo.MaterialHistory; import org.springframework.stereotype.Service; -import org.springframework.web.bind.annotation.RequestParam; import javax.annotation.Resource; import java.util.List; @@ -22,6 +21,10 @@ mapper.insert(mh); } + public void addBatch(List<MaterialHistory> materialHistoryList) { + mapper.insertBatchSomeColumn(materialHistoryList); + } + //鏍规嵁鐗╂枡id鏌ヨdwg鍘嗗彶 public Response getDwgHisById(int materialId, int pageCurr, int pageSize) { PageHelper.startPage(pageCurr,pageSize); -- Gitblit v1.9.1