feiyu02
2024-08-15 196bb14112448857a885e32dc4149e308e00b01a
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
@@ -33,5 +33,11 @@
    @DeleteMapping("/{id}")
    fun delete (@PathVariable id: String) = evaluationsubruleService.delete(id)
    @ApiOperation(value = "查找评分规则子项表以及对应的具体得分")
    @GetMapping("/score")
    fun getScore(
        @ApiParam(value = "用户id") @RequestParam("userId") userId:String,
        @ApiParam(value = "评估周期", example = "yyyy/M-M") @RequestParam("time") time:String,
        @ApiParam(value = "前端平台") @RequestParam("platform", required = false) platform:String?,
    ) = evaluationsubruleService.getScore(userId, time, platform)
}