维修模块优化
This commit is contained in:
parent
0f25724852
commit
15d5bf37d9
|
|
@ -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<RepairTask> getRepairTaskList(RepairTask bean) {
|
||||
return repairMapper.getRepairTaskList(bean);
|
||||
|
|
|
|||
Loading…
Reference in New Issue