From d0bff7a4d7e0bd53f11ea629df20e48c3f72a0e6 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期一, 14 十月 2024 10:09:00 +0800
Subject: [PATCH] 修改RBD识别算法

---
 modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/XhProductModelService.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/XhProductModelService.java b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/XhProductModelService.java
index 256e177..b62fc7b 100644
--- a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/XhProductModelService.java
+++ b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/XhProductModelService.java
@@ -398,11 +398,23 @@
         return list;
     }
 
-    private void deleteByShipId(Long shipId) {
+    public void deleteByShipId(Long shipId) {
         baseDao.deleteByShipId(shipId);
     }
 
     private List<XhProductModel> getByShipId(Long shipId) {
         return baseDao.getByShipId(shipId);
     }
+
+    public void deleteByPid(Long id) {
+        baseDao.deleteByPid(id);
+    }
+
+    public Long[] getByPid(Long id) {
+        return baseDao.getByPid(id);
+    }
+
+    public void exportDataExcel(Long shipId) {
+        baseDao.getProductByShip(shipId);
+    }
 }

--
Gitblit v1.9.1