维修模块优化

This commit is contained in:
sxu 2024-11-23 17:30:46 +08:00
parent 0f25724852
commit 15d5bf37d9
1 changed files with 3 additions and 4 deletions

View File

@ -55,10 +55,9 @@ public class RepairServiceImpl implements RepairService {
private RepairAuditDetailsMapper repairAuditDetailsMapper; private RepairAuditDetailsMapper repairAuditDetailsMapper;
// 1:内部维修 2:外部返厂维修 3:报废 // 1:内部维修 2:外部返厂维修 3:报废
private final int inRepairType = 1; private final int inRepairType = 1; // 需要严格匹配枚举值 RepairTypeEnum.INNER_REPAIR.getTypeId();
private final int outRepairType = 2; private final int outRepairType = 2; // 需要严格匹配枚举值 RepairTypeEnum.RETURN_FACTORY.getTypeId();
private final int scrapRepairType = 3; private final int scrapRepairType = 3; // 需要严格匹配枚举值 RepairTypeEnum.TO_SCRAP.getTypeId();
@Override @Override
public List<RepairTask> getRepairTaskList(RepairTask bean) { public List<RepairTask> getRepairTaskList(RepairTask bean) {
return repairMapper.getRepairTaskList(bean); return repairMapper.getRepairTaskList(bean);