|
@@ -32,7 +32,7 @@ public class StatusUtil {
|
|
|
/**
|
|
|
* 维修工程师
|
|
|
* statusParam 0 待检测,1待跟进,2维修完成
|
|
|
- * status 0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6待回收,7维修中,8待测试,
|
|
|
+ * status 0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6维修中,7待回收,8待测试,
|
|
|
* 9待支付(已完结),10待收货,11已发货,12已评价
|
|
|
*/
|
|
|
public static List<Integer> getRepairerStatus(Integer statusParam){
|
|
@@ -41,7 +41,7 @@ public class StatusUtil {
|
|
|
}
|
|
|
switch (statusParam){
|
|
|
case 0 : return Collections.singletonList(1);
|
|
|
- case 1 : return Arrays.asList(5,7);
|
|
|
+ case 1 : return Arrays.asList(5,6,7);
|
|
|
case 2 : return Arrays.asList(8,9,10,11,12,13);
|
|
|
default: throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
@@ -50,7 +50,7 @@ public class StatusUtil {
|
|
|
/**
|
|
|
* 维修备件管理 供应链
|
|
|
* statusParam 0 待备料,1已备料,2待回收
|
|
|
- * status 0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6待回收,7维修中,8待测试,
|
|
|
+ * status 0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6维修中,7待回收,8待测试,
|
|
|
* 9待支付(已完结),10待收货,11已发货,12已评价
|
|
|
*/
|
|
|
public static List<Integer> getSupplyStatus(Integer statusParam){
|
|
@@ -59,8 +59,8 @@ public class StatusUtil {
|
|
|
}
|
|
|
switch (statusParam){
|
|
|
case 0 : return Collections.singletonList(5);
|
|
|
- case 1 : return Arrays.asList(8,9,10,11,12,13);
|
|
|
- case 2 : return Collections.singletonList(6);
|
|
|
+ case 1 : return Arrays.asList(6,8,9,10,11,12,13);
|
|
|
+ case 2 : return Collections.singletonList(7);
|
|
|
default: throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
}
|
|
@@ -68,7 +68,7 @@ public class StatusUtil {
|
|
|
/**
|
|
|
* 测试工程师
|
|
|
* statusParam 0 待测试,1测试完成
|
|
|
- * status 0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6待回收,7维修中,8待测试,
|
|
|
+ * status 0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6维修中,7待回收,8待测试,
|
|
|
* 9待支付(已完结),10待收货,11已发货,12已评价
|
|
|
*/
|
|
|
public static List<Integer> getTesterStatus(Integer statusParam) {
|