From 15d5bf37d91630a4008729fa0a1a7a68123b972e Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Sat, 23 Nov 2024 17:30:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E6=A8=A1=E5=9D=97=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../material/repair/service/impl/RepairServiceImpl.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairServiceImpl.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairServiceImpl.java index 0b625ea9..ef9cde53 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairServiceImpl.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairServiceImpl.java @@ -55,10 +55,9 @@ public class RepairServiceImpl implements RepairService { private RepairAuditDetailsMapper repairAuditDetailsMapper; // 1:内部维修 2:外部返厂维修 3:报废 - private final int inRepairType = 1; - private final int outRepairType = 2; - private final int scrapRepairType = 3; - + private final int inRepairType = 1; // 需要严格匹配枚举值 RepairTypeEnum.INNER_REPAIR.getTypeId(); + private final int outRepairType = 2; // 需要严格匹配枚举值 RepairTypeEnum.RETURN_FACTORY.getTypeId(); + private final int scrapRepairType = 3; // 需要严格匹配枚举值 RepairTypeEnum.TO_SCRAP.getTypeId(); @Override public List getRepairTaskList(RepairTask bean) { return repairMapper.getRepairTaskList(bean);