From 9d51a3931e034390cca65f9f1fdbef38ef94cc3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=99=93=E8=BF=AA?= <2596750866@qq.com> Date: Tue, 13 Aug 2024 09:43:39 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E5=94=AE=E5=90=8E=E7=AE=A1=E7=90=86?= =?UTF-8?q?=20=E5=87=BA=E8=B4=A7=E8=AE=BE=E5=A4=87=20=E6=96=B0=E5=A2=9Emap?= =?UTF-8?q?per=E6=8C=89sn=E5=8F=B7=E5=88=97=E8=A1=A8=E5=92=8C=E6=96=99?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E8=AF=A2=E8=AE=BE=E5=A4=87=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=9B=20=E6=96=B0=E5=A2=9Eservice?= =?UTF-8?q?=E6=8C=89sn=E5=8F=B7=E5=88=97=E8=A1=A8=E5=92=8C=E6=96=99?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E8=AF=A2=E8=AE=BE=E5=A4=87=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../aftersales/mapper/AfterSalesShippingDeviceMapper.java | 5 +++++ .../service/IAfterSalesShippingDeviceService.java | 5 +++++ .../service/impl/AfterSalesShippingDeviceServiceImpl.java | 5 +++++ .../mapper/aftersales/AfterSalesShippingDeviceMapper.xml | 8 ++++++++ 4 files changed, 23 insertions(+) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/mapper/AfterSalesShippingDeviceMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/mapper/AfterSalesShippingDeviceMapper.java index afe3d0d0..ed533449 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/mapper/AfterSalesShippingDeviceMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/mapper/AfterSalesShippingDeviceMapper.java @@ -115,4 +115,9 @@ public interface AfterSalesShippingDeviceMapper * 根据物料号查询出货设备信息列表 * */ List selectShippingDeviceListByMaterialNo(AfterSalesShippingDevice afterSalesShippingDevice); + + /* + * 根据sn号查询出货设备信息列表 + * */ + List selectShippingDeviceListBySnCodeAndMaterialNo(String[] snCode,String materialNo); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/IAfterSalesShippingDeviceService.java b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/IAfterSalesShippingDeviceService.java index 18e68589..2f58f853 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/IAfterSalesShippingDeviceService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/IAfterSalesShippingDeviceService.java @@ -107,4 +107,9 @@ public interface IAfterSalesShippingDeviceService * 保存出货设备详情 * */ int detailSaveAfterSalesShippingDevice(AfterSalesShippingDeviceEditDto dto); + + /* + * 根据sn号查询出货设备信息列表 + * */ + List selectShippingDeviceListBySnCode(String[] snCode,String materialNo); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/impl/AfterSalesShippingDeviceServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/impl/AfterSalesShippingDeviceServiceImpl.java index e6223b7a..816e0bb6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/impl/AfterSalesShippingDeviceServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/impl/AfterSalesShippingDeviceServiceImpl.java @@ -249,4 +249,9 @@ public class AfterSalesShippingDeviceServiceImpl implements IAfterSalesShippingD public int detailSaveAfterSalesShippingDevice(AfterSalesShippingDeviceEditDto dto) { return 1; } + + @Override + public List selectShippingDeviceListBySnCode(String[] snCode,String materialNo) { + return afterSalesShippingDeviceMapper.selectShippingDeviceListBySnCodeAndMaterialNo(snCode,materialNo); + } } diff --git a/ruoyi-admin/src/main/resources/mapper/aftersales/AfterSalesShippingDeviceMapper.xml b/ruoyi-admin/src/main/resources/mapper/aftersales/AfterSalesShippingDeviceMapper.xml index 4fc8904b..8a497ec5 100644 --- a/ruoyi-admin/src/main/resources/mapper/aftersales/AfterSalesShippingDeviceMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/aftersales/AfterSalesShippingDeviceMapper.xml @@ -118,6 +118,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where material_no = #{materialNo} +