From d6a3865f2ad5906854e981b23941042ddd05be4e Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Mon, 9 Dec 2024 13:18:37 +0800 Subject: [PATCH] =?UTF-8?q?wms=E5=B7=A5=E5=BA=8F=E6=B1=87=E6=80=BB?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/domain/mes/ProRfidProcessDetail.java | 9 ++++++ .../ProRfidProcessDetailController.java | 8 +++++ .../mapper/ProRfidProcessDetailMapper.java | 2 ++ .../service/IProRfidProcessDetailService.java | 2 ++ .../impl/ProRfidProcessDetailServiceImpl.java | 6 ++++ .../mapper/mes/ProRfidProcessDetailMapper.xml | 31 +++++++++++++++++++ .../impl/OdsProcureOrderServiceImpl.java | 15 ++++++--- 7 files changed, 68 insertions(+), 5 deletions(-) diff --git a/op-api/op-api-system/src/main/java/com/op/system/api/domain/mes/ProRfidProcessDetail.java b/op-api/op-api-system/src/main/java/com/op/system/api/domain/mes/ProRfidProcessDetail.java index 80c66a47..e1933ca6 100644 --- a/op-api/op-api-system/src/main/java/com/op/system/api/domain/mes/ProRfidProcessDetail.java +++ b/op-api/op-api-system/src/main/java/com/op/system/api/domain/mes/ProRfidProcessDetail.java @@ -115,6 +115,15 @@ public class ProRfidProcessDetail extends BaseEntity { @Excel(name = "班次") private String shiftId; + private String recordCount; + + public String getRecordCount() { + return recordCount; + } + + public void setRecordCount(String recordCount) { + this.recordCount = recordCount; + } public String getShiftId() { return shiftId; diff --git a/op-modules/op-mes/src/main/java/com/op/mes/controller/ProRfidProcessDetailController.java b/op-modules/op-mes/src/main/java/com/op/mes/controller/ProRfidProcessDetailController.java index d252b597..98a5eb99 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/controller/ProRfidProcessDetailController.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/controller/ProRfidProcessDetailController.java @@ -45,6 +45,14 @@ public class ProRfidProcessDetailController extends BaseController { List list = proRfidProcessDetailService.selectProRfidProcessDetailList(proRfidProcessDetail); return getDataTable(list); } + @RequiresPermissions("mes:detail:list") + @GetMapping("/listAll") + @Log(title = "rfid流程查看", businessType = BusinessType.QUERY) + public TableDataInfo listAll(ProRfidProcessDetail proRfidProcessDetail) { + startPage(); + List list = proRfidProcessDetailService.selectProRfidProcessDetailListAll(proRfidProcessDetail); + return getDataTable(list); + } /** * 导出生产rfid流程列表 diff --git a/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProRfidProcessDetailMapper.java b/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProRfidProcessDetailMapper.java index 1229c2ca..769ddc4d 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProRfidProcessDetailMapper.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProRfidProcessDetailMapper.java @@ -72,4 +72,6 @@ public interface ProRfidProcessDetailMapper { String getEquipStatus(String machineCode); String getEquipMode(String machineCode); + + List selectProRfidProcessDetailListAll(ProRfidProcessDetail proRfidProcessDetail); } diff --git a/op-modules/op-mes/src/main/java/com/op/mes/service/IProRfidProcessDetailService.java b/op-modules/op-mes/src/main/java/com/op/mes/service/IProRfidProcessDetailService.java index 02ac6287..893a9cdf 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/service/IProRfidProcessDetailService.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/service/IProRfidProcessDetailService.java @@ -58,4 +58,6 @@ public interface IProRfidProcessDetailService { * @return 结果 */ public int deleteProRfidProcessDetailByRecordId(String recordId); + + List selectProRfidProcessDetailListAll(ProRfidProcessDetail proRfidProcessDetail); } diff --git a/op-modules/op-mes/src/main/java/com/op/mes/service/impl/ProRfidProcessDetailServiceImpl.java b/op-modules/op-mes/src/main/java/com/op/mes/service/impl/ProRfidProcessDetailServiceImpl.java index 19ea127e..7cab3150 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/service/impl/ProRfidProcessDetailServiceImpl.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/service/impl/ProRfidProcessDetailServiceImpl.java @@ -94,4 +94,10 @@ public class ProRfidProcessDetailServiceImpl implements IProRfidProcessDetailSer public int deleteProRfidProcessDetailByRecordId(String recordId) { return proRfidProcessDetailMapper.deleteProRfidProcessDetailByRecordId(recordId); } + + @Override + @DS("#header.poolName") + public List selectProRfidProcessDetailListAll(ProRfidProcessDetail proRfidProcessDetail) { + return proRfidProcessDetailMapper.selectProRfidProcessDetailListAll(proRfidProcessDetail); + } } diff --git a/op-modules/op-mes/src/main/resources/mapper/mes/ProRfidProcessDetailMapper.xml b/op-modules/op-mes/src/main/resources/mapper/mes/ProRfidProcessDetailMapper.xml index 3748daca..d4f2d89d 100644 --- a/op-modules/op-mes/src/main/resources/mapper/mes/ProRfidProcessDetailMapper.xml +++ b/op-modules/op-mes/src/main/resources/mapper/mes/ProRfidProcessDetailMapper.xml @@ -99,7 +99,38 @@ order by ppd.in_time desc +