|
@@ -59,7 +59,7 @@ public class RepairPersonnelService {
|
|
/**
|
|
/**
|
|
* 维修工程师
|
|
* 维修工程师
|
|
* statusParam 0 待检测,1待跟进,2维修完成
|
|
* 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已评价
|
|
* 9待支付(已完结),10待收货,11已发货,12已评价
|
|
*/
|
|
*/
|
|
public Object repairerOrderList(RepairParam param) {
|
|
public Object repairerOrderList(RepairParam param) {
|
|
@@ -156,7 +156,7 @@ public class RepairPersonnelService {
|
|
if(repair == null){
|
|
if(repair == null){
|
|
throw new BusinessException(ResultCode.REPAIR_NOT_EXITS);
|
|
throw new BusinessException(ResultCode.REPAIR_NOT_EXITS);
|
|
}
|
|
}
|
|
- if(repair.getStatus() !=7 ){ //维修中
|
|
|
|
|
|
+ if(repair.getStatus() !=6 ){ //维修中
|
|
throw new BusinessException(ResultCode.REPAIR_STATUS_NOT_EXITS);
|
|
throw new BusinessException(ResultCode.REPAIR_STATUS_NOT_EXITS);
|
|
}
|
|
}
|
|
RepairRegister repairRegister = repairRegisterService.getByRepairId(repair.getRepairId());
|
|
RepairRegister repairRegister = repairRegisterService.getByRepairId(repair.getRepairId());
|