原文:Optional int parameter 'time' is present but cannot be translated into a null value due to being decla

今天在操作redis的时候报了这个错:Optional int parameter time is present but cannot be translated into a null value due to being decla 这句话意思:参数time存在,但是无法将其转为为null 查看了下原因,time这个字段是用来记录设置多久时间过期的, 我在service层设置的是Long 类 ...

2017-12-03 19:09 1 8732 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM