@@ -331,6 +331,7 @@ public interface CommonConstants {
int NO_PLAN_FLAG = 2; // 非计划性维修
int OTHER = 3; // 其他
int NORMAL = 4; // 日常维修
+ int SIMPLE_REPAIR = 5; // 简易维修流程
// 打印类型
@@ -45,6 +45,9 @@ public class RepairStrategyFactory {
case CommonConstants.NORMAL:
strategy = (LongYanPlanRepairStrategy)BeanUtils.getBean("longYanPlanRepairStrategy");
break;
+ case CommonConstants.SIMPLE_REPAIR:
+ strategy = (AllocateRepairBaseStrategy)BeanUtils.getBean("allocateRepairBaseStrategy");
+ break;
}
return strategy;