From ab07aed1af8d6569d07090feabd27ec358c6cf44 Mon Sep 17 00:00:00 2001 From: hy2250089 Date: Thu, 26 Dec 2019 21:20:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=B7=A5=E5=BA=8F=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E3=80=81=E4=BF=9D=E5=AD=98=E5=B7=A5=E5=BA=8F=E5=8F=8A?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/dao/ProcessMaterialsBomMapper.java | 1 + .../manage/mapper/MtAloneProcessMapper.xml | 2 +- .../mapper/ProcessMaterialsBomMapper.xml | 15 +++++ .../manage/mapper/ProductProcessMapper.xml | 2 +- .../manage/model/MtAloneProcessParams.java | 10 +++ .../manage/model/ProcessAndMaterials.java | 30 --------- .../manage/model/ProcessAndMaterialsBom.java | 32 ++++++++++ .../manage/model/ProcessMaterialsBomVo.java | 2 - .../manage/service/MtAloneProcessService.java | 2 +- .../service/ProcessMaterialsBomService.java | 2 + .../impl/MtAloneProcessServiceImpl.java | 63 ++++++++++++++----- .../impl/ProcessMaterialsBomServiceImpl.java | 5 ++ .../manage/web/MtAloneProcessController.java | 8 +-- 13 files changed, 120 insertions(+), 54 deletions(-) delete mode 100644 wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/ProcessAndMaterials.java create mode 100644 wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/ProcessAndMaterialsBom.java diff --git a/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/ProcessMaterialsBomMapper.java b/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/ProcessMaterialsBomMapper.java index dc924bb..1666b68 100644 --- a/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/ProcessMaterialsBomMapper.java +++ b/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/ProcessMaterialsBomMapper.java @@ -17,4 +17,5 @@ public interface ProcessMaterialsBomMapper extends Mapper { void insertOrUpdate(List processMaterialsBomList); + List findProcMatBomVoListByProcBom(ProcessMaterialsBomParams procMatBomParams); } \ No newline at end of file diff --git a/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneProcessMapper.xml b/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneProcessMapper.xml index 0f512c3..8a0aded 100644 --- a/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneProcessMapper.xml +++ b/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneProcessMapper.xml @@ -95,7 +95,7 @@ AND process.company_id = #{companyId} - + ORDER BY process.process_step diff --git a/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/ProcessMaterialsBomMapper.xml b/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/ProcessMaterialsBomMapper.xml index 1012dd8..03c8f5a 100644 --- a/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/ProcessMaterialsBomMapper.xml +++ b/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/ProcessMaterialsBomMapper.xml @@ -60,6 +60,20 @@ + + +