From 74756c657109a4e48dd6c0b4d8959cdab89b33a9 Mon Sep 17 00:00:00 2001
From: xiebin <vip_xiaobin810@163.com>
Date: Wed, 28 Jan 2026 20:10:29 +0800
Subject: [PATCH] update-区域划分表结构调整
---
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceScrapService.java | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceScrapService.java b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceScrapService.java
index 64225aa..77ab658 100644
--- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceScrapService.java
+++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceScrapService.java
@@ -17,20 +17,37 @@
package org.sxkj.fw.device.service;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
-import org.sxkj.fw.device.entity.FwDeviceScrapEntity;
-import org.sxkj.fw.device.vo.FwDeviceScrapVO;
-import org.sxkj.fw.device.excel.FwDeviceScrapExcel;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
+import org.sxkj.fw.device.dto.FwDeviceScrapDTO;
+import org.sxkj.fw.device.entity.FwDeviceScrapEntity;
+import org.sxkj.fw.device.excel.FwDeviceScrapExcel;
+import org.sxkj.fw.device.vo.FwDeviceScrapVO;
+
import java.util.List;
/**
* 设备报废记录表 服务类
*
* @author lw
- * @since 2026-01-07
+ * @since 2026-01-08
*/
public interface IFwDeviceScrapService extends BaseService<FwDeviceScrapEntity> {
+
+ /**
+ * 获取详情
+ * @param id 报废记录id
+ * @return 详情
+ */
+ FwDeviceScrapVO getFwDeviceScrapById(Long id);
+
+ /**
+ * 新增报废记录
+ * @param dto 报废记录
+ * @return true/false
+ */
+ boolean saveFwDeviceScrap(FwDeviceScrapDTO dto);
+
/**
* 自定义分页
*
@@ -38,7 +55,7 @@
* @param fwDeviceScrap
* @return
*/
- IPage<FwDeviceScrapVO> selectFwDeviceScrapPage(IPage<FwDeviceScrapVO> page, FwDeviceScrapVO fwDeviceScrap);
+ IPage<FwDeviceScrapVO> selectFwDeviceScrapPage(IPage<FwDeviceScrapVO> page, FwDeviceScrapDTO fwDeviceScrap);
/**
--
Gitblit v1.9.3