From 6322f4c190dc9b41572e59e671dd3ecc005253b9 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Wed, 27 Mar 2024 10:03:04 +0800
Subject: [PATCH] 图斑

---
 src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java b/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java
index e2c41a3..a1a294a 100644
--- a/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java
+++ b/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java
@@ -5,7 +5,7 @@
 import com.dji.sample.common.model.PaginationData;
 import com.dji.sample.patches.dao.GetPatchesMapper;
 import com.dji.sample.patches.model.Param.PatchesParam;
-import com.dji.sample.patches.model.entity.PatchesEntity;
+import com.dji.sample.patches.model.entity.LotInfo;
 import com.dji.sample.patches.service.GetPatchesService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
@@ -19,12 +19,12 @@
     private GetPatchesMapper mapper;
 
     @Override
-    public PaginationData<PatchesEntity> limitGet(PatchesParam param) {
-        Page<PatchesEntity> page = mapper.selectPage(new Page<PatchesEntity>(param.getPage(), param.getPageSize()), null);
-        List<PatchesEntity> records = page.getRecords()
+    public PaginationData<LotInfo> limitGet(PatchesParam param) {
+        Page<LotInfo> page = mapper.selectPage(new Page<LotInfo>(param.getPage(), param.getPageSize()), null);
+        List<LotInfo> records = page.getRecords()
                 .stream()
                 .collect(Collectors.toList());
-        return new PaginationData<PatchesEntity>(records, new Pagination(page));
+        return new PaginationData<LotInfo>(records, new Pagination(page));
     }
 
 }

--
Gitblit v1.9.3