From 5670e4a15fba292ef5f8fb90e96072de976bb621 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 28 六月 2022 14:00:22 +0800
Subject: [PATCH] 1. 中小企业守法自助相关接口更新

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
index 19e0088..c80bb9b 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
@@ -33,5 +33,10 @@
     @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,
+    ) = evaluationsubruleService.getScore(userId, time)
 }
\ No newline at end of file

--
Gitblit v1.9.3