当前位置:网站首页>YYGH-BUG-04
YYGH-BUG-04
2022-07-02 09:41:00 【小赵呢】
预约下单功能BUG
数据表设计
之前改用邮箱的坑因为手机字段位数问题

格式错误
在测试的过程中遇到这样一个问题
不要慌先看问题格式错误,然后这个是一个排班的id,检查排班id是否有异常的格式转换

发现把一个Stirng转换成Long肯定是有问题的

改掉
空指针异常

这里有一个空指针问题,我们点进去这个方法

发现是ReserviceTimeget不到
找一下orderInfo的来源

发现它是从这里来的
这时我们注意到在向医院模块发送请求的时候
reservice就是空的

说明在这之前就已经是空了

可以看到orderInfo的属性来自于scheduleOrderVo

而这个Vo又是通过Feign调用得来的

找到这个方法

可能找到问题了

这里直接通过
BeanUtils.copyProperties(schedule, scheduleOrderVo);
属性名可能不同


果然
添加上这个再次进行测试
Rabbit监听错误
在msm模块
Cannot convert from [com.example.yygh.vo.msm.MsmVo] to [javax.mail.Message] for GenericMessage
报错这个,可以看出是类型转换有问题

这时我把方法后面的参数删除就解决了

边栏推荐
- The position of the first underline selected by the vant tabs component is abnormal
- Principle of scalable contract delegatecall
- What week is a date obtained by QT
- MySQL比较运算符IN问题求解
- [visual studio 2019] create MFC desktop program (install MFC development components | create MFC application | edit MFC application window | add click event for button | Modify button text | open appl
- [multithreading] the main thread waits for the sub thread to finish executing, and records the way to execute and obtain the execution result (with annotated code and no pit)
- ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
- HOW TO CREATE A BEAUTIFUL INTERACTIVE HEATMAP IN R
- Homer forecast motif
- Three transparent LED displays that were "crowded" in 2022
猜你喜欢

Webauthn - official development document

Summary of data export methods in powerbi

HOW TO CREATE AN INTERACTIVE CORRELATION MATRIX HEATMAP IN R

Attribute acquisition method and operation notes of C # multidimensional array

Never forget, there will be echoes | hanging mirror sincerely invites you to participate in the opensca user award research

How to Easily Create Barplots with Error Bars in R

电脑无缘无故黑屏,无法调节亮度。

ESP32存储配网信息+LED显示配网状态+按键清除配网信息(附源码)

基于Hardhat和Openzeppelin开发可升级合约(一)

揭露数据不一致的利器 —— 实时核对系统
随机推荐
Principe du contrat évolutif - delegatecall
动态内存(进阶四)
Homer forecast motif
Attribute acquisition method and operation notes of C # multidimensional array
Always report errors when connecting to MySQL database
Homer预测motif
Astparser parsing class files with enum enumeration methods
Writing contract test cases based on hardhat
Precautions for scalable contract solution based on openzeppelin
亚马逊云科技 Community Builder 申请窗口开启
liftOver进行基因组坐标转换
数据分析 - matplotlib示例代码
MySQL比较运算符IN问题求解
Develop scalable contracts based on hardhat and openzeppelin (II)
Installation of ROS gazebo related packages
Esp32 audio frame esp-adf add key peripheral process code tracking
CMake交叉编译
C#多维数组的属性获取方法及操作注意
[visual studio 2019] create MFC desktop program (install MFC development components | create MFC application | edit MFC application window | add click event for button | Modify button text | open appl
从ros1到ros2配置的一些东西