This commit is contained in:
2023-09-18 15:22:24 +08:00
parent 1bfa7309da
commit 4808106429

View File

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