微调
This commit is contained in:
@@ -142,8 +142,12 @@ public class CsDeviceServiceImpl implements ICsDeviceService {
|
|||||||
}
|
}
|
||||||
//4.判断当前流程是否是合法的
|
//4.判断当前流程是否是合法的
|
||||||
if (csEquipmentDeliveryVO.getProcess() > type){
|
if (csEquipmentDeliveryVO.getProcess() > type){
|
||||||
|
logDto.setResult(0);
|
||||||
|
logDto.setFailReason(AccessResponseEnum.PROCESS_SAME_ERROR.getMessage());
|
||||||
throw new BusinessException(AccessResponseEnum.PROCESS_SAME_ERROR);
|
throw new BusinessException(AccessResponseEnum.PROCESS_SAME_ERROR);
|
||||||
} else if (csEquipmentDeliveryVO.getProcess() < type){
|
} else if (csEquipmentDeliveryVO.getProcess() < type){
|
||||||
|
logDto.setResult(0);
|
||||||
|
logDto.setFailReason(AccessResponseEnum.PROCESS_MISSING_ERROR.getMessage());
|
||||||
throw new BusinessException(AccessResponseEnum.PROCESS_MISSING_ERROR);
|
throw new BusinessException(AccessResponseEnum.PROCESS_MISSING_ERROR);
|
||||||
}
|
}
|
||||||
//5.询问设备支持的主题信息
|
//5.询问设备支持的主题信息
|
||||||
|
|||||||
Reference in New Issue
Block a user