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 +