From 08ddfad4530a014094c06fe68b8c2d9a0753403a Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 05 Aug 2026 14:09:29 +0800
Subject: [PATCH] fix(gd): 修复线索事件查询中的SQL语法错误

---
 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