5 лет назад
Родитель
Сommit
a1e302d509

+ 1 - 1
pcbms/src/main/java/com/hssx/pcbms/controller/GoodsController.java

@@ -343,7 +343,7 @@ public class GoodsController {
     @ApiOperation(value = "资产维护检测定时任务", notes = "资产维护检测定时任务")
     @RequestMapping("/goodsMaintainChecking")
     @ResponseBody
-    @Scheduled(cron = "0 0 23 * * ?")//配置时间点触发(每日23点)
+//    @Scheduled(cron = "0 0 23 * * ?")//配置时间点触发(每日23点)
     public HttpRespMsg goodsMaintainChecking(Goods goods,HttpServletResponse response) {
         HttpRespMsg msg = goodsService.goodsMaintainChecking(goods,response);
         return msg;

+ 20 - 0
pcbms/src/main/java/com/hssx/pcbms/controller/ScoreController.java

@@ -87,6 +87,26 @@ public class ScoreController {
         }
         return msg;
     }
+    /**
+     * 根据日期获取评分详情
+     * 参数:time:时间 2019-12
+     *
+     * @return
+     */
+    @ApiOperation(value = "评分详情", notes = "评分详情方法")
+    @RequestMapping("/getDetailByTimeAndUid")
+    @ResponseBody
+    public HttpRespMsg getDetailByTimeAndUid(Score score,String time) {
+        HttpRespMsg msg = new HttpRespMsg();
+        try {
+             msg = scoreService.detail(score);
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        return msg;
+    }
+
+
 
 }