编译错误
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 342: [Static type checking] - Cannot find matching method java.lang.Math#floor(java.math.BigDecimal). Please check if the declared type is right and if the method exists. @ line 342, column 36. def hour = Math.floor(duration).toInteger() ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 343: [Static type checking] - Cannot find matching method java.math.BigDecimal#minus(java.lang.Object). Please check if the declared type is right and if the method exists. @ line 343, column 51. def minutes = roundDouble((duration- ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 345: [Static type checking] - Cannot find matching method java.lang.Object#plus(java.lang.String). Please check if the declared type is right and if the method exists. @ line 345, column 48. sign.durationStr = hour+"小时"+minu ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 345: [Static type checking] - Cannot find matching method java.lang.Object#plus(java.lang.Integer). Please check if the declared type is right and if the method exists. @ line 345, column 53. sign.durationStr = hour+"小时"+minutes+" ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 345: [Static type checking] - Cannot find matching method java.lang.Object#plus(java.lang.String). Please check if the declared type is right and if the method exists. @ line 345, column 61. urationStr = hour+"小时"+minutes+"分" ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 370: [Static type checking] - Cannot find matching method java.lang.Math#floor(java.math.BigDecimal). Please check if the declared type is right and if the method exists. @ line 370, column 37. def totalHour = Math.floor(totalDuration).toInteger() ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 371: [Static type checking] - Cannot find matching method java.math.BigDecimal#minus(java.lang.Object). Please check if the declared type is right and if the method exists. @ line 371, column 52. ef totalMinutes = roundDouble((totalDura ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 372: [Static type checking] - Cannot find matching method java.lang.Object#plus(java.lang.String). Please check if the declared type is right and if the method exists. @ line 372, column 54. totalDurationStr = totalHour + "小时" + t ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 372: [Static type checking] - Cannot find matching method java.lang.Object#plus(java.lang.Integer). Please check if the declared type is right and if the method exists. @ line 372, column 61. urationStr = totalHour + "小时" + totalMin ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 372: [Static type checking] - Cannot find matching method java.lang.Object#plus(java.lang.String). Please check if the declared type is right and if the method exists. @ line 372, column 76. talHour + "小时" + totalMinutes + "分" ^
- file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 517: [Static type checking] - Incompatible generic argument types. Cannot assign java.util.LinkedHashMap
to: java.util.Map @ line 517, column 9. ["navigation": navigation, "weekList": weekList] ^ - file:/C:/synwork/synwork-web/synwork/WEB-INF/code/source/product/service.ActivityService.groovy: 683: [Static type checking] - Incompatible generic argument types. Cannot assign java.util.List
to: java.util.List