From de500fa0aaed0ebbd20ba3ae4ff277338e283f20 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Mon, 13 May 2024 16:31:47 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E7=94=9F=E4=BA=A7=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A2=E5=8D=95=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=B8=8E=E5=93=81=E8=B4=A8=E7=AE=A1=E7=90=86=E5=88=B6=E7=A8=8B?= =?UTF-8?q?=E6=A3=80=E9=AA=8C=E5=85=B3=E8=81=94=E7=94=9F=E4=BA=A7=E5=8D=95?= =?UTF-8?q?=E5=8F=B7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/controller/SysMakeOrderController.java | 10 ++++++++++ .../com/ruoyi/system/mapper/SysMakeOrderMapper.java | 5 +++++ .../com/ruoyi/system/service/ISysMakeOrderService.java | 5 +++++ .../system/service/impl/SysMakeOrderServiceImpl.java | 10 ++++++++++ .../resources/mapper/system/SysMakeOrderMapper.xml | 4 ++++ 5 files changed, 34 insertions(+) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysMakeOrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysMakeOrderController.java index a219bb5f..147e2f46 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysMakeOrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysMakeOrderController.java @@ -345,4 +345,14 @@ public class SysMakeOrderController extends BaseController return getDataTable(list); } + /* + * 品质管理制程检验关联生产单号 + * */ + @GetMapping("/getAllMakeNos") + @ResponseBody + public List materialList() + { + List list = sysMakeOrderService.selectAllMakeNos(); + return list; + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java index 30572459..737fb709 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java @@ -96,4 +96,9 @@ public interface SysMakeOrderMapper public List selectMakeOrdersByCustomerId(String customerId); List selectMaterialList(SysMakeOrder sysMakeOrder); + + /* + * 品质管理制程检验工序关联生产单号 + * */ + List selectAllMakeNos(); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysMakeOrderService.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysMakeOrderService.java index d01df8b1..03efbb39 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysMakeOrderService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysMakeOrderService.java @@ -100,4 +100,9 @@ public interface ISysMakeOrderService void gcReview(SysMakeOrder sysMakeOrder); List selectMaterialList(SysMakeOrder sysMakeOrder); + + /* + * 品质管理制程检验工序关联生产单号 + * */ + List selectAllMakeNos(); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysMakeOrderServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysMakeOrderServiceImpl.java index ef938147..ed3c3f43 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysMakeOrderServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysMakeOrderServiceImpl.java @@ -251,4 +251,14 @@ public class SysMakeOrderServiceImpl implements ISysMakeOrderService public List selectMaterialList(SysMakeOrder sysMakeOrder) { return sysMakeOrderMapper.selectMaterialList(sysMakeOrder); } + + /* + * 品质管理制程检验工序关联生产单号 + * */ + @Override + public List selectAllMakeNos() { + + List list=sysMakeOrderMapper.selectAllMakeNos(); + return list; + } } diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml index 836c920f..8386e978 100644 --- a/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml @@ -247,4 +247,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where a.makeNo = #{makeNo} + + \ No newline at end of file