0
所以這裏就是我想要的功能,看起來像:PlayFramework使一個函數返回一個整數在旋轉?
@getMaxLevel(buildingId : Integer) = @{
if levelMap.get(buildingId) == null 1 else levelMap.get(buildingId)
}
但問題是,當我把這個我得到一個失蹤支架,其中有沒有(一個錯誤,因爲如果我更換內容有,說,3
然後一切正常
我如何告訴捻有這個,因爲我在我的捻代碼中調用一個方法?