原文: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