attempted to return null from a method with a primitive return type (double).
從後要獲取的值是一個double類型,剛開始在mapper.xml文件下的查詢語句中
當查詢出來的值爲空,即沒有值的時候,它的數據爲null而不是double數據,正確的寫法是
當它爲空的之後,給它賦值爲0.則微信開發者工具纔不會報錯。
attempted to return null from a method with a primitive return type (double).
從後要獲取的值是一個double類型,剛開始在mapper.xml文件下的查詢語句中
當查詢出來的值爲空,即沒有值的時候,它的數據爲null而不是double數據,正確的寫法是
當它爲空的之後,給它賦值爲0.則微信開發者工具纔不會報錯。
@staticmethod def strSplit(textSource: str, patterns: str)->list: """ 分割字符串 :param