From 9ce83b15edf91ba1eae10cea0b3936ac630925e4 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期二, 08 十月 2024 17:18:20 +0800 Subject: [PATCH] 修改 --- 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